Skip to content
  1. Sep 22, 2022
  2. Sep 19, 2022
    • Linus Torvalds's avatar
      Linux 6.0-rc6 · 521a547c
      Linus Torvalds authored
      521a547c
    • Linus Torvalds's avatar
      Merge tag 'parisc-for-6.0-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · 7c18b453
      Linus Torvalds authored
      Pull parisc architecture fixes from Helge Deller:
       "Some small parisc architecture fixes for 6.0-rc6:
      
        One patch lightens up a previous commit and thus unbreaks building the
        debian kernel, which tries to configure a 64-bit kernel with the
        ARCH=parisc environment variable set.
      
        The other patches fixes asm/errno.h includes in the tools directory
        and cleans up memory allocation in the iosapic driver.
      
        Summary:
      
         - Allow configuring 64-bit kernel with ARCH=parisc
      
         - Fix asm/errno.h includes in tools directory for parisc and xtensa
      
         - Clean up iosapic memory allocation
      
         - Minor typo and spelling fixes"
      
      * tag 'parisc-for-6.0-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: Allow CONFIG_64BIT with ARCH=parisc
        parisc: remove obsolete manual allocation aligning in iosapic
        tools/include/uapi: Fix <asm/errno.h> for parisc and xtensa
        Input: hp_sdc: fix spelling typo in comment
        parisc: ccio-dma: Add missing iounmap in error path in ccio_probe()
      7c18b453
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.0-2022-09-18' of git://git.kernel.dk/linux · 38eddeed
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "Nothing really major here, but figured it'd be nicer to just get these
        flushed out for -rc6 so that the 6.1 branch will have them as well.
        That'll make our lives easier going forward in terms of development,
        and avoid trivial conflicts in this area.
      
         - Simple trace rename so that the returned opcode name is consistent
           with the enum definition (Stefan)
      
         - Send zc rsrc request vs notification lifetime fix (Pavel)"
      
      * tag 'io_uring-6.0-2022-09-18' of git://git.kernel.dk/linux:
        io_uring/opdef: rename SENDZC_NOTIF to SEND_ZC
        io_uring/net: fix zc fixed buf lifetime
      38eddeed
  3. Sep 18, 2022
  4. Sep 17, 2022
    • Linus Torvalds's avatar
      Merge tag 'gpio-fixes-for-v6.0-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · a335366b
      Linus Torvalds authored
      Pull gpio fixes from Bartosz Golaszewski:
      
       - fix the level-low interrupt type support in gpio-mpc8xxx
      
       - convert another two drivers to using immutable irq chips
      
       - MAINTAINERS update
      
      * tag 'gpio-fixes-for-v6.0-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        gpio: mt7621: Make the irqchip immutable
        gpio: ixp4xx: Make irqchip immutable
        MAINTAINERS: Update HiSilicon GPIO Driver maintainer
        gpio: mpc8xxx: Fix support for IRQ_TYPE_LEVEL_LOW flow_type in mpc85xx
      a335366b
  5. Sep 16, 2022
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v6.0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · 6879c2d3
      Linus Torvalds authored
      Pull pin control fixes from Linus Walleij:
       "Nothing special, just driver fixes:
      
         - Fix IRQ wakeup and pins for UFS and SDC2 issues on the Qualcomm
           SC8180x
      
         - Fix the Rockchip driver to support interrupt on both rising and
           falling edges.
      
         - Name the Allwinner A100 R_PIO properly
      
         - Fix several issues with the Ocelot interrupts"
      
      * tag 'pinctrl-v6.0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
        pinctrl: ocelot: Fix interrupt controller
        pinctrl: sunxi: Fix name for A100 R_PIO
        pinctrl: rockchip: Enhance support for IRQ_TYPE_EDGE_BOTH
        pinctrl: qcom: sc8180x: Fix wrong pin numbers
        pinctrl: qcom: sc8180x: Fix gpio_wakeirq_map
      6879c2d3
    • Linus Torvalds's avatar
      Merge tag 'block-6.0-2022-09-16' of git://git.kernel.dk/linux-block · 68e777e4
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "Two fixes for -rc6:
      
         - Fix a mixup of sectors and bytes in the secure erase ioctl
           (Mikulas)
      
         - Fix for a bad return value for a non-blocking bio/blk queue enter
           call (me)"
      
      * tag 'block-6.0-2022-09-16' of git://git.kernel.dk/linux-block:
        blk-lib: fix blkdev_issue_secure_erase
        block: blk_queue_enter() / __bio_queue_enter() must return -EAGAIN for nowait
      68e777e4
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.0-2022-09-16' of git://git.kernel.dk/linux-block · 0158137d
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "Two small patches:
      
         - Fix using an unsigned type for the return value, introduced in this
           release (Pavel)
      
         - Stable fix for a missing check for a fixed file on put (me)"
      
      * tag 'io_uring-6.0-2022-09-16' of git://git.kernel.dk/linux-block:
        io_uring/msg_ring: check file type before putting
        io_uring/rw: fix error'ed retry return values
      0158137d
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2022-09-16' of git://anongit.freedesktop.org/drm/drm · 5763d7f2
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "This is the regular drm fixes pull.
      
        The i915 and misc fixes are fairly regular, but the amdgpu contains
        fixes for new hw blocks, the dcn314 specific path hookups and also has
        a bunch of fixes for clang stack size warnings which are a bit churny
        but fairly straightforward. This means it looks a little larger than
        usual.
      
        amdgpu:
         - BACO fixes for some RDNA2 boards
         - PCI AER fixes uncovered by a core PCI change
         - Properly hook up dirtyfb helper
         - RAS fixes for GC 11.x
         - TMR fix
         - DCN 3.2.x fixes
         - DCN 3.1.4 fixes
         - LLVM DML stack size fixes
      
        i915:
         - Revert a display patch around max DP source rate now that the
           proper WaEdpLinkRateDataReload is in place
         - Fix perf limit reasons bit position
         - Fix unclaimmed mmio registers on suspend flow with GuC
         - A vma_move_to_active fix for a regression with video decoding
         - DP DSP fix
      
        gma500:
         - Locking and IRQ fixes
      
        meson:
         - OSD1 display fixes
      
        panel-edp:
         - Fix Innolux timings
      
        rockchip:
         - DP/HDMI fixes"
      
      * tag 'drm-fixes-2022-09-16' of git://anongit.freedesktop.org/drm/drm: (42 commits)
        drm/amdgpu: make sure to init common IP before gmc
        drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega
        drm/amdgpu: move nbio ih_doorbell_range() into ih code for vega
        drm/rockchip: Fix return type of cdn_dp_connector_mode_valid
        drm/amd/display: Mark dml30's UseMinimumDCFCLK() as noinline for stack usage
        drm/amd/display: Reduce number of arguments of dml31's CalculateFlipSchedule()
        drm/amd/display: Reduce number of arguments of dml31's CalculateWatermarksAndDRAMSpeedChangeSupport()
        drm/amd/display: Reduce number of arguments of dml32_CalculatePrefetchSchedule()
        drm/amd/display: Reduce number of arguments of dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
        drm/amd/display: Refactor SubVP calculation to remove FPU
        drm/amd/display: Limit user regamma to a valid value
        drm/amd/display: add workaround for subvp cursor corruption for DCN32/321
        drm/amd/display: SW cursor fallback for SubVP
        drm/amd/display: Round cursor width up for MALL allocation
        drm/amd/display: Correct dram channel width for dcn314
        drm/amd/display: Relax swizzle checks for video non-RGB formats on DCN314
        drm/amd/display: Hook up DCN314 specific dml implementation
        drm/amd/display: Enable dlg and vba compilation for dcn314
        drm/amd/display: Fix compilation errors on DCN314
        drm/amd/display: Fix divide by zero in DML
        ...
      5763d7f2
    • Linus Torvalds's avatar
      Merge tag '6.0-rc5-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6 · 714820c6
      Linus Torvalds authored
      Pull cifs fixes from Steve French:
       "Four smb3 fixes for stable:
      
         - important fix to revalidate mapping when doing direct writes
      
         - missing spinlock
      
         - two fixes to socket handling
      
         - trivial change to update internal version number for cifs.ko"
      
      * tag '6.0-rc5-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: update internal module number
        cifs: add missing spinlock around tcon refcount
        cifs: always initialize struct msghdr smb_msg completely
        cifs: don't send down the destination address to sendmsg for a SOCK_STREAM
        cifs: revalidate mapping when doing direct writes
      714820c6
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2022-09-15' of... · 25100377
      Dave Airlie authored
      
      Merge tag 'drm-intel-fixes-2022-09-15' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      - Revert a display patch around max DP source rate now
        that the proper WaEdpLinkRateDataReload is in place. (Ville)
      - Fix perf limit reasons bit position. (Ashutosh)
      - Fix unclaimmed mmio registers on suspend flow with GuC. (Umesh)
      - A vma_move_to_active fix for a regression with video decoding. (Nirmoy)
      - DP DSP fix. (Ankit)
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/YyMtmGMXRLsURoM5@intel.com
      25100377
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2022-09-15' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · 87d9862b
      Dave Airlie authored
      
      
      Short summary of fixes pull:
      
       * gma500: Locking and IRQ fixes
       * meson: OSD1 display fixes
       * panel-edp: Fix Innolux timings
       * rockchip: DP/HDMI fixes
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Thomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/YyMUpP1w21CPXq+I@linux-uq9g
      87d9862b
    • Dave Airlie's avatar
      Merge tag 'amd-drm-fixes-6.0-2022-09-14' of... · e2111ae2
      Dave Airlie authored
      
      Merge tag 'amd-drm-fixes-6.0-2022-09-14' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
      
      amd-drm-fixes-6.0-2022-09-14:
      
      amdgpu:
      - BACO fixes for some RDNA2 boards
      - PCI AER fixes uncovered by a core PCI change
      - Properly hook up dirtyfb helper
      - RAS fixes for GC 11.x
      - TMR fix
      - DCN 3.2.x fixes
      - DCN 3.1.4 fixes
      - LLVM DML stack size fixes
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220914184030.6145-1-alexander.deucher@amd.com
      e2111ae2
    • Jens Axboe's avatar
      io_uring/msg_ring: check file type before putting · fc7222c3
      Jens Axboe authored
      If we're invoked with a fixed file, follow the normal rules of not
      calling io_fput_file(). Fixed files are permanently registered to the
      ring, and do not need putting separately.
      
      Cc: stable@vger.kernel.org
      Fixes: aa184e86
      
       ("io_uring: don't attempt to IOPOLL for MSG_RING requests")
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      fc7222c3
  6. Sep 15, 2022
    • Mikulas Patocka's avatar
      blk-lib: fix blkdev_issue_secure_erase · c4fa3684
      Mikulas Patocka authored
      
      
      There's a bug in blkdev_issue_secure_erase. The statement
      "unsigned int len = min_t(sector_t, nr_sects, max_sectors);"
      sets the variable "len" to the length in sectors, but the statement
      "bio->bi_iter.bi_size = len" treats it as if it were in bytes.
      The statements "sector += len << SECTOR_SHIFT" and "nr_sects -= len <<
      SECTOR_SHIFT" are thinko.
      
      This patch fixes it.
      
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Cc: stable@vger.kernel.org	# v5.19
      Fixes: 44abff2c
      
       ("block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARD")
      Link: https://lore.kernel.org/r/alpine.LRH.2.02.2209141549480.28100@file01.intranet.prod.int.rdu2.redhat.com
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      c4fa3684
    • Helge Deller's avatar
      parisc: Allow CONFIG_64BIT with ARCH=parisc · 805ce861
      Helge Deller authored
      The previous patch triggered a build failure for the debian kernel,
      which has CONFIG_64BIT enabled, uses the CROSS_COMPILER environment
      variable and uses ARCH=parisc to configure the kernel for 64-bit
      support.
      
      This patch weakens the previous patch while keeping the recommended way
      to configure the kernel with:
          ARCH=parisc     -> build 32-bit kernel
          ARCH=parisc64   -> build 64-bit kernel
      while adding the possibility for debian to configure a 64-bit kernel
      even if ARCH=parisc is set (PA8X00 CPU has to be selected and
      CONFIG_64BIT needs to be enabled).
      
      The downside of this patch is, that we now have a small window open
      again where people may get it wrong: if they enable CONFIG_64BIT and try
      to compile with a 32-bit compiler.
      
      Fixes: 3dcfb729
      
       ("parisc: Make CONFIG_64BIT available for ARCH=parisc64 only")
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      Cc: <stable@vger.kernel.org> # 5.15+
      805ce861
    • Rolf Eike Beer's avatar
      parisc: remove obsolete manual allocation aligning in iosapic · e359b70c
      Rolf Eike Beer authored
      
      
      kmalloc() returns memory with __assume_kmalloc_alignment, which is
      __alignof__(unsigned long long) for parisc.
      
      Signed-off-by: default avatarRolf Eike Beer <eike-kernel@sf-tec.de>
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      e359b70c
    • Alex Deucher's avatar
      drm/amdgpu: make sure to init common IP before gmc · a8671493
      Alex Deucher authored
      Move common IP init before GMC init so that HDP gets
      remapped before GMC init which uses it.
      
      This fixes the Unsupported Request error reported through
      AER during driver load. The error happens as a write happens
      to the remap offset before real remapping is done.
      
      Link: https://bugzilla.kernel.org/show_bug.cgi?id=216373
      
      The error was unnoticed before and got visible because of the commit
      referenced below. This doesn't fix anything in the commit below, rather
      fixes the issue in amdgpu exposed by the commit. The reference is only
      to associate this commit with below one so that both go together.
      
      Fixes: 8795e182
      
       ("PCI/portdrv: Don't disable AER reporting in get_port_device_capability()")
      
      Acked-by: default avatarChristian König <christian.koenig@amd.com>
      Reviewed-by: default avatarLijo Lazar <lijo.lazar@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Cc: stable@vger.kernel.org
      a8671493
    • Alex Deucher's avatar
      drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega · e3163bc8
      Alex Deucher authored
      This mirrors what we do for other asics and this way we are
      sure the sdma doorbell range is properly initialized.
      
      There is a comment about the way doorbells on gfx9 work that
      requires that they are initialized for other IPs before GFX
      is initialized.  However, the statement says that it applies to
      multimedia as well, but the VCN code currently initializes
      doorbells after GFX and there are no known issues there.  In my
      testing at least I don't see any problems on SDMA.
      
      This is a prerequisite for fixing the Unsupported Request error
      reported through AER during driver load.
      
      Link: https://bugzilla.kernel.org/show_bug.cgi?id=216373
      
      The error was unnoticed before and got visible because of the commit
      referenced below. This doesn't fix anything in the commit below, rather
      fixes the issue in amdgpu exposed by the commit. The reference is only
      to associate this commit with below one so that both go together.
      
      Fixes: 8795e182
      
       ("PCI/portdrv: Don't disable AER reporting in get_port_device_capability()")
      
      Acked-by: default avatarChristian König <christian.koenig@amd.com>
      Reviewed-by: default avatarLijo Lazar <lijo.lazar@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Cc: stable@vger.kernel.org
      e3163bc8
    • Alex Deucher's avatar
      drm/amdgpu: move nbio ih_doorbell_range() into ih code for vega · dc1d85cb
      Alex Deucher authored
      This mirrors what we do for other asics and this way we are
      sure the ih doorbell range is properly initialized.
      
      There is a comment about the way doorbells on gfx9 work that
      requires that they are initialized for other IPs before GFX
      is initialized.  In this case IH is initialized before GFX,
      so there should be no issue.
      
      This is a prerequisite for fixing the Unsupported Request error
      reported through AER during driver load.
      
      Link: https://bugzilla.kernel.org/show_bug.cgi?id=216373
      
      The error was unnoticed before and got visible because of the commit
      referenced below. This doesn't fix anything in the commit below, rather
      fixes the issue in amdgpu exposed by the commit. The reference is only
      to associate this commit with below one so that both go together.
      
      Fixes: 8795e182
      
       ("PCI/portdrv: Don't disable AER reporting in get_port_device_capability()")
      
      Acked-by: default avatarChristian König <christian.koenig@amd.com>
      Reviewed-by: default avatarLijo Lazar <lijo.lazar@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Cc: stable@vger.kernel.org
      dc1d85cb
  7. Sep 14, 2022