Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync #9

Closed
wants to merge 10,000 commits into from
Closed

Sync #9

wants to merge 10,000 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jan 14, 2021

  1. net: Allow NETIF_F_HW_TLS_TX if IP_CSUM && IPV6_CSUM

    Cited patch below blocked the TLS TX device offload unless HW_CSUM
    is set. This broke devices that use IP_CSUM && IP6_CSUM.
    Here we fix it.
    
    Note that the single HW_TLS_TX feature flag indicates support for
    both IPv4/6, hence it should still be disabled in case only one of
    (IP_CSUM | IPV6_CSUM) is set.
    
    Fixes: ae0b04b ("net: Disable NETIF_F_HW_TLS_TX when HW_CSUM is disabled")
    Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
    Reported-by: Rohit Maheshwari <rohitm@chelsio.com>
    Reviewed-by: Maxim Mikityanskiy <maximmi@mellanox.com>
    Link: https://lore.kernel.org/r/20210114151215.7061-1-tariqt@nvidia.com
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>
    Tariq Toukan authored and kuba-moo committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    25537d7 View commit details
    Browse the repository at this point in the history
  2. drm/amdgpu: set power brake sequence

    Add function to set power brake sequence.
    
    Signed-off-by: Likun Gao <Likun.Gao@amd.com>
    Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Likun Gao authored and alexdeucher committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    4369376 View commit details
    Browse the repository at this point in the history
  3. Revert "drm/amd/display: Fix unused variable warning"

    This reverts commit f01afd1.
    
    Cc: Wayne Lin <Wayne.Lin@amd.com>
    Cc: Alexander Deucher <Alexander.Deucher@amd.com>
    Cc: Harry Wentland <Harry.Wentland@amd.com>
    Cc: Roman Li <Roman.Li@amd.com>
    Cc: Bindu R <Bindu.R@amd.com>
    Cc: Daniel Vetter <daniel@ffwll.ch>
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Acked-by: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    rodrigosiqueira authored and alexdeucher committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    55df908 View commit details
    Browse the repository at this point in the history
  4. Revert "drm/amdgpu/disply: fix documentation warnings in display mana…

    …ger"
    
    This reverts commit 6ae09fa.
    
    Cc: Wayne Lin <Wayne.Lin@amd.com>
    Cc: Alexander Deucher <Alexander.Deucher@amd.com>
    Cc: Harry Wentland <Harry.Wentland@amd.com>
    Cc: Roman Li <Roman.Li@amd.com>
    Cc: Bindu R <Bindu.R@amd.com>
    Cc: Daniel Vetter <daniel@ffwll.ch>
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Acked-by: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    rodrigosiqueira authored and alexdeucher committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    3c517ca View commit details
    Browse the repository at this point in the history
  5. Revert "drm/amd/display: Expose new CRC window property"

    This reverts commit c920888.
    
    Cc: Wayne Lin <Wayne.Lin@amd.com>
    Cc: Alexander Deucher <Alexander.Deucher@amd.com>
    Cc: Harry Wentland <Harry.Wentland@amd.com>
    Cc: Roman Li <Roman.Li@amd.com>
    Cc: Bindu R <Bindu.R@amd.com>
    Cc: Daniel Vetter <daniel@ffwll.ch>
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Acked-by: Alex Deucher <alexander.deucher@amd.com>
    Reviewed-by: Wayne Lin <Wayne.Lin@amd.com>
    Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    rodrigosiqueira authored and alexdeucher committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    a7ddd22 View commit details
    Browse the repository at this point in the history
  6. drm/amd/display: Fix to be able to stop crc calculation

    [Why]
    Find out when we try to disable CRC calculation, crc generation is still
    enabled. Main reason is that dc_stream_configure_crc() will never get
    called when the source is AMDGPU_DM_PIPE_CRC_SOURCE_NONE.
    
    [How]
    Add checking condition that when source is
    AMDGPU_DM_PIPE_CRC_SOURCE_NONE, we should also call
    dc_stream_configure_crc() to disable crc calculation.
    
    Acked-by: Alex Deucher <alexander.deucher@amd.com>
    Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
    Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Wayne Lin authored and alexdeucher committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    2f0fa78 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/hid/hid
    
    Pull HID fixes from Jiri Kosina:
    
     - memory leak fix for Wacom driver (Ping Cheng)
    
     - various trivial small fixes, cleanups and device ID additions
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid:
      HID: logitech-hidpp: Add product ID for MX Ergo in Bluetooth mode
      HID: Ignore battery for Elan touchscreen on ASUS UX550
      HID: logitech-dj: add the G602 receiver
      HID: wiimote: remove h from printk format specifier
      HID: uclogic: remove h from printk format specifier
      HID: sony: select CONFIG_CRC32
      HID: sfh: fix address space confusion
      HID: multitouch: Enable multi-input for Synaptics pointstick/touchpad device
      HID: wacom: Fix memory leakage caused by kfifo_alloc
    torvalds committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    2bbe17a View commit details
    Browse the repository at this point in the history
  8. mptcp: fix locking in mptcp_disconnect()

    tcp_disconnect() expects the caller acquires the sock lock,
    but mptcp_disconnect() is not doing that. Add the missing
    required lock.
    
    Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
    Fixes: 76e2a55 ("mptcp: better msk-level shutdown.")
    Signed-off-by: Paolo Abeni <pabeni@redhat.com>
    Link: https://lore.kernel.org/r/f818e82b58a556feeb71dcccc8bf1c87aafc6175.1610638176.git.pabeni@redhat.com
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>
    Paolo Abeni authored and kuba-moo committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    13a9499 View commit details
    Browse the repository at this point in the history
  9. nvmet-rdma: Fix NULL deref when setting pi_enable and traddr INADDR_ANY

    When setting port traddr to INADDR_ANY, the listening cm_id->device
    is NULL. The associate IB device is known only when a connect request
    event arrives, so checking T10-PI device capability should be done
    at this stage.
    
    Fixes: b09160c ("nvmet-rdma: add metadata/T10-PI support")
    Signed-off-by: Israel Rukshin <israelr@nvidia.com>
    Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
    Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    israelru authored and Christoph Hellwig committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    7a84665 View commit details
    Browse the repository at this point in the history
  10. nvme-tcp: Fix warning with CONFIG_DEBUG_PREEMPT

    We shouldn't call smp_processor_id() in a preemptible
    context, but this is advisory at best, so instead
    call __smp_processor_id().
    
    Fixes: db5ad6b ("nvme-tcp: try to send request in queue_rq context")
    Reported-by: Or Gerlitz <gerlitz.or@gmail.com>
    Reported-by: Yi Zhang <yi.zhang@redhat.com>
    Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    sagigrimberg authored and Christoph Hellwig committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    ada8317 View commit details
    Browse the repository at this point in the history
  11. nvme-tcp: fix possible data corruption with bio merges

    When a bio merges, we can get a request that spans multiple
    bios, and the overall request payload size is the sum of
    all bios. When we calculate how much we need to send
    from the existing bio (and bvec), we did not take into
    account the iov_iter byte count cap.
    
    Since multipage bvecs support, bvecs can split in the middle
    which means that when we account for the last bvec send we
    should also take the iov_iter byte count cap as it might be
    lower than the last bvec size.
    
    Reported-by: Hao Wang <pkuwangh@gmail.com>
    Fixes: 3f2304f ("nvme-tcp: add NVMe over TCP host driver")
    Tested-by: Hao Wang <pkuwangh@gmail.com>
    Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    sagigrimberg authored and Christoph Hellwig committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    ca1ff67 View commit details
    Browse the repository at this point in the history
  12. nvme: don't intialize hwmon for discovery controllers

    Discovery controllers usually don't support smart log page command.
    So when we connect to the discovery controller we see this warning:
    nvme nvme0: Failed to read smart log (error 24577)
    nvme nvme0: new ctrl: NQN "nqn.2014-08.org.nvmexpress.discovery", addr 192.168.123.1:8009
    nvme nvme0: Removing ctrl: NQN "nqn.2014-08.org.nvmexpress.discovery"
    
    Introduce a new helper to understand if the controller is a discovery
    controller and use this helper to skip nvme_init_hwmon (also use it in
    other places that we check if the controller is a discovery controller).
    
    Fixes: 400b6a7 ("nvme: Add hardware monitoring support")
    Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    sagigrimberg authored and Christoph Hellwig committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    5ab25a3 View commit details
    Browse the repository at this point in the history
  13. Merge tag 'net-5.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/netdev/net
    
    Pull networking fixes from Jakub Kicinski:
     "We have a few fixes for long standing issues, in particular Eric's fix
      to not underestimate the skb sizes, and my fix for brokenness of
      register_netdevice() error path. They may uncover other bugs so we
      will keep an eye on them. Also included are Willem's fixes for
      kmap(_atomic).
    
      Looking at the "current release" fixes, it seems we are about one rc
      behind a normal cycle. We've previously seen an uptick of "people had
      run their test suites" / "humans actually tried to use new features"
      fixes between rc2 and rc3.
    
      Summary:
    
      Current release - regressions:
    
       - fix feature enforcement to allow NETIF_F_HW_TLS_TX if IP_CSUM &&
         IPV6_CSUM
    
       - dcb: accept RTM_GETDCB messages carrying set-like DCB commands if
         user is admin for backward-compatibility
    
       - selftests/tls: fix selftests build after adding ChaCha20-Poly1305
    
      Current release - always broken:
    
       - ppp: fix refcount underflow on channel unbridge
    
       - bnxt_en: clear DEFRAG flag in firmware message when retry flashing
    
       - smc: fix out of bound access in the new netlink interface
    
      Previous releases - regressions:
    
       - fix use-after-free with UDP GRO by frags
    
       - mptcp: better msk-level shutdown
    
       - rndis_host: set proper input size for OID_GEN_PHYSICAL_MEDIUM
         request
    
       - i40e: xsk: fix potential NULL pointer dereferencing
    
      Previous releases - always broken:
    
       - skb frag: kmap_atomic fixes
    
       - avoid 32 x truesize under-estimation for tiny skbs
    
       - fix issues around register_netdevice() failures
    
       - udp: prevent reuseport_select_sock from reading uninitialized socks
    
       - dsa: unbind all switches from tree when DSA master unbinds
    
       - dsa: clear devlink port type before unregistering slave netdevs
    
       - can: isotp: isotp_getname(): fix kernel information leak
    
       - mlxsw: core: Thermal control fixes
    
       - ipv6: validate GSO SKB against MTU before finish IPv6 processing
    
       - stmmac: use __napi_schedule() for PREEMPT_RT
    
       - net: mvpp2: remove Pause and Asym_Pause support
    
      Misc:
    
       - remove from MAINTAINERS folks who had been inactive for >5yrs"
    
    * tag 'net-5.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (58 commits)
      mptcp: fix locking in mptcp_disconnect()
      net: Allow NETIF_F_HW_TLS_TX if IP_CSUM && IPV6_CSUM
      MAINTAINERS: dccp: move Gerrit Renker to CREDITS
      MAINTAINERS: ipvs: move Wensong Zhang to CREDITS
      MAINTAINERS: tls: move Aviad to CREDITS
      MAINTAINERS: ena: remove Zorik Machulsky from reviewers
      MAINTAINERS: vrf: move Shrijeet to CREDITS
      MAINTAINERS: net: move Alexey Kuznetsov to CREDITS
      MAINTAINERS: altx: move Jay Cliburn to CREDITS
      net: avoid 32 x truesize under-estimation for tiny skbs
      nt: usb: USB_RTL8153_ECM should not default to y
      net: stmmac: fix taprio configuration when base_time is in the past
      net: stmmac: fix taprio schedule configuration
      net: tip: fix a couple kernel-doc markups
      net: sit: unregister_netdevice on newlink's error path
      net: stmmac: Fixed mtu channged by cache aligned
      cxgb4/chtls: Fix tid stuck due to wrong update of qid
      i40e: fix potential NULL pointer dereferencing
      net: stmmac: use __napi_schedule() for PREEMPT_RT
      can: mcp251xfd: mcp251xfd_handle_rxif_one(): fix wrong NULL pointer check
      ...
    torvalds committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    e8c13a6 View commit details
    Browse the repository at this point in the history
  14. Merge tag 'linux-kselftest-fixes-5.11-rc4' of git://git.kernel.org/pu…

    …b/scm/linux/kernel/git/shuah/linux-kselftest
    
    Pull kselftest fixes from Shuah Khan:
     "One single fix to skip BPF selftests by default.
    
      BPF selftests have a hard dependency on cutting edge versions of tools
      in the BPF ecosystem including LLVM.
    
      Skipping BPF allows by default will make it easier for users
      interested in running kselftest as a whole. Users can include BPF in
      Kselftest build by via SKIP_TARGETS variable"
    
    * tag 'linux-kselftest-fixes-5.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
      selftests: Skip BPF seftests by default
    torvalds committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    1466205 View commit details
    Browse the repository at this point in the history
  15. Merge tag 'nvme-5.11-2021-01-14' of git://git.infradead.org/nvme into…

    … block-5.11
    
    Pull NVMe fixes from Christoph:
    
    "nvme fixes for 5.11:
    
     - don't initialize hwmon for discover controllers (Sagi Grimberg)
     - fix iov_iter handling in nvme-tcp (Sagi Grimberg)
     - fix a preempt warning in nvme-tcp (Sagi Grimberg)
     - fix a possible NULL pointer dereference in nvme (Israel Rukshin)"
    
    * tag 'nvme-5.11-2021-01-14' of git://git.infradead.org/nvme:
      nvme: don't intialize hwmon for discovery controllers
      nvme-tcp: fix possible data corruption with bio merges
      nvme-tcp: Fix warning with CONFIG_DEBUG_PREEMPT
      nvmet-rdma: Fix NULL deref when setting pi_enable and traddr INADDR_ANY
    axboe committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    b4f6642 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2021

  1. Merge tag 'drm-misc-fixes-2021-01-12' of git://anongit.freedesktop.or…

    …g/drm/drm-misc into drm-fixes
    
    Short summary of fixes pull:
    
     * dma-buf: Fix a memory leak in CMAV heap
     * drm: Fix format check for legacy pageflips
     * ttm: Pass correct address to dma_mapping_error(); Use mutex in pool
       shrinker
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    
    From: Thomas Zimmermann <tzimmermann@suse.de>
    Link: https://patchwork.freedesktop.org/patch/msgid/X/2iXO4ofFSZ39/v@linux-uq9g
    airlied committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    61502e3 View commit details
    Browse the repository at this point in the history
  2. drm/nouveau/bios: fix issue shadowing expansion ROMs

    This issue has generally been covered up by the presence of additional
    expansion ROMs after the ones we're interested in, with header fetches
    of subsequent images loading enough of the ROM to hide the issue.
    
    Noticed on GA102, which lacks a type 0x70 image compared to TU102,.
    
    [  906.364197] nouveau 0000:09:00.0: bios: 00000000: type 00, 65024 bytes
    [  906.381205] nouveau 0000:09:00.0: bios: 0000fe00: type 03, 91648 bytes
    [  906.405213] nouveau 0000:09:00.0: bios: 00026400: type e0, 22016 bytes
    [  906.410984] nouveau 0000:09:00.0: bios: 0002ba00: type e0, 366080 bytes
    
    vs
    
    [   22.961901] nouveau 0000:09:00.0: bios: 00000000: type 00, 60416 bytes
    [   22.984174] nouveau 0000:09:00.0: bios: 0000ec00: type 03, 71168 bytes
    [   23.010446] nouveau 0000:09:00.0: bios: 00020200: type e0, 48128 bytes
    [   23.028220] nouveau 0000:09:00.0: bios: 0002be00: type e0, 140800 bytes
    [   23.080196] nouveau 0000:09:00.0: bios: 0004e400: type 70, 7168 bytes
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    402a896 View commit details
    Browse the repository at this point in the history
  3. drm/nouveau/privring: ack interrupts the same way as RM

    Whatever it is that we were doing before doesn't work on Ampere.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    e05e06c View commit details
    Browse the repository at this point in the history
  4. drm/nouveau/i2c/gk110: split out from i2c/gk104

    No functional changes here yet.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    b5510d1 View commit details
    Browse the repository at this point in the history
  5. drm/nouveau/i2c/gk110-: disable hw-initiated dpcd reads

    RM does this around transactions, and it seemed to help while debugging
    AUXCH issues on GA102.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    8ad95ed View commit details
    Browse the repository at this point in the history
  6. drm/nouveau/i2c/gm200: increase width of aux semaphore owner fields

    Noticed while debugging GA102.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    ba6e9ab View commit details
    Browse the repository at this point in the history
  7. drm/nouveau/mmu: fix vram heap sizing

    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    add4278 View commit details
    Browse the repository at this point in the history
  8. drm/nouveau/core: recognise GA10[024]

    GA100 hidden behind a module option, as it's not been as well verified
    since initial bring-up and may need additional changes.
    
    There's no display anyway, so this can wait for a bit.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    3b05068 View commit details
    Browse the repository at this point in the history
  9. drm/nouveau/kms/nv50-: fix case where notifier buffer is at offset 0

    VRAM offset 0 is a valid address, triggered on GA102.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    caeb6ab View commit details
    Browse the repository at this point in the history
  10. drm/nouveau/pci/ga10[024]: initial support

    Appears to be compatible with GP100 code.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    70afbe4 View commit details
    Browse the repository at this point in the history
  11. drm/nouveau/bios/ga10[024]: initial support

    Forcing PRAMIN-shadowing off for GA100, as it requires display, and we don't
    know if/where the fuse register for detecting its presence is.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    a346324 View commit details
    Browse the repository at this point in the history
  12. drm/nouveau/devinit/ga10[024]: initial support

    VPLL regs changed a bit.  There's more stuff to do around these, but it's
    less invasive to stick those changes into disp for now.
    
    None of that belongs here anymore anyhow - fix that someday.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    7ddf5e9 View commit details
    Browse the repository at this point in the history
  13. drm/nouveau/mc/ga10[024]: initial support

    Fortunately, all the interrupts we need to bring up basic display support
    are contained in a single leaf register, allowing this basic (but hackish)
    implementation.
    
    There's a bunch more invasive patches to come implementing all this in a
    better/more complete way, but trying to get a minimal series out first.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    5961c62 View commit details
    Browse the repository at this point in the history
  14. drm/nouveau/privring/ga10[024]: initial support

    Appears to be compatible with GM200 code.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    e0df4bb View commit details
    Browse the repository at this point in the history
  15. drm/nouveau/imem/ga10[024]: initial support

    Appears to be compatible with NV50 code.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    de4781d View commit details
    Browse the repository at this point in the history
  16. drm/nouveau/fb/ga10[024]: initial support

    No VPR scrub.  GA102 and GA104 have a new VRAM size detection method.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    41ba806 View commit details
    Browse the repository at this point in the history
  17. drm/nouveau/timer/ga10[024]: initial support

    Appears to be compatible with GK20A code.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    6f300e0 View commit details
    Browse the repository at this point in the history
  18. drm/nouveau/mmu/ga10[024]: initial support

    Appears to be compatible with TU102 code.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    a3abc23 View commit details
    Browse the repository at this point in the history
  19. drm/nouveau/bar/ga10[024]: initial support

    Appears to be compatible with TU102 code.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    f5cbe7c View commit details
    Browse the repository at this point in the history
  20. drm/nouveau/gpio/ga10[024]: initial support

    GA100 appears to be compatible with GK104 code, the others have some
    register moves.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    c28efb1 View commit details
    Browse the repository at this point in the history
  21. drm/nouveau/i2c/ga10[024]: initial support

    Appears to be compatible with GM200 code.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    8a04122 View commit details
    Browse the repository at this point in the history
  22. drm/nouveau/dmaobj/ga10[24]: initial support

    Appears to be compatible with GV100 code, and not required on GA100, as
    it shouldn't have display.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    a6cf032 View commit details
    Browse the repository at this point in the history
  23. drm/nouveau/disp/ga10[24]: initial support

    UEFI/RM no longer use IED scripts from the VBIOS, though they appear to
    have been updated for use by the x86 VBIOS code, so we should be able to
    continue using them for the moment.
    
    Unfortunately, we require some hacks to do so, as the BeforeLinkTraining
    IED script became a pointer to an array of scripts instead, without a
    revbump of the relevant tables.
    
    There's also some changes to SOR clock divider fiddling, which are
    hopefully correct enough that things work as they should.
    
    AFAIK, GA100 shouldn't have display, so it hasn't been added.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    8ef23b6 View commit details
    Browse the repository at this point in the history
  24. Merge tag 'drm-intel-fixes-2021-01-14' of git://anongit.freedesktop.o…

    …rg/drm/drm-intel into drm-fixes
    
    drm/i915 fixes for v5.11-rc4:
    - Allow the sysadmin to override security mitigations
    - Restore clear-residual mitigations for ivb/byt
    - Limit VFE threads based on GT
    - GVT: fix vfio edid and full display detection
    - Fix DSI DSC power refcounting
    - Fix LPT CPU mode backlight takeover
    - Disable RPM wakeref assertions during driver shutdown
    - Fix DSI sequence sleeps
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    From: Jani Nikula <jani.nikula@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/87sg73pz42.fsf@intel.com
    airlied committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    667d11d View commit details
    Browse the repository at this point in the history
  25. Merge tag 'amd-drm-fixes-5.11-2021-01-14' of https://gitlab.freedeskt…

    …op.org/agd5f/linux into drm-fixes
    
    amd-drm-fixes-5.11-2021-01-14:
    
    amdgpu:
    - Update repo location in MAINTAINERS
    - Add some new renoir PCI IDs
    - Revert CRC UAPI changes
    - Revert OLED display fix which cases clocking problems for some systems
    - Misc vangogh fixes
    - GFX fix for sienna cichlid
    - DCN1.0 fix for pipe split
    - Fix incorrect PSP command
    
    amdkfd:
    - Fix possible out of bounds read in vcrat creation
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    From: Alex Deucher <alexdeucher@gmail.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210114201354.3998-1-alexander.deucher@amd.com
    airlied committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    8e10959 View commit details
    Browse the repository at this point in the history
  26. riscv: stacktrace: Move register keyword to beginning of declaration

    Using global sp_in_global directly to fix the following warning,
    
    arch/riscv/kernel/stacktrace.c:31:3: warning: ‘register’ is not at beginning of declaration [-Wold-style-declaration]
    31 |   const register unsigned long current_sp = sp_in_global;
       |   ^~~~~
    
    Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    Kefeng Wang authored and palmer-dabbelt committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    dec8227 View commit details
    Browse the repository at this point in the history
  27. Merge branch '04.00-ampere-lite-fixes' of git://github.com/skeggsb/li…

    …nux into drm-fixes
    
    As requested, here's a tree with the non-Ampere-specific fixes split
    out, as most of them are potentially relevant to already-supported
    GPUs.
    
    - irq handling fix
    - expansion ROM fix
    - hw init dpcd disable
    - aux semaphore owner field fix
    - vram heap sizing fix
    - notifier at 0 is valid fix
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    From: Ben Skeggs <skeggsb@gmail.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/CACAvsv4P90mcF_ByAh+ghz+ZVD2N2bPbD7xHYYArE1kYrvsGcQ@mail.gmail.com
    airlied committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    c8f6364 View commit details
    Browse the repository at this point in the history
  28. Merge tag 'trace-v5.11-rc3' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/rostedt/linux-trace
    
    Pull bootconfig fix from Steven Rostedt:
     "Update bootconf scripts for tracing_on option
    
      The tracing_on option is supported by bootconfig entries, but the
      scripts to convert from ftrace to a bootconfig and back were not
      updated"
    
    * tag 'trace-v5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
      tools/bootconfig: Add tracing_on support to helper scripts
    torvalds committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    cdaed11 View commit details
    Browse the repository at this point in the history
  29. Merge tag 'drm-fixes-2021-01-15' of git://anongit.freedesktop.org/drm…

    …/drm
    
    Pull drm fixes from Dave Airlie:
     "Regular fixes for rc4, a bunch of fixes across i915, amdgpu and
      nouveau here, along with a couple of TTM fixes, and dma-buf and one
      core pageflip/modifier interaction fix.
    
      One notable i915 fix is a HSW GT1 regression fix that has been
      outstanding for quite a while. (Thanks to Matt Turner for kicking
      Intel into getting it fixed).
    
      dma-buf:
       - Fix a memory leak in CMAV heap
    
      core:
       - Fix format check for legacy pageflips
    
      ttm:
       - Pass correct address to dma_mapping_error()
       - Use mutex in pool shrinker
    
      i915:
       - Allow the sysadmin to override security mitigations
       - Restore clear-residual mitigations for ivb/byt
       - Limit VFE threads based on GT
       - GVT: fix vfio edid and full display detection
       - Fix DSI DSC power refcounting
       - Fix LPT CPU mode backlight takeover
       - Disable RPM wakeref assertions during driver shutdown
       - Fix DSI sequence sleeps
    
      amdgpu:
       - Update repo location in MAINTAINERS
       - Add some new renoir PCI IDs
       - Revert CRC UAPI changes
       - Revert OLED display fix which cases clocking problems for some systems
       - Misc vangogh fixes
       - GFX fix for sienna cichlid
       - DCN1.0 fix for pipe split
       - Fix incorrect PSP command
    
      amdkfd:
       - Fix possible out of bounds read in vcrat creation
    
      nouveau:
       - irq handling fix
       - expansion ROM fix
       - hw init dpcd disable
       - aux semaphore owner field fix
       - vram heap sizing fix
       - notifier at 0 is valid fix"
    
    * tag 'drm-fixes-2021-01-15' of git://anongit.freedesktop.org/drm/drm: (37 commits)
      drm/nouveau/kms/nv50-: fix case where notifier buffer is at offset 0
      drm/nouveau/mmu: fix vram heap sizing
      drm/nouveau/i2c/gm200: increase width of aux semaphore owner fields
      drm/nouveau/i2c/gk110-: disable hw-initiated dpcd reads
      drm/nouveau/i2c/gk110: split out from i2c/gk104
      drm/nouveau/privring: ack interrupts the same way as RM
      drm/nouveau/bios: fix issue shadowing expansion ROMs
      drm/amd/display: Fix to be able to stop crc calculation
      Revert "drm/amd/display: Expose new CRC window property"
      Revert "drm/amdgpu/disply: fix documentation warnings in display manager"
      Revert "drm/amd/display: Fix unused variable warning"
      drm/amdgpu: set power brake sequence
      drm/amdgpu: add new device id for Renior
      drm/amdgpu: add green_sardine device id (v2)
      drm/amdgpu: fix vram type and bandwidth error for DDR5 and DDR4
      drm/amdgpu/gfx10: add updated GOLDEN_TSC_COUNT_UPPER/LOWER register offsets for VGH
      drm/amdkfd: Fix out-of-bounds read in kdf_create_vcrat_image_cpu()
      Revert "drm/amd/display: Fixed Intermittent blue screen on OLED panel"
      drm/amd/display: disable dcn10 pipe split by default
      drm/amd/display: Add a missing DCN3.01 API mapping
      ...
    torvalds committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    5ee8805 View commit details
    Browse the repository at this point in the history
  30. Merge branch '04.01-ampere-lite' of git://github.com/skeggsb/linux in…

    …to topic/nouveau-ampere-modeset
    
    This adds support for basic modeseting on the nvidia ampere chipsets. This code should all
    be contained to just those and have no effect on current hardware.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    From: Ben Skeggs <skeggsb@gmail.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/CACAvsv5LmMP+HbDUQBf_dy1-0eS9fA32k8HWo4y5X4-7rsw-yw@mail.gmail.com
    airlied committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    584265d View commit details
    Browse the repository at this point in the history
  31. compiler.h: Raise minimum version of GCC to 5.1 for arm64

    GCC versions >= 4.9 and < 5.1 have been shown to emit memory references
    beyond the stack pointer, resulting in memory corruption if an interrupt
    is taken after the stack pointer has been adjusted but before the
    reference has been executed. This leads to subtle, infrequent data
    corruption such as the EXT4 problems reported by Russell King at the
    link below.
    
    Life is too short for buggy compilers, so raise the minimum GCC version
    required by arm64 to 5.1.
    
    Reported-by: Russell King <linux@armlinux.org.uk>
    Suggested-by: Arnd Bergmann <arnd@kernel.org>
    Signed-off-by: Will Deacon <will@kernel.org>
    Tested-by: Nathan Chancellor <natechancellor@gmail.com>
    Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
    Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
    Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: <stable@vger.kernel.org>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Cc: Florian Weimer <fweimer@redhat.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Nick Desaulniers <ndesaulniers@google.com>
    Link: https://lore.kernel.org/r/20210105154726.GD1551@shell.armlinux.org.uk
    Link: https://lore.kernel.org/r/20210112224832.10980-1-will@kernel.org
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    willdeacon authored and ctmarinas committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    dca5244 View commit details
    Browse the repository at this point in the history
  32. arm64: syscall: include prototype for EL0 SVC functions

    The kbuild test robot reports that when building with W=1, GCC will warn
    for a couple of missing prototypes in syscall.c:
    
    |  arch/arm64/kernel/syscall.c:157:6: warning: no previous prototype for 'do_el0_svc' [-Wmissing-prototypes]
    |    157 | void do_el0_svc(struct pt_regs *regs)
    |        |      ^~~~~~~~~~
    |  arch/arm64/kernel/syscall.c:164:6: warning: no previous prototype for 'do_el0_svc_compat' [-Wmissing-prototypes]
    |    164 | void do_el0_svc_compat(struct pt_regs *regs)
    |        |      ^~~~~~~~~~~~~~~~~
    
    While this isn't a functional problem, as a general policy we should
    include the prototype for functions wherever possible to catch any
    accidental divergence between the prototype and implementation. Here we
    can easily include <asm/exception.h>, so let's do so.
    
    While there are a number of warnings elsewhere and some warnings enabled
    under W=1 are of questionable benefit, this change helps to make the
    code more robust as it evolved and reduces the noise somewhat, so it
    seems worthwhile.
    
    Signed-off-by: Mark Rutland <mark.rutland@arm.com>
    Reported-by: kernel test robot <lkp@intel.com>
    Cc: Will Deacon <will@kernel.org>
    Link: https://lore.kernel.org/r/202101141046.n8iPO3mw-lkp@intel.com
    Link: https://lore.kernel.org/r/20210114124812.17754-1-mark.rutland@arm.com
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    Mark Rutland authored and ctmarinas committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    b6d8878 View commit details
    Browse the repository at this point in the history
  33. arm64: selftests: Fix spelling of 'Mismatch'

    The SVE and FPSIMD stress tests have a spelling mistake in the output, fix
    it.
    
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Link: https://lore.kernel.org/r/20210108183144.673-1-broonie@kernel.org
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    broonie authored and ctmarinas committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    3a57a64 View commit details
    Browse the repository at this point in the history
  34. io_uring: flush timeouts that should already have expired

    Right now io_flush_timeouts() checks if the current number of events
    is equal to ->timeout.target_seq, but this will miss some timeouts if
    there have been more than 1 event added since the last time they were
    flushed (possible in io_submit_flush_completions(), for example). Fix
    it by recording the last sequence at which timeouts were flushed so
    that the number of events seen can be compared to the number of events
    needed without overflow.
    
    Signed-off-by: Marcelo Diop-Gonzalez <marcelo827@gmail.com>
    Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
    Signed-off-by: Jens Axboe <axboe@kernel.dk>
    marcelo-gonzalez authored and axboe committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    f010505 View commit details
    Browse the repository at this point in the history
  35. Merge branch 'acpi-docs'

    * acpi-docs:
      Documentation: ACPI: EINJ: Fix error type values for PCIe errors
    rafaeljw committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    179892a View commit details
    Browse the repository at this point in the history
  36. Merge tag 'topic/nouveau-ampere-modeset-2021-01-15' of git://anongit.…

    …freedesktop.org/drm/drm
    
    Pull drm nouveau ampere display support from Dave Airlie:
     "Ben has requested if we can include Ampere modesetting support under
      fixes, it's for new GPUs and shouldn't affect existing hardware.
    
      It's a bit bigger than just adding a PCI ID, but It has no effect on
      older GPUs"
    
    * tag 'topic/nouveau-ampere-modeset-2021-01-15' of git://anongit.freedesktop.org/drm/drm:
      drm/nouveau/disp/ga10[24]: initial support
      drm/nouveau/dmaobj/ga10[24]: initial support
      drm/nouveau/i2c/ga10[024]: initial support
      drm/nouveau/gpio/ga10[024]: initial support
      drm/nouveau/bar/ga10[024]: initial support
      drm/nouveau/mmu/ga10[024]: initial support
      drm/nouveau/timer/ga10[024]: initial support
      drm/nouveau/fb/ga10[024]: initial support
      drm/nouveau/imem/ga10[024]: initial support
      drm/nouveau/privring/ga10[024]: initial support
      drm/nouveau/mc/ga10[024]: initial support
      drm/nouveau/devinit/ga10[024]: initial support
      drm/nouveau/bios/ga10[024]: initial support
      drm/nouveau/pci/ga10[024]: initial support
      drm/nouveau/core: recognise GA10[024]
    torvalds committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    02c06dc View commit details
    Browse the repository at this point in the history
  37. Merge tag 'iommu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/arm64/linux
    
    Pull iommu fixes from Will Deacon:
     "Three IOMMU fixes for -rc4.
    
      The main one is a change to the Intel IOMMU driver to fix the handling
      of unaligned addresses when invalidating the TLB.
    
      The fix itself is a bit ugly (the caller does a bunch of shifting
      which is then effectively undone later in the callchain), but Lu has
      patches to clean all of this up in 5.12.
    
      Summary:
    
       - Fix address alignment handling for VT-D TLB invalidation
    
       - Enable workarounds for buggy Qualcomm firmware on two more SoCs
    
       - Drop duplicate #include"
    
    * tag 'iommu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
      iommu/vt-d: Fix duplicate included linux/dma-map-ops.h
      iommu: arm-smmu-qcom: Add sdm630/msm8998 compatibles for qcom quirks
      iommu/vt-d: Fix unaligned addresses for intel_flush_svm_range_dev()
    torvalds committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    7aec71c View commit details
    Browse the repository at this point in the history
  38. Merge tag 'for-linus-5.11-rc4-tag' of git://git.kernel.org/pub/scm/li…

    …nux/kernel/git/xen/tip
    
    Pull xen fixes from Juergen Gross:
    
     - A series to fix a regression when running as a fully virtualized
       guest on an old Xen hypervisor not supporting PV interrupt callbacks
       for HVM guests.
    
     - A patch to add support to query Xen resource sizes (setting was
       possible already) from user mode.
    
    * tag 'for-linus-5.11-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
      x86/xen: Fix xen_hvm_smp_init() when vector callback not available
      x86/xen: Don't register Xen IPIs when they aren't going to be used
      x86/xen: Add xen_no_vector_callback option to test PCI INTX delivery
      xen: Set platform PCI device INTX affinity to CPU0
      xen: Fix event channel callback via INTX/GSI
      xen/privcmd: allow fetching resource sizes
    torvalds committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    dcda487 View commit details
    Browse the repository at this point in the history
  39. Merge tag 'acpi-5.11-rc4' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/rafael/linux-pm
    
    Pull ACPI fixes from Rafael Wysocki:
     "These address a device ID bounds check error in the device enumeration
      code and fix a mistake in the documentation.
    
      Specifics:
    
       - Harden the ACPI device enumeration code against device ID length
         overflows to address a Linux VM cash on Hyper-V (Dexuan Cui).
    
       - Fix a mistake in the documentation of error type values for PCIe
         errors (Qiuxu Zhuo)"
    
    * tag 'acpi-5.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
      Documentation: ACPI: EINJ: Fix error type values for PCIe errors
      ACPI: scan: Harden acpi_device_add() against device ID overflows
    torvalds committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    f4e087c View commit details
    Browse the repository at this point in the history
  40. perf bpf examples: Fix bpf.h header include directive in 5sec.c example

    It was looking at bpf/bpf.h, which caused this problem:
    
      # perf trace -e tools/perf/examples/bpf/5sec.c
      /home/acme/git/perf/tools/perf/examples/bpf/5sec.c:42:10: fatal error: 'bpf/bpf.h' file not found
      #include <bpf/bpf.h>
               ^~~~~~~~~~~
      1 error generated.
      ERROR:	unable to compile tools/perf/examples/bpf/5sec.c
      Hint:	Check error message shown above.
      Hint:	You can also pre-compile it into .o using:
           		clang -target bpf -O2 -c tools/perf/examples/bpf/5sec.c
           	with proper -I and -D options.
      event syntax error: 'tools/perf/examples/bpf/5sec.c'
                           \___ Failed to load tools/perf/examples/bpf/5sec.c from source: Error when compiling BPF scriptlet
      #
    
    Change that to plain bpf.h, to make it work again:
    
      # perf trace -e tools/perf/examples/bpf/5sec.c sleep 5s
           0.000 perf_bpf_probe:hrtimer_nanosleep(__probe_ip: -1776891872, rqtp: 5000000000)
      # perf trace -e tools/perf/examples/bpf/5sec.c/max-stack=16/ sleep 5s
           0.000 perf_bpf_probe:hrtimer_nanosleep(__probe_ip: -1776891872, rqtp: 5000000000)
                                             hrtimer_nanosleep ([kernel.kallsyms])
                                             common_nsleep ([kernel.kallsyms])
                                             __x64_sys_clock_nanosleep ([kernel.kallsyms])
                                             do_syscall_64 ([kernel.kallsyms])
                                             entry_SYSCALL_64_after_hwframe ([kernel.kallsyms])
                                             __clock_nanosleep_2 (/usr/lib64/libc-2.32.so)
      # perf trace -e tools/perf/examples/bpf/5sec.c sleep 4s
      #
    
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    acmel committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    301f020 View commit details
    Browse the repository at this point in the history
  41. tools headers UAPI: Sync kvm.h headers with the kernel sources

    To pick the changes in:
    
      647daca ("KVM: SVM: Add support for booting APs in an SEV-ES guest")
    
    That don't cause any tooling change, just silences this perf build
    warning:
    
      Warning: Kernel ABI header at 'tools/include/uapi/linux/kvm.h' differs from latest version at 'include/uapi/linux/kvm.h'
      diff -u tools/include/uapi/linux/kvm.h include/uapi/linux/kvm.h
    
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: Tom Lendacky <thomas.lendacky@amd.com>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    acmel committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    38c5394 View commit details
    Browse the repository at this point in the history
  42. tools headers: Syncronize linux/build_bug.h with the kernel sources

    To pick up the changes in:
    
      3a176b9 ("Revert "kbuild: avoid static_assert for genksyms"")
    
    And silence this perf build warning:
    
      Warning: Kernel ABI header at 'tools/include/linux/build_bug.h' differs from latest version at 'include/linux/build_bug.h'
      diff -u tools/include/linux/build_bug.h include/linux/build_bug.h
    
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Masahiro Yamada <masahiroy@kernel.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    acmel committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    addbdff View commit details
    Browse the repository at this point in the history
  43. perf test: Fix shadow stat test for non-bash shells

    It was using some bash-specific features and failed to parse when
    running with a different shell like below:
    
      root@kbl-ppc:~/kbl-ws/perf-dev/lck-9077/acme.tmp/tools/perf# ./perf test 83 -vv
      83: perf stat metrics (shadow stat) test                            :
      --- start ---
      test child forked, pid 3922
      ./tests/shell/stat+shadow_stat.sh: 19: ./tests/shell/stat+shadow_stat.sh: [[: not found
      ./tests/shell/stat+shadow_stat.sh: 24: ./tests/shell/stat+shadow_stat.sh: [[: not found
      ./tests/shell/stat+shadow_stat.sh: 30: ./tests/shell/stat+shadow_stat.sh: [[: not found
      (standard_in) 2: syntax error
      ./tests/shell/stat+shadow_stat.sh: 36: ./tests/shell/stat+shadow_stat.sh: [[: not found
      ./tests/shell/stat+shadow_stat.sh: 19: ./tests/shell/stat+shadow_stat.sh: [[: not found
      ./tests/shell/stat+shadow_stat.sh: 24: ./tests/shell/stat+shadow_stat.sh: [[: not found
      ./tests/shell/stat+shadow_stat.sh: 30: ./tests/shell/stat+shadow_stat.sh: [[: not found
      (standard_in) 2: syntax error
      ./tests/shell/stat+shadow_stat.sh: 36: ./tests/shell/stat+shadow_stat.sh: [[: not found
      ./tests/shell/stat+shadow_stat.sh: 45: ./tests/shell/stat+shadow_stat.sh: declare: not found
      test child finished with -1
      ---- end ----
      perf stat metrics (shadow stat) test: FAILED!
    
    Reported-by: Jin Yao <yao.jin@linux.intel.com>
    Signed-off-by: Namhyung Kim <namhyung@kernel.org>
    Acked-by: Jiri Olsa <jolsa@redhat.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Andi Kleen <ak@linux.intel.com>
    Cc: David Laight <david.laight@aculab.com>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Stephane Eranian <eranian@google.com>
    Link: http://lore.kernel.org/lkml/20210114050609.1258820-1-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    namhyung authored and acmel committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    a042a82 View commit details
    Browse the repository at this point in the history
  44. ext4: use IS_ERR instead of IS_ERR_OR_NULL and set inode null when IS…

    …_ERR
    
    1: ext4_iget/ext4_find_extent never returns NULL, use IS_ERR
    instead of IS_ERR_OR_NULL to fix this.
    
    2: ext4_fc_replay_inode should set the inode to NULL when IS_ERR.
    and go to call iput properly.
    
    Fixes: 8016e29 ("ext4: fast commit recovery path")
    Signed-off-by: Yi Li <yili@winhong.com>
    Reviewed-by: Jan Kara <jack@suse.cz>
    Link: https://lore.kernel.org/r/20201230033827.3996064-1-yili@winhong.com
    Signed-off-by: Theodore Ts'o <tytso@mit.edu>
    Cc: stable@kernel.org
    cybertan authored and tytso committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    23dd561 View commit details
    Browse the repository at this point in the history
  45. ext4: fix wrong list_splice in ext4_fc_cleanup

    After full/fast commit, entries in staging queue are promoted to main
    queue. In ext4_fs_cleanup function, it splice to staging queue to
    staging queue.
    
    Fixes: aa75f4d ("ext4: main fast-commit commit path")
    Signed-off-by: Daejun Park <daejun7.park@samsung.com>
    Reviewed-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
    Link: https://lore.kernel.org/r/20201230094851epcms2p6eeead8cc984379b37b2efd21af90fd1a@epcms2p6
    Signed-off-by: Theodore Ts'o <tytso@mit.edu>
    Cc: stable@kernel.org
    Daejun Park authored and tytso committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    31e203e View commit details
    Browse the repository at this point in the history
  46. ext4: fix bug for rename with RENAME_WHITEOUT

    We got a "deleted inode referenced" warning cross our fsstress test. The
    bug can be reproduced easily with following steps:
    
      cd /dev/shm
      mkdir test/
      fallocate -l 128M img
      mkfs.ext4 -b 1024 img
      mount img test/
      dd if=/dev/zero of=test/foo bs=1M count=128
      mkdir test/dir/ && cd test/dir/
      for ((i=0;i<1000;i++)); do touch file$i; done # consume all block
      cd ~ && renameat2(AT_FDCWD, /dev/shm/test/dir/file1, AT_FDCWD,
        /dev/shm/test/dir/dst_file, RENAME_WHITEOUT) # ext4_add_entry in
        ext4_rename will return ENOSPC!!
      cd /dev/shm/ && umount test/ && mount img test/ && ls -li test/dir/file1
      We will get the output:
      "ls: cannot access 'test/dir/file1': Structure needs cleaning"
      and the dmesg show:
      "EXT4-fs error (device loop0): ext4_lookup:1626: inode #2049: comm ls:
      deleted inode referenced: 139"
    
    ext4_rename will create a special inode for whiteout and use this 'ino'
    to replace the source file's dir entry 'ino'. Once error happens
    latter(the error above was the ENOSPC return from ext4_add_entry in
    ext4_rename since all space has been consumed), the cleanup do drop the
    nlink for whiteout, but forget to restore 'ino' with source file. This
    will trigger the bug describle as above.
    
    Signed-off-by: yangerkun <yangerkun@huawei.com>
    Reviewed-by: Jan Kara <jack@suse.cz>
    Cc: stable@vger.kernel.org
    Fixes: cd808de ("ext4: support RENAME_WHITEOUT")
    Link: https://lore.kernel.org/r/20210105062857.3566-1-yangerkun@huawei.com
    Signed-off-by: Theodore Ts'o <tytso@mit.edu>
    yangerkun authored and tytso committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    6b4b8e6 View commit details
    Browse the repository at this point in the history
  47. ext4: remove expensive flush on fast commit

    In the fast commit, it adds REQ_FUA and REQ_PREFLUSH on each fast
    commit block when barrier is enabled.  However, in recovery phase,
    ext4 compares CRC value in the tail.  So it is sufficient to add
    REQ_FUA and REQ_PREFLUSH on the block that has tail.
    
    Signed-off-by: Daejun Park <daejun7.park@samsung.com>
    Reviewed-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
    Link: https://lore.kernel.org/r/20210106013242epcms2p5b6b4ed8ca86f29456fdf56aa580e74b4@epcms2p5
    Signed-off-by: Theodore Ts'o <tytso@mit.edu>
    Daejun Park authored and tytso committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    e9f5335 View commit details
    Browse the repository at this point in the history
  48. libperf tests: Avoid uninitialized variable warning

    The variable 'bf' is read (for a write call) without being initialized
    triggering a memory sanitizer warning. Use 'bf' in the read and switch
    the write to reading from a string.
    
    Signed-off-by: Ian Rogers <irogers@google.com>
    Acked-by: Jiri Olsa <jolsa@redhat.com>
    Acked-by: Namhyung Kim <namhyung@kernel.org>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Stephane Eranian <eranian@google.com>
    Link: http://lore.kernel.org/lkml/20210114212304.4018119-1-irogers@google.com
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    captain5050 authored and acmel committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    be82fdd View commit details
    Browse the repository at this point in the history
  49. libperf tests: If a test fails return non-zero

    If a test fails return -1 rather than 0. This is consistent with the
    return value in test-cpumap.c
    
    Signed-off-by: Ian Rogers <irogers@google.com>
    Acked-by: Jiri Olsa <jolsa@redhat.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Stephane Eranian <eranian@google.com>
    Link: http://lore.kernel.org/lkml/20210114180250.3853825-1-irogers@google.com
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    captain5050 authored and acmel committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    bba2ea1 View commit details
    Browse the repository at this point in the history
  50. libperf tests: Fail when failing to get a tracepoint id

    Permissions are necessary to get a tracepoint id. Fail the test when the
    read fails.
    
    Signed-off-by: Ian Rogers <irogers@google.com>
    Acked-by: Jiri Olsa <jolsa@redhat.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Stephane Eranian <eranian@google.com>
    Link: http://lore.kernel.org/lkml/20210114180250.3853825-2-irogers@google.com
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    captain5050 authored and acmel committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    66dd86b View commit details
    Browse the repository at this point in the history
  51. perf stat: Introduce struct runtime_stat_data

    To pass more info to the saved_value in the runtime_stat, add a new
    struct runtime_stat_data.  Currently it only has 'ctx' field but later
    patch will add more.
    
    Note that we intentionally pass 0 as ctx to clock-related events for
    compatibility.  It was already there in a few places.  So move the code
    into the saved_value_lookup() explicitly and add a comment.
    
    Suggested-by: Andi Kleen <ak@linux.intel.com>
    Signed-off-by: Namhyung Kim <namhyung@kernel.org>
    Acked-by: Jiri Olsa <jolsa@redhat.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Andi Kleen <ak@linux.intel.com>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Jin Yao <yao.jin@linux.intel.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Stephane Eranian <eranian@google.com>
    Link: http://lore.kernel.org/lkml/20210115071139.257042-1-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    namhyung authored and acmel committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    3ff1e71 View commit details
    Browse the repository at this point in the history
  52. perf stat: Take cgroups into account for shadow stats

    As of now it doesn't consider cgroups when collecting shadow stats and
    metrics so counter values from different cgroups will be saved in a same
    slot.  This resulted in incorrect numbers when those cgroups have
    different workloads.
    
    For example, let's look at the scenario below: cgroups A and C runs same
    workload which burns a cpu while cgroup B runs a light workload.
    
      $ perf stat -a -e cycles,instructions --for-each-cgroup A,B,C  sleep 1
    
       Performance counter stats for 'system wide':
    
         3,958,116,522      cycles                A
         6,722,650,929      instructions          A #    2.53  insn per cycle
             1,132,741      cycles                B
               571,743      instructions          B #    0.00  insn per cycle
         4,007,799,935      cycles                C
         6,793,181,523      instructions          C #    2.56  insn per cycle
    
           1.001050869 seconds time elapsed
    
    When I run 'perf stat' with single workload, it usually shows IPC around
    1.7.  We can verify it (6,722,650,929.0 / 3,958,116,522 = 1.698) for cgroup A.
    
    But in this case, since cgroups are ignored, cycles are averaged so it
    used the lower value for IPC calculation and resulted in around 2.5.
    
      avg cycle: (3958116522 + 1132741 + 4007799935) / 3 = 2655683066
      IPC (A)  :  6722650929 / 2655683066 = 2.531
      IPC (B)  :      571743 / 2655683066 = 0.0002
      IPC (C)  :  6793181523 / 2655683066 = 2.557
    
    We can simply compare cgroup pointers in the evsel and it'll be NULL
    when cgroups are not specified.  With this patch, I can see correct
    numbers like below:
    
      $ perf stat -a -e cycles,instructions --for-each-cgroup A,B,C  sleep 1
    
      Performance counter stats for 'system wide':
    
         4,171,051,687      cycles                A
         7,219,793,922      instructions          A #    1.73  insn per cycle
             1,051,189      cycles                B
               583,102      instructions          B #    0.55  insn per cycle
         4,171,124,710      cycles                C
         7,192,944,580      instructions          C #    1.72  insn per cycle
    
           1.007909814 seconds time elapsed
    
    Signed-off-by: Namhyung Kim <namhyung@kernel.org>
    Acked-by: Jiri Olsa <jolsa@redhat.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Andi Kleen <ak@linux.intel.com>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Jin Yao <yao.jin@linux.intel.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Stephane Eranian <eranian@google.com>
    Link: http://lore.kernel.org/lkml/20210115071139.257042-2-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    namhyung authored and acmel committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    a1bf230 View commit details
    Browse the repository at this point in the history
  53. perf intel-pt: Fix 'CPU too large' error

    In some cases, the number of cpus (nr_cpus_online) is confused with the
    maximum cpu number (nr_cpus_avail), which results in the error in the
    example below:
    
    Example on system with 8 cpus:
    
     Before:
       # echo 0 > /sys/devices/system/cpu/cpu2/online
       # ./perf record --kcore -e intel_pt// taskset --cpu-list 7 uname
       Linux
       [ perf record: Woken up 1 times to write data ]
       [ perf record: Captured and wrote 0.147 MB perf.data ]
       # ./perf script --itrace=e
       Requested CPU 7 too large. Consider raising MAX_NR_CPUS
       0x25908 [0x8]: failed to process type: 68 [Invalid argument]
    
     After:
       # ./perf script --itrace=e
       #
    
    Fixes: 8c72746 ("perf machine: Replace MAX_NR_CPUS with perf_env::nr_cpus_online")
    Fixes: 7df4e36 ("perf session: Replace MAX_NR_CPUS with perf_env::nr_cpus_online")
    Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
    Tested-by: Kan Liang <kan.liang@linux.intel.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: stable@vger.kernel.org
    Link: http://lore.kernel.org/lkml/20210107174159.24897-1-adrian.hunter@intel.com
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    ahunter6 authored and acmel committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    5501e92 View commit details
    Browse the repository at this point in the history
  54. perf inject: Correct event attribute sizes

    When 'perf inject' reads a perf.data file from an older version of perf,
    it writes event attributes into the output with the original size field,
    but lays them out as if they had the size currently used. Readers see a
    corrupt file. Update the size field to match the layout.
    
    Signed-off-by: Al Grant <al.grant@foss.arm.com>
    Acked-by: Jiri Olsa <jolsa@redhat.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Link: http://lore.kernel.org/lkml/20201124195818.30603-1-al.grant@arm.com
    Signed-off-by: Denis Nikitin <denik@chromium.org>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    algrant-arm authored and acmel committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    648b054 View commit details
    Browse the repository at this point in the history
  55. Merge tag 'mips_fixes_5.11.1' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/mips/linux
    
    Pull MIPS fixes from Thomas Bogendoerfer:
    
     - fix coredumps on 64bit kernels
    
     - fix for alignment bugs preventing booting
    
     - fix checking for failed irq_alloc_desc calls
    
    * tag 'mips_fixes_5.11.1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux:
      MIPS: OCTEON: fix unreachable code in octeon_irq_init_ciu
      MIPS: relocatable: fix possible boot hangup with KASLR enabled
      MIPS: Fix malformed NT_FILE and NT_SIGINFO in 32bit coredumps
      MIPS: boot: Fix unaligned access with CONFIG_MIPS_RAW_APPENDED_DTB
    torvalds committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    f288c89 View commit details
    Browse the repository at this point in the history
  56. Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/arm64/linux
    
    Pull arm64 fixes from Catalin Marinas:
    
     - Set the minimum GCC version to 5.1 for arm64 due to earlier compiler
       bugs.
    
     - Make atomic helpers __always_inline to avoid a section mismatch when
       compiling with clang.
    
     - Fix the CMA and crashkernel reservations to use ZONE_DMA (remove the
       arm64_dma32_phys_limit variable, no longer needed with a dynamic
       ZONE_DMA sizing in 5.11).
    
     - Remove redundant IRQ flag tracing that was leaving lockdep
       inconsistent with the hardware state.
    
     - Revert perf events based hard lockup detector that was causing
       smp_processor_id() to be called in preemptible context.
    
     - Some trivial cleanups - spelling fix, renaming S_FRAME_SIZE to
       PT_REGS_SIZE, function prototypes added.
    
    * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
      arm64: selftests: Fix spelling of 'Mismatch'
      arm64: syscall: include prototype for EL0 SVC functions
      compiler.h: Raise minimum version of GCC to 5.1 for arm64
      arm64: make atomic helpers __always_inline
      arm64: rename S_FRAME_SIZE to PT_REGS_SIZE
      Revert "arm64: Enable perf events based hard lockup detector"
      arm64: entry: remove redundant IRQ flag tracing
      arm64: Remove arm64_dma32_phys_limit and its uses
    torvalds committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    82821be View commit details
    Browse the repository at this point in the history
  57. Merge tag '5.11-rc3-smb3' of git://git.samba.org/sfrench/cifs-2.6

    Pull cifs fixes from Steve French:
     "Two small cifs fixes for stable (including an important handle leak
      fix) and three small cleanup patches"
    
    * tag '5.11-rc3-smb3' of git://git.samba.org/sfrench/cifs-2.6:
      cifs: style: replace one-element array with flexible-array
      cifs: connect: style: Simplify bool comparison
      fs: cifs: remove unneeded variable in smb3_fs_context_dup
      cifs: fix interrupted close commands
      cifs: check pointer before freeing
    torvalds committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    7cd3c41 View commit details
    Browse the repository at this point in the history
  58. Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/tytso/ext4
    
    Pull ext4 fixes from Ted Ts'o:
     "A number of bug fixes for ext4:
    
       - Fix for the new fast_commit feature
    
       - Fix some error handling codepaths in whiteout handling and
         mountpoint sampling
    
       - Fix how we write ext4_error information so it goes through the
         journal when journalling is active, to avoid races that can lead to
         lost error information, superblock checksum failures, or DIF/DIX
         features"
    
    * tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
      ext4: remove expensive flush on fast commit
      ext4: fix bug for rename with RENAME_WHITEOUT
      ext4: fix wrong list_splice in ext4_fc_cleanup
      ext4: use IS_ERR instead of IS_ERR_OR_NULL and set inode null when IS_ERR
      ext4: don't leak old mountpoint samples
      ext4: drop ext4_handle_dirty_super()
      ext4: fix superblock checksum failure when setting password salt
      ext4: use sbi instead of EXT4_SB(sb) in ext4_update_super()
      ext4: save error info to sb through journal if available
      ext4: protect superblock modifications with a buffer lock
      ext4: drop sync argument of ext4_commit_super()
      ext4: combine ext4_handle_error() and save_error_info()
    torvalds committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    0bc9bc1 View commit details
    Browse the repository at this point in the history
  59. io_uring: ensure finish_wait() is always called in __io_uring_task_ca…

    …ncel()
    
    If we enter with requests pending and performm cancelations, we'll have
    a different inflight count before and after calling prepare_to_wait().
    This causes the loop to restart. If we actually ended up canceling
    everything, or everything completed in-between, then we'll break out
    of the loop without calling finish_wait() on the waitqueue. This can
    trigger a warning on exit_signals(), as we leave the task state in
    TASK_UNINTERRUPTIBLE.
    
    Put a finish_wait() after the loop to catch that case.
    
    Cc: stable@vger.kernel.org # 5.9+
    Signed-off-by: Jens Axboe <axboe@kernel.dk>
    axboe committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    a8d13db View commit details
    Browse the repository at this point in the history
  60. Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/rdma/rdma
    
    Pull rdma fixes from Jason Gunthorpe:
     "A fairly modest set of bug fixes, nothing abnormal from the merge
      window
    
      The ucma patch is a bit on the larger side, but given the regression
      was recently added I've opted to forward it to the rc stream.
    
       - Fix a ucma memory leak introduced in v5.9 while fixing the
         Syzkaller bugs
    
       - Don't fail when the xarray wraps for user verbs objects
    
       - User triggerable oops regression from the umem page size rework
    
       - Error unwind bugs in usnic, ocrdma, mlx5 and cma"
    
    * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
      RDMA/cma: Fix error flow in default_roce_mode_store
      RDMA/mlx5: Fix wrong free of blue flame register on error
      IB/mlx5: Fix error unwinding when set_has_smi_cap fails
      RDMA/umem: Avoid undefined behavior of rounddown_pow_of_two()
      RDMA/ocrdma: Fix use after free in ocrdma_dealloc_ucontext_pd()
      RDMA/usnic: Fix memleak in find_free_vf_and_create_qp_grp
      RDMA/restrack: Don't treat as an error allocation ID wrapping
      RDMA/ucma: Do not miss ctx destruction steps in some cases
    torvalds committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    8cbe71e View commit details
    Browse the repository at this point in the history
  61. Merge branch 'akpm' (patches from Andrew)

    Merge misc fixes from Andrew Morton:
     "10 patches.
    
      Subsystems affected by this patch series: MAINTAINERS and mm (slub,
      pagealloc, memcg, kasan, vmalloc, migration, hugetlb, memory-failure,
      and process_vm_access)"
    
    * emailed patches from Andrew Morton <akpm@linux-foundation.org>:
      mm/process_vm_access.c: include compat.h
      mm,hwpoison: fix printing of page flags
      MAINTAINERS: add Vlastimil as slab allocators maintainer
      mm/hugetlb: fix potential missing huge page size info
      mm: migrate: initialize err in do_migrate_pages
      mm/vmalloc.c: fix potential memory leak
      arm/kasan: fix the array size of kasan_early_shadow_pte[]
      mm/memcontrol: fix warning in mem_cgroup_page_lruvec()
      mm/page_alloc: add a missing mm_page_alloc_zone_locked() tracepoint
      mm, slub: consider rest of partial list if acquire_slab() fails
    torvalds committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    b45e2da View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2021

  1. Merge tag 'for-5.11/dm-fixes-1' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/device-mapper/linux-dm
    
    Pull device mapper fixes from Mike Snitzer:
    
     - Fix DM-raid's raid1 discard limits so discards work.
    
     - Select missing Kconfig dependencies for DM integrity and zoned
       targets.
    
     - Four fixes for DM crypt target's support to optionally bypass kcryptd
       workqueues.
    
     - Fix DM snapshot merge supports missing data flushes before committing
       metadata.
    
     - Fix DM integrity data device flushing when external metadata is used.
    
     - Fix DM integrity's maximum number of supported constructor arguments
       that user can request when creating an integrity device.
    
     - Eliminate DM core ioctl logging noise when an ioctl is issued without
       required CAP_SYS_RAWIO permission.
    
    * tag 'for-5.11/dm-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
      dm crypt: defer decryption to a tasklet if interrupts disabled
      dm integrity: fix the maximum number of arguments
      dm crypt: do not call bio_endio() from the dm-crypt tasklet
      dm integrity: fix flush with external metadata device
      dm: eliminate potential source of excessive kernel log noise
      dm snapshot: flush merged data before committing metadata
      dm crypt: use GFP_ATOMIC when allocating crypto requests from softirq
      dm crypt: do not wait for backlogged crypto request completion in softirq
      dm zoned: select CONFIG_CRC32
      dm integrity: select CRYPTO_SKCIPHER
      dm raid: fix discard limits for raid1
    torvalds committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    1d94330 View commit details
    Browse the repository at this point in the history
  2. iov_iter: fix the uaccess area in copy_compat_iovec_from_user

    sizeof needs to be called on the compat pointer, not the native one.
    
    Fixes: 89cd35c ("iov_iter: transparently handle compat iovecs in import_iovec")
    Reported-by: David Laight <David.Laight@ACULAB.COM>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Christoph Hellwig authored and Al Viro committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    a959a97 View commit details
    Browse the repository at this point in the history
  3. RISC-V: Do not allocate memblock while iterating reserved memblocks

    Currently, resource tree allocates memory blocks while iterating on the
    list. It leads to following kernel warning because memblock allocation
    also invokes memory block reservation API.
    
    [    0.000000] ------------[ cut here ]------------
    [    0.000000] WARNING: CPU: 0 PID: 0 at kernel/resource.c:795
    __insert_resource+0x8e/0xd0
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted
    5.10.0-00022-ge20097fb37e2-dirty torvalds#549
    [    0.000000] epc: c00125c2 ra : c001262c sp : c1c01f50
    [    0.000000]  gp : c1d456e0 tp : c1c0a980 t0 : ffffcf20
    [    0.000000]  t1 : 00000000 t2 : 00000000 s0 : c1c01f60
    [    0.000000]  s1 : ffffcf00 a0 : ffffff00 a1 : c1c0c0c4
    [    0.000000]  a2 : 80c12b15 a3 : 80402000 a4 : 80402000
    [    0.000000]  a5 : c1c0c0c4 a6 : 80c12b15 a7 : f5faf600
    [    0.000000]  s2 : c1c0c0c4 s3 : c1c0e000 s4 : c1009a80
    [    0.000000]  s5 : c1c0c000 s6 : c1d48000 s7 : c1613b4c
    [    0.000000]  s8 : 00000fff s9 : 80000200 s10: c1613b40
    [    0.000000]  s11: 00000000 t3 : c1d4a000 t4 : ffffffff
    
    This is also unnecessary as we can pre-compute the total memblocks required
    for each memory region and allocate it before the loop. It save precious
    boot time not going through memblock allocation code every time.
    
    Fixes: 00ab027 ("RISC-V: Add kernel image sections to the resource tree")
    
    Reviewed-by: Anup Patel <anup@brainfault.org>
    Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
    Signed-off-by: Atish Patra <atish.patra@wdc.com>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    atishp04 authored and palmer-dabbelt committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    797f037 View commit details
    Browse the repository at this point in the history
  4. RISC-V: Set current memblock limit

    Currently, linux kernel can not use last 4k bytes of addressable space
    because IS_ERR_VALUE macro treats those as an error. This will be an issue
    for RV32 as any memblock allocator potentially allocate chunk of memory
    from the end of DRAM (2GB) leading bad address error even though the
    address was technically valid.
    
    Fix this issue by limiting the memblock if available memory spans the
    entire address space.
    
    Reviewed-by: Anup Patel <anup@brainfault.org>
    Signed-off-by: Atish Patra <atish.patra@wdc.com>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    atishp04 authored and palmer-dabbelt committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    abb8e86 View commit details
    Browse the repository at this point in the history
  5. RISC-V: Fix maximum allowed phsyical memory for RV32

    Linux kernel can only map 1GB of address space for RV32 as the page offset
    is set to 0xC0000000. The current description in the Kconfig is confusing
    as it indicates that RV32 can support 2GB of physical memory. That is
    simply not true for current kernel. In future, a 2GB split support can be
    added to allow 2GB physical address space.
    
    Reviewed-by: Anup Patel <anup@brainfault.org>
    Signed-off-by: Atish Patra <atish.patra@wdc.com>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    atishp04 authored and palmer-dabbelt committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    e557793 View commit details
    Browse the repository at this point in the history
  6. mm: fix clear_refs_write locking

    Turning page table entries read-only requires the mmap_sem held for
    writing.
    
    So stop doing the odd games with turning things from read locks to write
    locks and back.  Just get the write lock.
    
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    torvalds committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    29a951d View commit details
    Browse the repository at this point in the history
  7. mm: don't play games with pinned pages in clear_page_refs

    Turning a pinned page read-only breaks the pinning after COW.  Don't do it.
    
    The whole "track page soft dirty" state doesn't work with pinned pages
    anyway, since the page might be dirtied by the pinning entity without
    ever being noticed in the page tables.
    
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    torvalds committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    9348b73 View commit details
    Browse the repository at this point in the history
  8. Merge tag 'riscv-for-linus-5.11-rc4' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/riscv/linux
    
    Pull RISC-V fixes from Palmer Dabbelt:
     "There are a few more fixes than a normal rc4, largely due to the
      bubble introduced by the holiday break:
    
       - return -ENOSYS for syscall number -1, which previously returned an
         uninitialized value.
    
       - ensure of_clk_init() has been called in time_init(), without which
         clock drivers may not be initialized.
    
       - fix sifive,uart0 driver to properly display the baud rate. A fix to
         initialize MPIE that allows interrupts to be processed during
         system calls.
    
       - avoid erronously begin tracing IRQs when interrupts are disabled,
         which at least triggers suprious lockdep failures.
    
       - workaround for a warning related to calling smp_processor_id()
         while preemptible. The warning itself is suprious on currently
         availiable systems.
    
       - properly include the generic time VDSO calls. A fix to our kasan
         address mapping. A fix to the HiFive Unleashed device tree, which
         allows the Ethernet PHY to be properly initialized by Linux (as
         opposed to relying on the bootloader).
    
       - defconfig update to include SiFive's GPIO driver, which is present
         on the HiFive Unleashed and necessary to initialize the PHY.
    
       - avoid allocating memory while initializing reserved memory.
    
       - avoid allocating the last 4K of memory, as pointers there alias
         with syscall errors.
    
      There are also two cleanups that should have no functional effect but
      do fix build warnings:
    
       - drop a duplicated definition of PAGE_KERNEL_EXEC.
    
       - properly declare the asm register SP shim.
    
       - cleanup the rv32 memory size Kconfig entry, to reflect the actual
         size of memory availiable"
    
    * tag 'riscv-for-linus-5.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
      RISC-V: Fix maximum allowed phsyical memory for RV32
      RISC-V: Set current memblock limit
      RISC-V: Do not allocate memblock while iterating reserved memblocks
      riscv: stacktrace: Move register keyword to beginning of declaration
      riscv: defconfig: enable gpio support for HiFive Unleashed
      dts: phy: add GPIO number and active state used for phy reset
      dts: phy: fix missing mdio device and probe failure of vsc8541-01 device
      riscv: Fix KASAN memory mapping.
      riscv: Fixup CONFIG_GENERIC_TIME_VSYSCALL
      riscv: cacheinfo: Fix using smp_processor_id() in preemptible
      riscv: Trace irq on only interrupt is enabled
      riscv: Drop a duplicated PAGE_KERNEL_EXEC
      riscv: Enable interrupts during syscalls with M-Mode
      riscv: Fix sifive serial driver
      riscv: Fix kernel time_init()
      riscv: return -ENOSYS for syscall -1
    torvalds committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    acda701 View commit details
    Browse the repository at this point in the history
  9. Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block

    Pull io_uring fixes from Jens Axboe:
     "We still have a pending fix for a cancelation issue, but it's still
      being investigated. In the meantime:
    
       - Dead mm handling fix (Pavel)
    
       - SQPOLL setup error handling (Pavel)
    
       - Flush timeout sequence fix (Marcelo)
    
       - Missing finish_wait() for one exit case"
    
    * tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block:
      io_uring: ensure finish_wait() is always called in __io_uring_task_cancel()
      io_uring: flush timeouts that should already have expired
      io_uring: do sqo disable on install_fd error
      io_uring: fix null-deref in io_disable_sqo_submit
      io_uring: don't take files/mm for a dead task
      io_uring: drop mm and files after task_work_run
    torvalds committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    11c0239 View commit details
    Browse the repository at this point in the history
  10. Merge tag 'block-5.11-2021-01-16' of git://git.kernel.dk/linux-block

    Pull block fixes from Jens Axboe:
     "Just an nvme pull request via Christoph:
    
       - don't initialize hwmon for discover controllers (Sagi Grimberg)
    
       - fix iov_iter handling in nvme-tcp (Sagi Grimberg)
    
       - fix a preempt warning in nvme-tcp (Sagi Grimberg)
    
       - fix a possible NULL pointer dereference in nvme (Israel Rukshin)"
    
    * tag 'block-5.11-2021-01-16' of git://git.kernel.dk/linux-block:
      nvme: don't intialize hwmon for discovery controllers
      nvme-tcp: fix possible data corruption with bio merges
      nvme-tcp: Fix warning with CONFIG_DEBUG_PREEMPT
      nvmet-rdma: Fix NULL deref when setting pi_enable and traddr INADDR_ANY
    torvalds committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    54c6247 View commit details
    Browse the repository at this point in the history
  11. dump_common_audit_data(): fix racy accesses to ->d_name

    We are not guaranteed the locking environment that would prevent
    dentry getting renamed right under us.  And it's possible for
    old long name to be freed after rename, leading to UAF here.
    
    Cc: stable@kernel.org # v2.6.2+
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Al Viro committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    d36a1dd View commit details
    Browse the repository at this point in the history
  12. Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/jejb/scsi
    
    Pull SCSI fixes from James Bottomley:
     "Nine minor fixes, seven in drivers and two in the core SCSI disk
      driver (sd) which should be harmless involving removing an unused
      variable and quietening a spurious warning"
    
    Signed-off-by: James E.J. Bottomley <jejb@linux.ibm.com>
    
    * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
      scsi: sd: Remove obsolete variable in sd_remove()
      scsi: sd: Suppress spurious errors when WRITE SAME is being disabled
      scsi: scsi_debug: Fix memleak in scsi_debug_init()
      scsi: mpt3sas: Fix spelling mistake in Kconfig "compatiblity" -> "compatibility"
      scsi: qedi: Correct max length of CHAP secret
      scsi: ufs: Correct the LUN used in eh_device_reset_handler() callback
      scsi: ufs: Relocate flush of exceptional event
      scsi: ufs: Relax the condition of UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL
      scsi: ufs: Fix possible power drain during system suspend
    torvalds committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    0da0a8a View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2021

  1. mm: don't put pinned pages into the swap cache

    So technically there is nothing wrong with adding a pinned page to the
    swap cache, but the pinning obviously means that the page can't actually
    be free'd right now anyway, so it's a bit pointless.
    
    However, the real problem is not with it being a bit pointless: the real
    issue is that after we've added it to the swap cache, we'll try to unmap
    the page.  That will succeed, because the code in mm/rmap.c doesn't know
    or care about pinned pages.
    
    Even the unmapping isn't fatal per se, since the page will stay around
    in memory due to the pinning, and we do hold the connection to it using
    the swap cache.  But when we then touch it next and take a page fault,
    the logic in do_swap_page() will map it back into the process as a
    possibly read-only page, and we'll then break the page association on
    the next COW fault.
    
    Honestly, this issue could have been fixed in any of those other places:
    (a) we could refuse to unmap a pinned page (which makes conceptual
    sense), or (b) we could make sure to re-map a pinned page writably in
    do_swap_page(), or (c) we could just make do_wp_page() not COW the
    pinned page (which was what we historically did before that "mm:
    do_wp_page() simplification" commit).
    
    But while all of them are equally valid models for breaking this chain,
    not putting pinned pages into the swap cache in the first place is the
    simplest one by far.
    
    It's also the safest one: the reason why do_wp_page() was changed in the
    first place was that getting the "can I re-use this page" wrong is so
    fraught with errors.  If you do it wrong, you end up with an incorrectly
    shared page.
    
    As a result, using "page_maybe_dma_pinned()" in either do_wp_page() or
    do_swap_page() would be a serious bug since it is only a (very good)
    heuristic.  Re-using the page requires a hard black-and-white rule with
    no room for ambiguity.
    
    In contrast, saying "this page is very likely dma pinned, so let's not
    add it to the swap cache and try to unmap it" is an obviously safe thing
    to do, and if the heuristic might very rarely be a false positive, no
    harm is done.
    
    Fixes: 09854ba ("mm: do_wp_page() simplification")
    Reported-and-tested-by: Martin Raiber <martin@urbackup.org>
    Cc: Pavel Begunkov <asml.silence@gmail.com>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Peter Xu <peterx@redhat.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    torvalds committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    feb889f View commit details
    Browse the repository at this point in the history
  2. Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git…

    …/viro/vfs
    
    Pull misc vfs fixes from Al Viro:
     "Several assorted fixes.
    
      I still think that audit ->d_name race is better fixed this way for
      the benefit of backports, with any possibly fancier variants done on
      top of it"
    
    * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
      dump_common_audit_data(): fix racy accesses to ->d_name
      iov_iter: fix the uaccess area in copy_compat_iovec_from_user
      umount(2): move the flag validity checks first
    torvalds committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    a527a2b View commit details
    Browse the repository at this point in the history
  3. Merge tag 'powerpc-5.11-4' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/powerpc/linux
    
    Pull powerpc fixes from Michael Ellerman:
     "One fix for a lack of alignment in our linker script, that can lead to
      crashes depending on configuration etc.
    
      One fix for the 32-bit VDSO after the C VDSO conversion.
    
      Thanks to Andreas Schwab, Ariel Marcovitch, and Christophe Leroy"
    
    * tag 'powerpc-5.11-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
      powerpc/vdso: Fix clock_gettime_fallback for vdso32
      powerpc: Fix alignment bug within the init sections
    torvalds committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    a1339d6 View commit details
    Browse the repository at this point in the history
  4. Merge tag 'perf-tools-fixes-2021-01-17' of git://git.kernel.org/pub/s…

    …cm/linux/kernel/git/acme/linux
    
    Pull perf tools fixes from Arnaldo Carvalho de Melo:
    
     - Fix 'CPU too large' error in Intel PT
    
     - Correct event attribute sizes in 'perf inject'
    
     - Sync build_bug.h and kvm.h kernel copies
    
     - Fix bpf.h header include directive in 5sec.c 'perf trace' bpf example
    
     - libbpf tests fixes
    
     - Fix shadow stat 'perf test' for non-bash shells
    
     - Take cgroups into account for shadow stats in 'perf stat'
    
    * tag 'perf-tools-fixes-2021-01-17' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux:
      perf inject: Correct event attribute sizes
      perf intel-pt: Fix 'CPU too large' error
      perf stat: Take cgroups into account for shadow stats
      perf stat: Introduce struct runtime_stat_data
      libperf tests: Fail when failing to get a tracepoint id
      libperf tests: If a test fails return non-zero
      libperf tests: Avoid uninitialized variable warning
      perf test: Fix shadow stat test for non-bash shells
      tools headers: Syncronize linux/build_bug.h with the kernel sources
      tools headers UAPI: Sync kvm.h headers with the kernel sources
      perf bpf examples: Fix bpf.h header include directive in 5sec.c example
    torvalds committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    e2da783 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2021

  1. Linux 5.11-rc4

    torvalds committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    19c329f View commit details
    Browse the repository at this point in the history
  2. SUBMITME: clk: qcom: rpmcc: add support for MSM8953 RPM clocks

    Add definations for RPM clocks used on MSM8953 platform.
    
    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    5bb87e7 View commit details
    Browse the repository at this point in the history
  3. SUBMITME: dt-bindings: clock: qcom-rpmcc: add msm8953 compatible

    Add compatible for MSM8953 SoC.
    
    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    09b2132 View commit details
    Browse the repository at this point in the history
  4. SUBMITME: mailbox: qcom-apcs-ipc: add msm8953 apcs compatible

    MSM8953 has an APCS block similar to MSM8916 but with different clocks
    which are spread over 2MB IO region next to it.
    
    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    ed59dd9 View commit details
    Browse the repository at this point in the history
  5. SUBMITME: dt-bindings: mailbox: add compatible for the MSM8953

    Add the mailbox compatible for the MSM8953 SoC.
    
    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    f0698b6 View commit details
    Browse the repository at this point in the history
  6. SUBMITME: RFC: regulator: qcom_spmi: add support for other SAW versions

    Add support for SAW version 2.1 and 4.0. Only latter version was
    tested. I added v2.1 becauce based on codeaurora source only register
    layout differs between revisions.
    
    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    3e2cb95 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    45fa212 View commit details
    Browse the repository at this point in the history
  8. dt-bindings: firmware: qcom-scm: document msm8953 bindings

    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    3c2e560 View commit details
    Browse the repository at this point in the history
  9. firmware: qcom_scm: add compatible for msm8953

    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    07c4ff4 View commit details
    Browse the repository at this point in the history
  10. dt-bindings: clock: add Qualcomm MSM8953 GCC driver bindings

    Add bindings and compatible to documentation for MSM8953 Global Clock
    Controller driver.
    
    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    [scarface@disroot.org: add missing GCC_MSS_BCR]
    Signed-off-by: Sireesh Kodali <scarface@disroot.org>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    deb804e View commit details
    Browse the repository at this point in the history
  11. clk: qcom: add msm8593 Global Clock Controller driver

    This driver provides clocks, resets and power domains for MSM8953
    and compatible SoCs: APQ8053, SDM450, SDA450, SDM632, SDA632.
    
    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    [scarface@disroot.org: add MSS reset]
    Signed-off-by: Sireesh Kodali <scarface@disroot.org>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    df9123e View commit details
    Browse the repository at this point in the history
  12. media: qcom: camss: fix integer overflows

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    e7b8b97 View commit details
    Browse the repository at this point in the history
  13. media: qcom: camss: add support for MSM8953/SDM450/SDM632

    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    05db351 View commit details
    Browse the repository at this point in the history
  14. dt-bindings: media: qcom-camss: add MSM8953 bindings

    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    faa0838 View commit details
    Browse the repository at this point in the history
  15. i2c: busses: qcom-cci: add msm8953 compatible

    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    25a8b82 View commit details
    Browse the repository at this point in the history
  16. dt-bindings: i2c: qcom-cci: add msm8953 bindings

    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    9baefc1 View commit details
    Browse the repository at this point in the history
  17. arm64: dts: qcom: add initial dt source for msm8953

    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    c2ffe7f View commit details
    Browse the repository at this point in the history
  18. arm64: dts: qcom: add dts include for msm8953 + pm8953

    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    81694ed View commit details
    Browse the repository at this point in the history
  19. arm64: dts: qcom: add initial dt source for sdm632

    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    7a78547 View commit details
    Browse the repository at this point in the history
  20. arm64: dts: qcom: add dts include for sdm632 + pm8953

    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    08a630d View commit details
    Browse the repository at this point in the history
  21. arm64: dts: qcom: add initial dt source for pm8953

    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    7cb0715 View commit details
    Browse the repository at this point in the history
  22. arm64: dts: qcom: add initial device-tree for samsung-a6plte

    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    e86a403 View commit details
    Browse the repository at this point in the history
  23. update .gitignore

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    a4dfa99 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    a4a5c9b View commit details
    Browse the repository at this point in the history
  25. rpmsg: qcom: smd: allow opening smd channel to RPM on msm8953

    Resource Power Managment (RPM) on msm8953 doesn't try to open channel to APPS
    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    9395391 View commit details
    Browse the repository at this point in the history
  26. clk: qcom: improve regmap-mux-div clock ops (v2)

    v2: just better
    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    b432323 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    dbd3cc5 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    e537fae View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    fe1d5a9 View commit details
    Browse the repository at this point in the history
  30. drm: msm: mdp5: add config for msm8953

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    f6da0a1 View commit details
    Browse the repository at this point in the history
  31. drm: msm: dsi: phy: add config for msm8953

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    dc2bd59 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    ed00181 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    0995ae2 View commit details
    Browse the repository at this point in the history
  34. iommu: qcom-iommu: add support for msm8953

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    9148c66 View commit details
    Browse the repository at this point in the history
  35. iommu: qcom-iommu: avoid bouncing power domain

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    d8258ca View commit details
    Browse the repository at this point in the history
  36. drm: msm: disable autorefresh before attaching iommu

    It fixes context faults on devices with command-mode panels
    if autorefresh was left enabled by bootloader.
    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    d385616 View commit details
    Browse the repository at this point in the history
  37. iommu: add missing is_attach_deferred check

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    2e3f2d1 View commit details
    Browse the repository at this point in the history
  38. HACK: allow deferring iommu attach for msm

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    30d87e1 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    0647ecc View commit details
    Browse the repository at this point in the history
  40. dt-bindings: soc: qcom: smd-rpm: add msm8953 compatible

    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    18dbffc View commit details
    Browse the repository at this point in the history
  41. soc: qcom: smd-rpm: add msm8953 compatible

    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    b48b179 View commit details
    Browse the repository at this point in the history
  42. dt-bindings: remoteproc: qcom,wcnss-pil: Add qcom,wcn3660b compatible

    WCN3660B is a variant of WCN3660, but with the same regulator
    requirements as WCN3620/WCN3680. Add a new qcom,wcn3660b compatible
    to describe it from device trees.
    
    Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
    stephan-gh authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    809a82f View commit details
    Browse the repository at this point in the history
  43. remoteproc: qcom_wcnss_iris: Add qcom,wcn3660b compatible

    WCN3660B is a variant of WCN3660, but with the same regulator
    requirements as WCN3620/WCN3680. As far as qcom_wcnss_iris is
    concerned we can just use qcom,wcn3680 (wcn3680_data).
    
    However, a separate compatible is needed for WCN3660B because
    the wcn36xx driver uses it to enable chip-specific functionality.
    In particular, it enables 802.11ac for qcom,wcn3680 which is not
    supported by WCN3660B.
    
    Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
    stephan-gh authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    e660441 View commit details
    Browse the repository at this point in the history
  44. arm64: dts: qcom: msm8916-samsung-a5u: Fix iris compatible

    Unlike most MSM8916 boards, samsung-a5u uses WCN3660B instead of
    WCN3620 to support the 5 GHz band additionally.
    
    WCN3660B has similar requirements as WCN3620, but it needs the XO
    clock to run at 48 MHz instead of 19.2 MHz. So far it was possible
    to describe that configuration using the qcom,wcn3680 compatible.
    
    However, as of commit 8490987 ("wcn36xx: Hook and identify RF_IRIS_WCN3680")
    in linux-next, the wcn36xx driver will now use the qcom,wcn3680
    compatible to enable functionality specific to WCN3680. In particular,
    WCN3680 supports 802.11ac, which is not available in WCN3660B.
    
    Use the new qcom,wcn3660b compatible to describe the chip properly.
    
    Fixes: 0d70519 ("arm64: dts: msm8916-samsung-a5u: Override iris compatible")
    Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
    stephan-gh authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    f88ee4e View commit details
    Browse the repository at this point in the history
  45. FROMLIST: leds: Add driver for Qualcomm LPG (v3)

    The Light Pulse Generator (LPG) is a PWM-block found in a wide range of
    PMICs from Qualcomm. It can operate on fixed parameters or based on a
    lookup-table, altering the duty cycle over time - which provides the
    means for e.g. hardware assisted transitions of LED brightness.
    
    Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
    [z3ntu: leds-qcom-lpg: forward-port]
    [minecrell: remove lpg_pattern_get entirely for now]
    [minecrell: fix compilation on 5.4: make state const in lpg_pwm_apply]
    [minecrell: fix 32-bit compilation after u64 period/duty_cycle]
    andersson authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    c0e48a4 View commit details
    Browse the repository at this point in the history
  46. SUBMITME: nfc: s3fwrn5: Skip firmware update if firmware cannot be lo…

    …aded
    stephan-gh authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    1c63f3d View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    4b3438d View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    86a1d66 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    4bf90c2 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    efd0686 View commit details
    Browse the repository at this point in the history
  51. SUBMITME: ASoC: msm8916-wcd-analog: Add outputs to connect external s…

    …peaker PA
    stephan-gh authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    e195b8c View commit details
    Browse the repository at this point in the history
  52. soc: qcom: add msm8916 cpu operations

    Add qcom cpu operations for arm-v8 cpus. Implement secondary cpu boot ops
    As a part of this change update device tree documentation for:
    
    1. Arm cortex-a ACC device which provides percpu reg
    2. Armv8 cortex-a compatible string in arm/cpus.txt
    
    Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>
    Signed-off-by: Kumar Gala <galak@codeaurora.org>
    [minecrell: move back to drivers/soc/qcom to share between ARM32/64]
    Abhimanyu Kapur authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    67bd61b View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    10962eb View commit details
    Browse the repository at this point in the history
  54. cpuidle: qcom-spm: Use u32 for register offsets

    Newer SoC's allow a bigger memory range for the SPM. The offsets for the
    SPM sequences could therefore, be more than the capcacity of u8.
    
    Signed-off-by: Lina Iyer <lina.iyer@linaro.org>
    (cherry picked from commit 5bcdf59364dfa20d1113637309b6a1973ee31882)
    ilina-linaro authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    f1d74b0 View commit details
    Browse the repository at this point in the history
  55. cpuidle: qcom-spm: Add 8916 SPM register data

    Add SPM register information and initialization values for QCOM 8916
    SoC.
    
    Signed-off-by: Lina Iyer <lina.iyer@linaro.org>
    (cherry picked from commit 3487bc535e79f1f7cb30d5c6050c4623c3cda695)
    ilina-linaro authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    0ded10e View commit details
    Browse the repository at this point in the history
  56. cpuidle: qcom-spm: Enable compilation on ARM64

    stephan-gh authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    415026c View commit details
    Browse the repository at this point in the history
  57. ARM: dma-mapping: Add support for CONFIG_IOMMU_DMA

    The custom IOMMU DMA implementation in ARM does not really work
    properly. On the other hand, the generic IOMMU DMA can be easily
    enabled and it works just fine.
    stephan-gh authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    28ed6fd View commit details
    Browse the repository at this point in the history
  58. iommu/qcom: Select IOMMU_DMA instead of ARM_DMA_USE_IOMMU

    The ARM32 IOMMU DMA implementation does not really work properly
    with qcom_iommu. It fails to attach to any IOMMU because a domain
    is created by default in the driver.
    
    Now that there is IOMMU_DMA support for ARM32, select it instead
    of ARM_DMA_USE_IOMMU.
    stephan-gh authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    e9bb7bb View commit details
    Browse the repository at this point in the history
  59. ASoC: msm8916-wcd-analog: Add jack detection using GPIO

    Samsung decided to implement entirely custom jack detection using
    an extra IC for some reason. Because of that, the jack detection
    in PM8916 does not work as-is. (It always detects that headphones
    are plugged in...)
    
    However, the headset/button detection is still working fine through
    PM8916. To avoid implementing custom Samsung stuff, override the
    jack detection to use the provided GPIO, but keep everything else.
    stephan-gh authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    c16538a View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    8ada05c View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    0c04ba6 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    09855ec View commit details
    Browse the repository at this point in the history
  63. ASoC: qdsp6: Add driver for Q6 Core Voice Stream (q6cvs)

    This is just a stub for now. Later this would be used for features
    like call recording.
    stephan-gh authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    c065cee View commit details
    Browse the repository at this point in the history
  64. ASoC: qdsp6: Add voice call functionality in Q6 Voice driver

    q6voice combines the 3 q6voice-related services (q6mvm, q6cvp, q6cvs)
    and allows to start/end voice calls at the moment.
    stephan-gh authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    c455e8f View commit details
    Browse the repository at this point in the history
  65. ASoC: qdsp6: Add Q6 Voice DAI driver (v2)

    The Q6 Voice DAI driver exposes the Q6 Voice subsystem to ASoC.
    At the moment it provides a single CS-Voice DAI with a hostless FE.
    Eventually usage should be simplified using a codec2codec link.
    
    v2: Set AIFs SND_SOC_NOPM
    stephan-gh authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    1234b2d View commit details
    Browse the repository at this point in the history
  66. ASoC: qcom: Add machine driver for MSM8916 via QDSP6 (v3)

    v2: Use components instead of long name to mark as QDSP6
    v3: Fixup for upstream changes, set card->owner = THIS_MODULE;
    stephan-gh authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    0921ea9 View commit details
    Browse the repository at this point in the history
  67. soc: qcom: smsm: Implement support for get_irqchip_state

    This allows getting the current state reported by a remoteproc
    from the SMSM data.
    stephan-gh authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    479a340 View commit details
    Browse the repository at this point in the history
  68. dmaengine: qcom: bam_dma: Add remote power collapse mode

    In some configurations, we are required to configure the BAM,
    but the BAM clk is managed by a remote processor. It is only turned
    on after coordination with the remote processor, and while turned off
    accessing the registers results in a bus stall.
    
    Attempt to support this mode by only accessing BAM registers when
    a DMA channel is actually requested. Otherwise, keep the BAM in reset.
    stephan-gh authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    d6e8bfd View commit details
    Browse the repository at this point in the history
  69. ASoC: aw8738: Add AW8738 codec driver

    JonnyMe authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    56b38a6 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    9b9ddc0 View commit details
    Browse the repository at this point in the history
  71. remoteproc: pas: Add msm8953 support

    Sireesh Kodali authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    6689e92 View commit details
    Browse the repository at this point in the history
  72. remoteproc: mss: Add support for msm8953

    Sireesh Kodali authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    4697230 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    a894de8 View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    d809c38 View commit details
    Browse the repository at this point in the history
  75. clk: qcom: skip setting rate if not needed for pixel, byte2 ops

    Skip setting rate for clk_pixel_ops and clk_byte2+ops when clock is
    already enabled on same rate, so following warning won't be produced.
    
     byte0_clk_src: rcg didn't update its configuration.
     WARNING: CPU: 0 PID: 12 at drivers/clk/qcom/clk-rcg2.c:122 update_config+0xc4/0xd8
     Modules linked in:
     CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.6.0-rc3-postmarketos-qcom-msm8953-00022-ga0e3878d15f8-dirty #190
     Hardware name: Samsung A6-Plus LTE Rev.4 (DT)
     Workqueue: events deferred_probe_work_func
     pstate: 60000005 (nZCv daif -PAN -UAO)
     pc : update_config+0xc4/0xd8
     lr : update_config+0xc4/0xd8
     sp : ffff800011cbb0f0
     x29: ffff800011cbb0f0 x28: ffff0000acb6ccc0
     x27: ffff800010879b18 x26: ffff0000adc9e9a8
     x25: 0000000000000000 x24: 000000000773286c
     x23: ffff800010bfb848 x22: ffff800010a27178
     x21: ffff0000add09b00 x20: ffff800010bfb848
     x19: 0000000000000000 x18: 0000000000000020
     x17: 0000000000011940 x16: 0000000000000006
     x15: ffff0000add09f50 x14: ffffffffffffffff
     x13: 0000000000000000 x12: ffff800010c76000
     x11: ffff800010bad000 x10: ffff800010c764c8
     x9 : ffff80001010cb48 x8 : 6974617275676966
     x7 : 6e6f632073746920 x6 : ffff800010c76533
     x5 : 0000000000000000 x4 : 0000000000000000
     x3 : 00000000ffffffff x2 : ffff8000a0da4000
     x1 : 78c520ed39868900 x0 : 0000000000000000
     Call trace:
      update_config+0xc4/0xd8
      clk_rcg2_configure+0x28/0x38
      clk_byte2_set_rate+0xdc/0x110
      clk_change_rate+0x100/0x540
      clk_core_set_rate_nolock+0x1ac/0x200
      clk_set_rate+0x3c/0xa8
      dsi_link_clk_set_rate_6g+0x40/0xe8
      msm_dsi_host_power_on+0x130/0x6a0
      dsi_mgr_bridge_pre_enable+0x1f4/0x318
      drm_atomic_bridge_chain_pre_enable+0x80/0x98
      drm_atomic_helper_commit_modeset_enables+0x11c/0x250
      msm_atomic_commit_tail+0x178/0x838
      commit_tail+0xa4/0x188
      drm_atomic_helper_commit+0x148/0x178
      drm_atomic_commit+0x50/0x60
      drm_client_modeset_commit_atomic.isra.0+0x17c/0x230
      drm_client_modeset_commit_force+0x60/0x198
      drm_fb_helper_restore_fbdev_mode_unlocked+0x78/0xd8
      drm_fb_helper_set_par+0x34/0x68
      fbcon_init+0x3cc/0x590
      visual_init+0xb4/0x108
      do_bind_con_driver+0x1d4/0x3a8
      do_take_over_console+0x144/0x200
      do_fbcon_takeover+0x70/0xd8
      fbcon_fb_registered+0x100/0x110
      register_framebuffer+0x208/0x318
      __drm_fb_helper_initial_config_and_unlock+0x300/0x4a8
      drm_fb_helper_initial_config+0x4c/0x58
      msm_fbdev_init+0x90/0xf0
      msm_drm_bind+0x5d8/0x650
      try_to_bring_up_master+0x268/0x2f0
      __component_add+0xd0/0x198
      component_add+0x18/0x20
      dsi_dev_probe+0x20/0x28
      platform_drv_probe+0x58/0xa8
      really_probe+0x120/0x438
      driver_probe_device+0x9c/0x138
      __device_attach_driver+0xb0/0x120
      bus_for_each_drv+0x7c/0xc8
      __device_attach+0xe4/0x168
      device_initial_probe+0x18/0x20
      bus_probe_device+0x98/0xa0
      deferred_probe_work_func+0xa4/0xe0
      process_one_work+0x1c0/0x468
      worker_thread+0x50/0x428
      kthread+0x104/0x130
      ret_from_fork+0x10/0x18
     ---[ end trace 212da46ab98f1674 ]---
    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    becf8e3 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    1ee5f95 View commit details
    Browse the repository at this point in the history
  77. mfd: add support for sm5708 MFD

    This is a Power Management IC which includes USBLDO, RGB(SVC led), Dual Flash,
    Charger.
    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    7628b87 View commit details
    Browse the repository at this point in the history
  78. extcon: add support for sm5708

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    c1d3ae6 View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    dcdb4c8 View commit details
    Browse the repository at this point in the history
  80. power: supply: add support for sm5708 charger

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    a36eea8 View commit details
    Browse the repository at this point in the history
  81. input: touchscreen: s6sy761: add support for s6sy661

    It is almost compatible with s6sy761
    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    09eca9e View commit details
    Browse the repository at this point in the history
  82. leds: Add driver for ATC LEDs

    This driver supports the Advanced Trickle Charge (ATC) Leds found on
    some Qualcomm PMICs. These LEDs generally have three states: On,
    Blinking and Off.
    
    Documentation: devicetree: Document atc-led driver
    Sireesh Kodali authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    2ea946a View commit details
    Browse the repository at this point in the history
  83. power: supply: Add qcom-fg driver

    New driver for pmi8998 and pmi8950 fuel guages
    Sireesh Kodali authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    89008ff View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    6912383 View commit details
    Browse the repository at this point in the history
  85. ASoC: msm8916-wcd-analog: add cajon support

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    309428c View commit details
    Browse the repository at this point in the history
  86. ASoC: msm8916-wcd-analog: add lineout output

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    b543af1 View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    01c3c0d View commit details
    Browse the repository at this point in the history
  88. ASoC: codecs: add tfa9872 driver

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    e071b30 View commit details
    Browse the repository at this point in the history
  89. ASoC: qcom: qdsp6: enable extra voice paths

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    6db99df View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    f780cad View commit details
    Browse the repository at this point in the history
  91. soc: qcom: add CPR3 driver

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    4f14251 View commit details
    Browse the repository at this point in the history
  92. HACK: net: wireless: wcn36xx: disable A-MPDU

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    9d36040 View commit details
    Browse the repository at this point in the history
  93. cpufreq: qcom-nvmem: fix abort when writing to pvs_name

    Unable to handle kernel write to read-only memory at virtual address ffff8000111240e8
    Mem abort info:
      ESR = 0x9600004e
      EC = 0x25: DABT (current EL), IL = 32 bits
      SET = 0, FnV = 0
      EA = 0, S1PTW = 0
    Data abort info:
      ISV = 0, ISS = 0x0000004e
      CM = 0, WnR = 1
    swapper pgtable: 4k pages, 48-bit VAs, pgdp=000000004125b000
    [ffff8000111240e8] pgd=00000000fbfff003, p4d=00000000fbfff003, pud=00000000fbffe003, pmd=0060000041000791
    Internal error: Oops: 9600004e [#1] SMP
    Modules linked in: sm5708_fuelgauge(+) sg scsi_mod g_ether
    CPU: 0 PID: 251 Comm: kworker/0:3 Not tainted 5.8.0-rc7-ARCH_QCOM+ #1636
    Hardware name: Samsung A6-Plus LTE Rev.4 (DT)
    Workqueue: events deferred_probe_work_func
    pstate: 80000005 (Nzcv daif -PAN -UAO BTYPE=--)
    pc : __memcpy+0x94/0x180
    lr : vsnprintf+0x294/0x730
    sp : ffff800011f1b970
    x29: ffff800011f1b970 x28: ffff800011123fb8
    x27: ffff8000111240e8 x26: 0000000000000020
    x25: ffff800011123fbd x24: 0000000000000012
    x23: 00000000ffffffd8 x22: ffff800010d92f50
    x21: ffff800011f1baa0 x20: ffff8000111240e8
    x19: ffff8000111240fa x18: 0000000000000020
    x17: 0000000000000000 x16: 0000000000000000
    x15: 0000000000000004 x14: ffff000052154810
    x13: 0000000000000000 x12: 0000000000000020
    x11: 0000000000000030 x10: 0101010101010101
    x9 : ffff8000109bf950 x8 : ffff0000b13c4f80
    x7 : 0000000000000000 x6 : ffff8000111240e8
    x5 : 00000000ffffffd8 x4 : ffff0000b6cf3e80
    x3 : 0000000065657073 x2 : 0000000000000005
    x1 : ffff800011123fbc x0 : ffff8000111240e8
    Call trace:
     __memcpy+0x94/0x180
     snprintf+0x58/0x7c
     qcom_cpufreq_generic_name_version+0x88/0x104
     qcom_cpufreq_probe+0xd0/0x490
     platform_drv_probe+0x58/0xac
     really_probe+0xe4/0x490
     driver_probe_device+0xd8/0xf0
     __device_attach_driver+0x90/0x110
     bus_for_each_drv+0x7c/0xcc
     __device_attach+0x104/0x19c
     device_initial_probe+0x18/0x20
     bus_probe_device+0x98/0xa0
     deferred_probe_work_func+0xa0/0xf0
     process_one_work+0x1cc/0x464
     worker_thread+0x178/0x3f0
     kthread+0x114/0x120
     ret_from_fork+0x10/0x18
    Code: f8408423 f80084c3 36100062 b8404423 (b80044c3)
    ---[ end trace 8bb6277c7185430c ]---
    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    65c2274 View commit details
    Browse the repository at this point in the history
  94. backlight: qcom-wled: Use sink_addr for sync toggle

    WLED3_SINK_REG_SYNC is, according to the name, a sink register offset.
    Therefore, use the sink address as base.
    
    This fixes the sync toggle on wled4, which can be
    observed by the fact that adjusting brightness works.
    
    It has no effect on wled3 because sink and ctrl base addresses are the same.
    This allows adjusting the brightness without
    having to disable then enable the module.
    
    Signed-off-by: Obeida Shamoun <oshmoun100@googlemail.com>
    Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
    oshmoun authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    ce21c15 View commit details
    Browse the repository at this point in the history
  95. clk: qcom: add msm8953 clock debugger

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    36cffb3 View commit details
    Browse the repository at this point in the history
  96. arm64: dts: qcom: Add pmi8950.dtsi

    This patch adds the pmi8950
    
    arm64: dts: qcom: pmi8950: Enable fuelgauge and atc-leds
    
    arm64: dts: qcom: pmi8950 wled clean-up
    
    squash! arm64: dts: qcom: Add pmi8950.dtsi
    
    Add required register address for mpps and gpios nodes.
    
    Remove downstream-style subnodes.
    
    Fix irq for vadc.
    Sireesh Kodali authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    b50499f View commit details
    Browse the repository at this point in the history
  97. arm64: configs: add msm8953_defconfig

    arm64: configs: update msm8953_defconfig
    
    rename CONFIG_QCOM_CLK_APCS_MSM8953 to CONFIG_QCOM_CLK_APCC_MSM8953
    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    44e10ff View commit details
    Browse the repository at this point in the history
  98. FROMLIST: drm/msm/a5xx: Remove overwriting A5XX_PC_DBG_ECO_CNTL register

    The PC_DBG_ECO_CNTL register on the Adreno A5xx family gets
    programmed to some different values on a per-model basis.
    At least, this is what we intend to do here;
    
    Unfortunately, though, this register is being overwritten with a
    static magic number, right after applying the GPU-specific
    configuration (including the GPU-specific quirks) and that is
    effectively nullifying the efforts.
    
    Let's remove the redundant and wrong write to the PC_DBG_ECO_CNTL
    register in order to retain the wanted configuration for the
    target GPU.
    
    Signed-off-by: AngeloGioacchino Del Regno <kholk11@gmail.com>
    Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
    kholk authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    8dbb2d4 View commit details
    Browse the repository at this point in the history
  99. FROMLIST: drm/msm/a5xx: Separate A5XX_PC_DBG_ECO_CNTL write from main…

    … branch
    
    The "main" if branch where we program the other registers for the
    Adreno 5xx family of GPUs should not contain the PC_DBG_ECO_CNTL
    register programming because this has logical similarity
    differences from all the others.
    
    A later commit will show the entire sense of this.
    
    Signed-off-by: AngeloGioacchino Del Regno <kholk11@gmail.com>
    Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
    kholk authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    4704fc2 View commit details
    Browse the repository at this point in the history
  100. FROMLIST: drm/msm/a5xx: Add support for Adreno 508, 509, 512 GPUs

    The Adreno 508/509/512 GPUs are stripped versions of the Adreno
    5xx found in the mid-end SoCs such as SDM630, SDM636, SDM660 and
    SDA variants; these SoCs are usually provided with ZAP firmwares,
    but they have no available GPMU.
    
    Signed-off-by: AngeloGioacchino Del Regno <kholk11@gmail.com>
    Tested-by: Martin Botka <martin.botka1@gmail.com>
    Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
    kholk authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    75daaa3 View commit details
    Browse the repository at this point in the history
  101. FROMLIST: drm/msm/a5xx: Reset VBIF before PC only on A510 and A530

    Resetting the VBIF before power collapse is done to avoid getting
    bogus FIFO entries during the suspend sequence or subsequent resume,
    but this is doable only on Adreno 510 and Adreno 530, as the other
    units will tendentially lock up.
    Especially on Adreno 508, the GPU will show lockups and very bad
    slownesses after processing the first frame.
    
    Avoiding to execute the RBBM SW Reset before suspend will stop the
    lockup issue from happening on at least Adreno 508/509/512.
    
    Signed-off-by: AngeloGioacchino Del Regno <kholk11@gmail.com>
    Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
    kholk authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    a1fc85b View commit details
    Browse the repository at this point in the history
  102. FROMLIST: drm/msm/a5xx: Fix VPC protect value in gpu_write()

    The upstream API for some reason uses logbase2 instead of
    just passing the argument as-is, whereas downstream CAF
    kernel does the latter.
    
    Hence, a mistake has been made when porting:
    4 is the value that's supposed to be passed, but
    log2(4) = 2. Changing the value to 16 (= 2^4) fixes
    the issue.
    
    Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
    Signed-off-by: AngeloGioacchino Del Regno <kholk11@gmail.com>
    konradybcio authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    af1bc15 View commit details
    Browse the repository at this point in the history
  103. FROMLIST: drm/msm/a5xx: Disable flat shading optimization

    Port over the command from downstream to prevent undefined
    behaviour.
    
    Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
    Signed-off-by: AngeloGioacchino Del Regno <kholk11@gmail.com>
    konradybcio authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    21bd2ab View commit details
    Browse the repository at this point in the history
  104. FROMLIST: drm/msm/a5xx: Disable UCHE global filter

    Port over the command from downstream to prevent undefined
    behaviour.
    
    Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
    Signed-off-by: AngeloGioacchino Del Regno <kholk11@gmail.com>
    konradybcio authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    2ca40db View commit details
    Browse the repository at this point in the history
  105. drm: msm: add support for adreno 506 GPU

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    50a7aa0 View commit details
    Browse the repository at this point in the history
  106. HACK: clk: qcom: gcc-msm8953: make USB GDSC always on

    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    03ea6c7 View commit details
    Browse the repository at this point in the history
  107. arm64: dts: qcom: msm8953: add cci adapter

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    33fa2f4 View commit details
    Browse the repository at this point in the history
  108. arm64: dts: msm8953: add camss subsystem

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    e17e216 View commit details
    Browse the repository at this point in the history
  109. Configuration menu
    Copy the full SHA
    ba8ff81 View commit details
    Browse the repository at this point in the history
  110. Configuration menu
    Copy the full SHA
    7784a84 View commit details
    Browse the repository at this point in the history
  111. media: i2c: hi556: add dt support

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    eb2b92c View commit details
    Browse the repository at this point in the history
  112. Configuration menu
    Copy the full SHA
    011e7e2 View commit details
    Browse the repository at this point in the history
  113. arm64: dts: qcom: enable cpu frequency scaling for msm8953

    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    d9f7987 View commit details
    Browse the repository at this point in the history
  114. arm64: dts: qcom: enable cpu frequency scaling for sdm632

    Vladimir Lypak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    e2d954a View commit details
    Browse the repository at this point in the history
  115. arm64: dts: qcom: msm8953: add GPU

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    9894585 View commit details
    Browse the repository at this point in the history
  116. arm64: dts: qcom: msm8953: add modem remoteproc

    Signed-off-by: Sireesh Kodali <scarface@disroot.org>
    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    1a57dba View commit details
    Browse the repository at this point in the history
  117. arm64: dts: qcom: msm8953: add lpass remoteproc

    Signed-off-by: Sireesh Kodali <scarface@disroot.org>
    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    91122f1 View commit details
    Browse the repository at this point in the history
  118. arm64: dts: qcom: msm8953: add wcnss remoteproc

    Signed-off-by: Sireesh Kodali <scarface@disroot.org>
    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    280e9fc View commit details
    Browse the repository at this point in the history
  119. arm64: dts: qcom: msm8953: add sound card

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    808b739 View commit details
    Browse the repository at this point in the history
  120. Configuration menu
    Copy the full SHA
    be6e9f7 View commit details
    Browse the repository at this point in the history
  121. Configuration menu
    Copy the full SHA
    87f8b34 View commit details
    Browse the repository at this point in the history
  122. Configuration menu
    Copy the full SHA
    21c5867 View commit details
    Browse the repository at this point in the history
  123. Configuration menu
    Copy the full SHA
    05da683 View commit details
    Browse the repository at this point in the history
  124. arm64: dts: qcom: add device-tree for motorola-potter

    Signed-off-by: Sireesh Kodali <scarface@disroot.org>
    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    
    ---
    scarface@disroot.org: fix enabled-strings property for backlight
    
    string 3 is unused
    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    b167a1d View commit details
    Browse the repository at this point in the history
  125. arm64: dts: qcom: add device-tree for xiaomi-mido

    Kiciuk authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    3e7484e View commit details
    Browse the repository at this point in the history
  126. arm64: dts: qcom: add device-tree for motorola-ocean

    Ultracoolguy authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    9b27316 View commit details
    Browse the repository at this point in the history
  127. input: touchscreen: s6sy761: add BTN_TOUCH reporting

    required for android
    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    00ca521 View commit details
    Browse the repository at this point in the history
  128. HACK: gpu: msm: adreno506: ignore WHERE_AM_I

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    d0f0dc6 View commit details
    Browse the repository at this point in the history
  129. gpu: drm: msm: improve devfreq status reporting

    Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    3530199 View commit details
    Browse the repository at this point in the history
  130. Configuration menu
    Copy the full SHA
    7d9af63 View commit details
    Browse the repository at this point in the history
  131. drm: panel: add driver for Samsung S6E3FA7

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    318d6b8 View commit details
    Browse the repository at this point in the history
  132. drm: panel: Add boe bs052fhm-a00-6c01 panel driver

    Sireesh Kodali authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    e23fb39 View commit details
    Browse the repository at this point in the history
  133. drm: panel: Add Tianma TL052CDXP02 panel support

    Sireesh Kodali authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    e4066fc View commit details
    Browse the repository at this point in the history
  134. Configuration menu
    Copy the full SHA
    12621b9 View commit details
    Browse the repository at this point in the history
  135. drm: panel: generate tianma-622-v0 driver

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    37dc915 View commit details
    Browse the repository at this point in the history
  136. Configuration menu
    Copy the full SHA
    e44549c View commit details
    Browse the repository at this point in the history
  137. drm: msm: dsi: use single function for reset

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    dacb593 View commit details
    Browse the repository at this point in the history
  138. Configuration menu
    Copy the full SHA
    d8a4497 View commit details
    Browse the repository at this point in the history
  139. Configuration menu
    Copy the full SHA
    89fe05f View commit details
    Browse the repository at this point in the history
  140. Configuration menu
    Copy the full SHA
    6858821 View commit details
    Browse the repository at this point in the history
  141. Configuration menu
    Copy the full SHA
    07d14eb View commit details
    Browse the repository at this point in the history
  142. Configuration menu
    Copy the full SHA
    e7222dd View commit details
    Browse the repository at this point in the history
  143. Configuration menu
    Copy the full SHA
    862b831 View commit details
    Browse the repository at this point in the history
  144. cpuidle: add hacky qcom idle entry function

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    bdb9bf9 View commit details
    Browse the repository at this point in the history
  145. arm64: dts: qcom: msm8953: add cpu idle states

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    ac052ad View commit details
    Browse the repository at this point in the history
  146. Configuration menu
    Copy the full SHA
    545f0d0 View commit details
    Browse the repository at this point in the history
  147. drm: panel: Add Himax HX8399 panel driver

    alikates authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    3605c44 View commit details
    Browse the repository at this point in the history
  148. arm64: configs: msm8953: Enable Himax HX8399 panel driver

    alikates authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    c352f5d View commit details
    Browse the repository at this point in the history
  149. arm64: dts: qcom: Add device-tree for xiaomi-daisy

    alikates authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    42d6c95 View commit details
    Browse the repository at this point in the history
  150. arm63: configs: msm8953: enable RMNET

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    1a82d67 View commit details
    Browse the repository at this point in the history
  151. drivers: media: venus: Add support for msm8953

    Sireesh Kodali authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    be835ba View commit details
    Browse the repository at this point in the history
  152. media: qcom: venus: add msm8953 hacks

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    b5eeb46 View commit details
    Browse the repository at this point in the history
  153. Configuration menu
    Copy the full SHA
    a39e973 View commit details
    Browse the repository at this point in the history
  154. media: qcom: venus: improve fw debugging

    Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    d19f0ee View commit details
    Browse the repository at this point in the history
  155. arm64: dts: qcom: msm8953: Enable hardware video encoder/decoder

    Sireesh Kodali authored and Junak committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    b0f09af View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2021

  1. squash! power: supply: add support for sm5708 charger

    switch to devm_extcon_register_notifier_all
    Junak committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    032615e View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2021

  1. Configuration menu
    Copy the full SHA
    609be18 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2021

  1. Merge pull request #8 from Ultracoolguy/master

    arm64: boot: dts: qcom: sdm632-motorola-ocean: Add backlight
    Junak authored Feb 3, 2021
    Configuration menu
    Copy the full SHA
    e3e92c5 View commit details
    Browse the repository at this point in the history