Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
This project is mirrored from https://github.com/dl12345/android_kernel_samsung_exynos5433.git. Pull mirroring updated .
  1. May 29, 2018
  2. May 21, 2018
    • DL's avatar
      CPUFREQ: Save and restore max and min scaling freq · 31d13660
      DL authored
      Modify the cpufreq.c driver to save and restore any user modified
      scaling_max_freq and scaling_min_freq when CPU hotplugging. By
      default, any cap on maximum scaling frequency is removed when a CPU is
      taken offline and then brought back online again and the physical
      maximum or minimum frequency is restored instead. This patch changes
      that behaviour.
      
      Change-Id: If2faa481006ae0ef9a2a5c7c5699386e6ea6f623
      31d13660
  3. May 16, 2018
    • DL's avatar
      Change the uevent notification when the CPU cluster comes back online · f86042c1
      DL authored
      Change from KOBJ_POLICY_INIT to KOBJ_ONLINE as ueventd ignores the
      POLICY_INIT event. This results in the sysfs permissions for the
      CPU frequency and governor not being set correctly and breaks the
      PowerHAL power management function.
      
      Change-Id: I3bb8805c48ce3c737a9c9b3c818d4869485dc427
      f86042c1
  4. May 06, 2018
  5. May 05, 2018
  6. Apr 30, 2018
    • DL's avatar
      * Update exynos MFC driver to conform to Samsung Treltexx sources. · a0593d84
      DL authored
      * Update v4l2 driver to conform to Samsung Treltexx sources.
      * Remove non-existent VIDEO_EXT secmem region
      
      The imported code had additional code that appears to belong
      to a different SoC. The code in question was spread out
      across the exynos-ion driver, the secmem driver and the Exynos
      MFC driver. It was causing attempts to access non-existent
      contiguous memory regions, attempts to create secure sysmmu
      page tables in these non-existent regions and attempts to
      allocate protected memory, all of which failed.
      
      The symptom is failure to instantiate all Exynos hardware
      video codecs. This backport of Samsung treltexx sources
      fixes the failure to instantiate hardware video codecs
      a0593d84
    • DL's avatar
      Update location of header file · 2cb5e430
      DL authored
      2cb5e430
    • DL's avatar
      Update kernel configuration · 50ff0205
      DL authored
      -CONFIG_DM_VERITY y
      -CONFIG_KNOX_KAP y
      CONFIG_LOG_BUF_SHIFT 19 -> 20
      +CONFIG_DEFAULT_WESTWOOD y
      +CONFIG_IKCONFIG y
      +CONFIG_IKCONFIG_PROC y
      +CONFIG_SECURITY_SELINUX_BOOTPARAM y
      +CONFIG_SECURITY_SELINUX_DISABLE y
      +CONFIG_TCP_CONG_ADVANCED y
      +CONFIG_TCP_CONG_HTCP n
      
      Create proper defconfig
      50ff0205
  7. Mar 11, 2018
  8. Mar 06, 2018
  9. Mar 04, 2018
  10. Mar 03, 2018
  11. Mar 02, 2018
  12. Feb 24, 2018
    • bonuzzz's avatar
      add missing firmwares · 94838a56
      bonuzzz authored
      94838a56
    • Christopher N. Hesse's avatar
      gpu: arm: r7p0: Fix compilation without CONFIG_MALI_EXYNOS_TRACE · 12bb412a
      Christopher N. Hesse authored
      Change-Id: Iba1d6d5929a1511b021ed2a25267d2af582dbdde
      (cherry picked from commit 07c1dbc9718326fcc4c614c86312084871571e95)
      12bb412a
    • bonuzzz's avatar
      fix wacom compile · eb537ecc
      bonuzzz authored
      (cherry picked from commit 6a538f74e2cbe7d362c7239593b6935b5b406477)
      eb537ecc
    • bonuzzz's avatar
      build dtb · d5356711
      bonuzzz authored
      d5356711
    • bonuzzz's avatar
      remove SEC_SELINUX_PORTING_COMMON and make switch to permissive selinux · 26958421
      bonuzzz authored
      (cherry picked from commit bd60fcf28ed869012861dce932c4b95ee0249d5e)
      26958421
    • Christopher N. Hesse's avatar
      gud-exynos5433: hardcode mobicore platform to EXYNOS_5433_STD · 785d1d51
      Christopher N. Hesse authored
      (cherry picked from commit dad4f2f8a53b1ffbea9d08567ca7d6391751b30a)
      785d1d51
    • Christopher N. Hesse's avatar
      net: ipv4: tcp_metrics: Fix uninitialized struct variables · b870efc2
      Christopher N. Hesse authored
      Change-Id: Ic6bc7edf4160b6b180e6e88a487cd352a79450df
      (cherry picked from commit b72a33ea7c3d180dc29e6c347911c6b5209b0737)
      b870efc2
    • Christopher N. Hesse's avatar
      net: unix: af_unix: Fix uninitialized variable · 5ad626b7
      Christopher N. Hesse authored
      Change-Id: If3e4cd42436c95a07b6bef7851432691b5ca259b
      (cherry picked from commit 7fed5d3df895af628ca2bb95621057577983dad0)
      5ad626b7
    • Christopher N. Hesse's avatar
      media: exynos: mfc: Do not change clocks if a DRM context is running · 4c31e1ca
      Christopher N. Hesse authored
      Turns out the previous patch did not handle all crash cases and we
      need a more aggressive approach to this.
      
      Change-Id: I855533212d407c7a9f67fc9add1185cd2cd580c0
      (cherry picked from commit b79a6c3c4aa4ffcf06ba229ea4e89e37782d4328)
      4c31e1ca
    • Christopher N. Hesse's avatar
      battery: sm5703: Report AOSP-friendly current values · 929ba60a
      Christopher N. Hesse authored
      Change-Id: I9111ba6560b310e8ffad4d6c71e9a80129d40e4f
      (cherry picked from commit a13a058fec3aa03d6218259c6d708c74532544c4)
      929ba60a
    • Javi Ferrer's avatar
      battery: be more AOSP-friendly · fa4b4fa3
      Javi Ferrer authored
      Change-Id: I3689e3d53b2d2cd4cdbb618c87db95850b368daa
      (cherry picked from commit cf74033f57e647a91a19bd4f6e529d3ea2f92787)
      fa4b4fa3
    • Christopher N. Hesse's avatar
      media: exynos: mfc: Manually set DRAM base address for DRM · 482f5de8
      Christopher N. Hesse authored
      As documented in s5p_mfc_common.h, dev->curr_ctx_drm is the
      number of the currently running (DRM) context.
      However, s5p_mfc_pm.c notes that s5p_mfc_clock_on_with_base
      may only ever be called if we can guarantee to handle the
      first instance.
      Thus, we employ a check to only allow s5p_mfc_clock_on_with_base
      if the number of (DRM) contexts indicates one instance.
      
      I have no idea how Samsung works around this in userspace
      in their Marshmallow libraries.
      However, the new code (just turning the clocks off/on) causes
      a sysmmu write page fault with out current BSP.
      
      It looks like the new method (s5p_mfc_clock_on_with_base)
      should handle the DRAM address change, but it doesn't.
      
      Stack trace (with the new code):
      
      <6>[  148.665003] [c7] [d:0, c:0] s5p_mfc_open:2132: NORMAL instance is opened [0:1]
      <6>[  148.669014] [c4] [d:0] s5p_mfc_init_memctrl:302: [1] Base Address : 10000000
      <6>[  148.669338] [c4] [d:0] mfc_init_hw:434: MFC v8.0, F/W: 15yy, 11mm, 13dd (E)
      <6>[  148.669436] [c4] [d:0] s5p_mfc_init_memctrl:302: [2] Base Address : d0200000
      <6>[  148.669485] [c4] [d:0, c:0] s5p_mfc_open:2236: MFC open completed [0:1] dev = e607d810, ctx = e2c28800
      <6>[  148.669604] [c4] [d:0, c:0] s5p_mfc_release:2326: MFC driver release is called [0:1], is_drm(0)
      <6>[  148.669814] [c4] [d:0] s5p_mfc_release:2544: mfc driver release finished [0:0], dev = e607d810
      <6>[  148.683441] [c7] [d:0, c:0] s5p_mfc_open:2132: NORMAL instance is opened [0:1]
      <6>[  148.691471] [c7] [d:0] s5p_mfc_init_memctrl:302: [1] Base Address : 10000000
      <6>[  148.692177] [c7] [d:0] mfc_init_hw:434: MFC v8.0, F/W: 15yy, 11mm, 13dd (E)
      <6>[  148.692402] [c7] [d:0] s5p_mfc_init_memctrl:302: [2] Base Address : d0200000
      <6>[  148.692455] [c7] [d:0, c:0] s5p_mfc_open:2236: MFC open completed [0:1] dev = e607d810, ctx = e2c29000
      <6>[  148.698577] [c0] [d:0, c:0] vidioc_s_fmt_vid_out_mplane:1403: Dec input codec(0): H264 Encoded Stream
      <2>[  148.698908] [c0] ----------------------------------------------------------
      <2>[  148.698947] [c0] 15200000.sysmmu WRITE PAGE FAULT at 0xd02febd0 by 152e0000.mfc0 (page table @ 0x455c0000)
      <2>[  148.698974] [c0] AxID: 0xe, AxLEN: 0x0
      <2>[  148.698997] [c0] Lv1 entry: 0x046063c1
      <2>[  148.699020] [c0] ---------- System MMU Status -----------------------------
      <2>[  148.699054] [c0] ADDR: 0x15200000(VA: 0xe7aa4000), MMU_CTRL: 0x00000005, PT_BASE: 0x000455c0
      <2>[  148.699084] [c0] VERSION 5.0, MMU_CFG: 0x01100000, MMU_STATUS: 0x00000001
      <2>[  148.699107] [c0] Level 2 TLB: on
      
      ...
      
      Change-Id: I6223ac3a95fa3f8ccd18672de20a8ebc65ad248c
      (cherry picked from commit d0b989033b63238ed0795c7e889b3898a0301c16)
      482f5de8
    • Christopher N. Hesse's avatar
      input: hall: Invert flip cover condition · c9e0f46c
      Christopher N. Hesse authored
      AOSP expects SW_LID instead of SW_FLIP.
      
      Change-Id: Ifbea1ec866385f5f1241994836f3276a77fa8a90
      (cherry picked from commit deda13ecca04e87600c1c559e1bdcb0a0d36a2d6)
      c9e0f46c
    • Christopher N. Hesse's avatar
      videodev2: Add DV preset index for 2160p@24Hz · fe0feeeb
      Christopher N. Hesse authored
      Change-Id: I57637e2832953657f1ee171260f498eb71532b80
      (cherry picked from commit 49c2d216e547c0c804631f1e6056787565700ffd)
      fe0feeeb
    • Christopher N. Hesse's avatar
      videodev2: Add Digital Video Timings API definitions for Exynos userspace libs · a69880eb
      Christopher N. Hesse authored
      Change-Id: I4f26e7d6a2f57a4b217d44a7405e85ea056fad7e
      (cherry picked from commit 705926aa3c4fcfd37305cb119e5581e63500028b)
      a69880eb
    • Christopher N. Hesse's avatar
      video: mhl: sii8240: Fix edid.h include · 88061f95
      Christopher N. Hesse authored
      (cherry picked from commit 3dc849aae1c47724a2b1a52e9da4ac0b7898106c)
      88061f95
    • Christopher N. Hesse's avatar
      gud-exynos5433: hardcode mobicore platform to EXYNOS_5433_STD · 0a398a2f
      Christopher N. Hesse authored
      (cherry picked from commit e223d7f80361d40e39edaef736be7373143f6c5a)
      0a398a2f
Loading