From: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
This is the start of the stable review cycle for the 4.14.225 release.
There are 20 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Fri, 12 Mar 2021 13:23:09 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.14.225-r…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.14.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.14.225-rc1
AngeloGioacchino Del Regno <angelogioacchino.delregno(a)somainline.org>
drm/msm/a5xx: Remove overwriting A5XX_PC_DBG_ECO_CNTL register
Aswath Govindraju <a-govindraju(a)ti.com>
misc: eeprom_93xx46: Add quirk to support Microchip 93LC46B eeprom
Bjorn Helgaas <bhelgaas(a)google.com>
PCI: Add function 1 DMA alias quirk for Marvell 9215 SATA controller
Hans de Goede <hdegoede(a)redhat.com>
platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016
Hans de Goede <hdegoede(a)redhat.com>
platform/x86: acer-wmi: Add support for SW_TABLET_MODE on Switch devices
Hans de Goede <hdegoede(a)redhat.com>
platform/x86: acer-wmi: Add ACER_CAP_SET_FUNCTION_MODE capability flag
Hans de Goede <hdegoede(a)redhat.com>
platform/x86: acer-wmi: Add new force_caps module parameter
Hans de Goede <hdegoede(a)redhat.com>
platform/x86: acer-wmi: Cleanup accelerometer device handling
Hans de Goede <hdegoede(a)redhat.com>
platform/x86: acer-wmi: Cleanup ACER_CAP_FOO defines
Tsuchiya Yuto <kitakar(a)gmail.com>
mwifiex: pcie: skip cancel_work_sync() on reset failure path
Andrey Ryabinin <arbn(a)yandex-team.com>
iommu/amd: Fix sleeping in atomic in increase_address_space()
Jeffle Xu <jefflexu(a)linux.alibaba.com>
dm table: fix zoned iterate_devices based device capability checks
Jeffle Xu <jefflexu(a)linux.alibaba.com>
dm table: fix DAX iterate_devices based device capability checks
Jeffle Xu <jefflexu(a)linux.alibaba.com>
dm table: fix iterate_devices based device capability checks
Dan Carpenter <dan.carpenter(a)oracle.com>
rsxx: Return -EFAULT if copy_to_user() fails
Colin Ian King <colin.king(a)canonical.com>
ALSA: ctxfi: cthw20k2: fix mask on conf to allow 4 bits
Antonio Borneo <borneo.antonio(a)gmail.com>
usbip: tools: fix build error for multiple definition
Rafael J. Wysocki <rafael.j.wysocki(a)intel.com>
PM: runtime: Update device status before letting suppliers suspend
Ira Weiny <ira.weiny(a)intel.com>
btrfs: fix raid6 qstripe kmap
David Sterba <dsterba(a)suse.com>
btrfs: raid56: simplify tracking of Q stripe presence
-------------
Diffstat:
Makefile | 4 +-
drivers/base/power/runtime.c | 62 ++++++----
drivers/block/rsxx/core.c | 8 +-
drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 2 -
drivers/iommu/amd_iommu.c | 10 +-
drivers/md/dm-table.c | 168 ++++++++++++---------------
drivers/misc/eeprom/eeprom_93xx46.c | 15 +++
drivers/net/wireless/marvell/mwifiex/pcie.c | 18 ++-
drivers/net/wireless/marvell/mwifiex/pcie.h | 2 +
drivers/pci/quirks.c | 3 +
drivers/platform/x86/acer-wmi.c | 169 +++++++++++++++++++++++-----
fs/btrfs/raid56.c | 58 ++++------
include/linux/eeprom_93xx46.h | 2 +
sound/pci/ctxfi/cthw20k2.c | 2 +-
tools/usb/usbip/libsrc/usbip_host_common.c | 2 +-
15 files changed, 326 insertions(+), 199 deletions(-)
From: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
This is the start of the stable review cycle for the 5.10.23 release.
There are 49 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Fri, 12 Mar 2021 13:23:09 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.10.23-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 5.10.23-rc1
Pascal Terjan <pterjan(a)google.com>
nvme-pci: add quirks for Lexar 256GB SSD
Julian Einwag <jeinwag-nvme(a)marcapo.com>
nvme-pci: mark Seagate Nytro XM1440 as QUIRK_NO_NS_DESC_LIST.
Babu Moger <babu.moger(a)amd.com>
KVM: SVM: Clear the CR4 register on reset
Avri Altman <avri.altman(a)wdc.com>
scsi: ufs: Fix a duplicate dev quirk number
Pierre-Louis Bossart <pierre-louis.bossart(a)linux.intel.com>
ASoC: Intel: sof_sdw: add quirk for HP Spectre x360 convertible
Pierre-Louis Bossart <pierre-louis.bossart(a)linux.intel.com>
ASoC: Intel: sof_sdw: reorganize quirks by generation
Nadeem Athani <nadeem(a)cadence.com>
PCI: cadence: Retrain Link to work around Gen2 training defect
Fabian Lesniak <fabian(a)lesniak-it.de>
ALSA: usb-audio: add mixer quirks for Pioneer DJM-900NXS2
Olivia Mackintosh <livvy(a)base.nu>
ALSA: usb-audio: Add DJM750 to Pioneer mixer quirk
Hans de Goede <hdegoede(a)redhat.com>
HID: i2c-hid: Add I2C_HID_QUIRK_NO_IRQ_AFTER_RESET for ITE8568 EC on Voyo Winpad A15
Jisheng Zhang <Jisheng.Zhang(a)synaptics.com>
mmc: sdhci-of-dwcmshc: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN
AngeloGioacchino Del Regno <angelogioacchino.delregno(a)somainline.org>
drm/msm/a5xx: Remove overwriting A5XX_PC_DBG_ECO_CNTL register
Kiwoong Kim <kwmad.kim(a)samsung.com>
scsi: ufs: ufs-exynos: Use UFSHCD_QUIRK_ALIGN_SG_WITH_PAGE_SIZE
Kiwoong Kim <kwmad.kim(a)samsung.com>
scsi: ufs: ufs-exynos: Apply vendor-specific values for three timeouts
Kiwoong Kim <kwmad.kim(a)samsung.com>
scsi: ufs: Introduce a quirk to allow only page-aligned sg entries
Aswath Govindraju <a-govindraju(a)ti.com>
misc: eeprom_93xx46: Add quirk to support Microchip 93LC46B eeprom
Kiwoong Kim <kwmad.kim(a)samsung.com>
scsi: ufs: Add a quirk to permit overriding UniPro defaults
Stanley Chu <stanley.chu(a)mediatek.com>
scsi: ufs-mediatek: Enable UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL
Pierre-Louis Bossart <pierre-louis.bossart(a)linux.intel.com>
ASoC: Intel: sof_sdw: add missing TGL_HDMI quirk for Dell SKU 0A32
Vitaly Kuznetsov <vkuznets(a)redhat.com>
KVM: x86: Supplement __cr4_reserved_bits() with X86_FEATURE_PCID check
Bjorn Helgaas <bhelgaas(a)google.com>
PCI: Add function 1 DMA alias quirk for Marvell 9215 SATA controller
Roger Quadros <rogerq(a)ti.com>
usb: cdns3: fix NULL pointer dereference on no platform data
Peter Chen <peter.chen(a)nxp.com>
usb: cdns3: add quirk for enable runtime pm by default
Peter Chen <peter.chen(a)nxp.com>
usb: cdns3: host: add xhci_plat_priv quirk XHCI_SKIP_PHY_INIT
Peter Chen <peter.chen(a)nxp.com>
usb: cdns3: host: add .suspend_quirk for xhci-plat.c
Chris Chiu <chiu(a)endlessos.org>
ASoC: Intel: bytcr_rt5640: Add quirk for ARCHOS Cesium 140
Jasper St. Pierre <jstpierre(a)mecheye.net>
ACPI: video: Add DMI quirk for GIGABYTE GB-BXBT-2807
Daniel Lee Kruse <daniel.lee.kruse(a)protonmail.com>
media: cx23885: add more quirks for reset DMA on some AMD IOMMU
Ethan Warth <redyoshi49q(a)gmail.com>
HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter
Hans de Goede <hdegoede(a)redhat.com>
platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016
Hans de Goede <hdegoede(a)redhat.com>
platform/x86: acer-wmi: Add support for SW_TABLET_MODE on Switch devices
Hans de Goede <hdegoede(a)redhat.com>
platform/x86: acer-wmi: Add ACER_CAP_SET_FUNCTION_MODE capability flag
Hans de Goede <hdegoede(a)redhat.com>
platform/x86: acer-wmi: Add new force_caps module parameter
Hans de Goede <hdegoede(a)redhat.com>
platform/x86: acer-wmi: Cleanup accelerometer device handling
Hans de Goede <hdegoede(a)redhat.com>
platform/x86: acer-wmi: Cleanup ACER_CAP_FOO defines
Alex Elder <elder(a)linaro.org>
net: ipa: ignore CHANNEL_NOT_RUNNING errors
Tony Lindgren <tony(a)atomide.com>
bus: ti-sysc: Implement GPMC debug quirk to drop platform data
Pierre-Louis Bossart <pierre-louis.bossart(a)linux.intel.com>
ASoC: Intel: sof_sdw: add quirk for new TigerLake-SDCA device
Tsuchiya Yuto <kitakar(a)gmail.com>
mwifiex: pcie: skip cancel_work_sync() on reset failure path
Abhishek Pandit-Subedi <abhishekpandit(a)chromium.org>
Bluetooth: btqca: Add valid le states quirk
Brent Lu <brent.lu(a)intel.com>
ASoC: intel: sof_rt5682: Add quirk for Dooly
Andrey Ryabinin <arbn(a)yandex-team.com>
iommu/amd: Fix sleeping in atomic in increase_address_space()
Nikolay Borisov <nborisov(a)suse.com>
btrfs: don't flush from btrfs_delayed_inode_reserve_metadata
Nikolay Borisov <nborisov(a)suse.com>
btrfs: export and rename qgroup_reserve_meta
Nathan Chancellor <nathan(a)kernel.org>
arm64: Make CPU_BIG_ENDIAN depend on ld.bfd or ld.lld 13.0.0+
Helge Deller <deller(a)gmx.de>
parisc: Enable -mlong-calls gcc option with CONFIG_COMPILE_TEST
Zoltán Böszörményi <zboszor(a)gmail.com>
nvme-pci: mark Kingston SKC2000 as not supporting the deepest power state
Pierre-Louis Bossart <pierre-louis.bossart(a)linux.intel.com>
ASoC: SOF: Intel: broadwell: fix mutual exclusion with catpt driver
Hans de Goede <hdegoede(a)redhat.com>
ACPICA: Fix race in generic_serial_bus (I2C) and GPIO op_region parameter handling
-------------
Diffstat:
Makefile | 4 +-
arch/arm64/Kconfig | 5 +-
arch/parisc/Kconfig | 7 +-
arch/x86/kvm/svm/svm.c | 1 +
arch/x86/kvm/x86.h | 2 +
drivers/acpi/acpica/acobject.h | 1 +
drivers/acpi/acpica/evhandler.c | 7 +
drivers/acpi/acpica/evregion.c | 64 +++-
drivers/acpi/acpica/evxfregn.c | 2 +
drivers/acpi/video_detect.c | 7 +
drivers/bluetooth/hci_qca.c | 19 +-
drivers/bus/ti-sysc.c | 10 +
drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 2 -
drivers/hid/hid-ids.h | 3 +
drivers/hid/hid-mf.c | 2 +
drivers/hid/hid-quirks.c | 2 +
drivers/hid/i2c-hid/i2c-hid-core.c | 2 +
drivers/iommu/amd/iommu.c | 10 +-
drivers/media/pci/cx23885/cx23885-core.c | 4 +
drivers/misc/eeprom/eeprom_93xx46.c | 15 +
drivers/mmc/host/sdhci-of-dwcmshc.c | 1 +
drivers/net/ipa/gsi.c | 24 +-
drivers/net/wireless/marvell/mwifiex/pcie.c | 18 +-
drivers/net/wireless/marvell/mwifiex/pcie.h | 2 +
drivers/nvme/host/pci.c | 8 +-
drivers/pci/controller/cadence/pci-j721e.c | 3 +
drivers/pci/controller/cadence/pcie-cadence-host.c | 81 ++++-
drivers/pci/controller/cadence/pcie-cadence.h | 11 +-
drivers/pci/quirks.c | 3 +
drivers/platform/x86/acer-wmi.c | 169 ++++++++--
drivers/scsi/ufs/ufs-exynos.c | 9 +-
drivers/scsi/ufs/ufs-mediatek.c | 1 +
drivers/scsi/ufs/ufshcd.c | 42 +--
drivers/scsi/ufs/ufshcd.h | 10 +
drivers/usb/cdns3/core.c | 3 +-
drivers/usb/cdns3/core.h | 4 +
drivers/usb/cdns3/host-export.h | 6 +
drivers/usb/cdns3/host.c | 60 +++-
fs/btrfs/delayed-inode.c | 3 +-
fs/btrfs/inode.c | 2 +-
fs/btrfs/qgroup.c | 8 +-
fs/btrfs/qgroup.h | 2 +
include/linux/eeprom_93xx46.h | 2 +
include/linux/platform_data/ti-sysc.h | 1 +
sound/soc/intel/boards/bytcr_rt5640.c | 12 +
sound/soc/intel/boards/sof_rt5682.c | 18 +
sound/soc/intel/boards/sof_sdw.c | 78 +++--
sound/soc/sof/intel/Kconfig | 2 +-
sound/usb/mixer_quirks.c | 367 ++++++++++++++-------
49 files changed, 861 insertions(+), 258 deletions(-)
On Wed, 10 Mar 2021 at 18:56, <gregkh(a)linuxfoundation.org> wrote:
>
> From: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
>
> From: Alex Elder <elder(a)linaro.org>
>
> [ Upstream commit f849afcc8c3b27d7b50827e95b60557f24184df0 ]
>
> IPA v4.2 has a hardware quirk that requires the AP to allocate GSI
> channels for the modem to use. It is recommended that these modem
> channels get stopped (with a HALT generic command) by the AP when
> its IPA driver gets removed.
>
> The AP has no way of knowing the current state of a modem channel.
> So when the IPA driver issues a HALT command it's possible the
> channel is not running, and in that case we get an error indication.
> This error simply means we didn't need to stop the channel, so we
> can ignore it.
>
> This patch adds an explanation for this situation, and arranges for
> this condition to *not* report an error message.
>
> Signed-off-by: Alex Elder <elder(a)linaro.org>
> Signed-off-by: Jakub Kicinski <kuba(a)kernel.org>
> Signed-off-by: Sasha Levin <sashal(a)kernel.org>
> ---
> drivers/net/ipa/gsi.c | 24 +++++++++++++++++++++++-
> 1 file changed, 23 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/ipa/gsi.c b/drivers/net/ipa/gsi.c
> index 2a65efd3e8da..48ee43b89fec 100644
> --- a/drivers/net/ipa/gsi.c
> +++ b/drivers/net/ipa/gsi.c
> @@ -1052,10 +1052,32 @@ static void gsi_isr_gp_int1(struct gsi *gsi)
> u32 result;
> u32 val;
>
> + /* This interrupt is used to handle completions of the two GENERIC
> + * GSI commands. We use these to allocate and halt channels on
> + * the modem's behalf due to a hardware quirk on IPA v4.2. Once
> + * allocated, the modem "owns" these channels, and as a result we
> + * have no way of knowing the channel's state at any given time.
> + *
> + * It is recommended that we halt the modem channels we allocated
> + * when shutting down, but it's possible the channel isn't running
> + * at the time we issue the HALT command. We'll get an error in
> + * that case, but it's harmless (the channel is already halted).
> + *
> + * For this reason, we silently ignore a CHANNEL_NOT_RUNNING error
> + * if we receive it.
> + */
> val = ioread32(gsi->virt + GSI_CNTXT_SCRATCH_0_OFFSET);
> result = u32_get_bits(val, GENERIC_EE_RESULT_FMASK);
> - if (result != GENERIC_EE_SUCCESS_FVAL)
> +
> + switch (result) {
> + case GENERIC_EE_SUCCESS_FVAL:
> + case GENERIC_EE_CHANNEL_NOT_RUNNING_FVAL:
While building stable rc 5.10 for arm64 the build failed due to
the following errors / warnings.
make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=arm64
CROSS_COMPILE=aarch64-linux-gnu- 'HOSTCC=sccache clang' 'CC=sccache
clang'
drivers/net/ipa/gsi.c:1074:7: error: use of undeclared identifier
'GENERIC_EE_CHANNEL_NOT_RUNNING_FVAL'
case GENERIC_EE_CHANNEL_NOT_RUNNING_FVAL:
^
1 error generated.
make[4]: *** [scripts/Makefile.build:279: drivers/net/ipa/gsi.o] Error 1
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
Build log link,
https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc/-/jobs/108686…
--
Linaro LKFT
https://lkft.linaro.org
Hi Peter,
On Fri, 19 Feb 2021 at 04:43, Peter Xu <peterx(a)redhat.com> wrote:
>
> Huge pmd sharing could bring problem to userfaultfd. The thing is that
> userfaultfd is running its logic based on the special bits on page table
> entries, however the huge pmd sharing could potentially share page table
> entries for different address ranges. That could cause issues on either:
>
> - When sharing huge pmd page tables for an uffd write protected range, the
> newly mapped huge pmd range will also be write protected unexpectedly, or,
>
> - When we try to write protect a range of huge pmd shared range, we'll first
> do huge_pmd_unshare() in hugetlb_change_protection(), however that also
> means the UFFDIO_WRITEPROTECT could be silently skipped for the shared
> region, which could lead to data loss.
>
> Since at it, a few other things are done altogether:
>
> - Move want_pmd_share() from mm/hugetlb.c into linux/hugetlb.h, because
> that's definitely something that arch code would like to use too
>
> - ARM64 currently directly check against CONFIG_ARCH_WANT_HUGE_PMD_SHARE when
> trying to share huge pmd. Switch to the want_pmd_share() helper.
>
> Since at it, move vma_shareable() from huge_pmd_share() into want_pmd_share().
>
> Reviewed-by: Mike Kravetz <mike.kravetz(a)oracle.com>
> Reviewed-by: Axel Rasmussen <axelrasmussen(a)google.com>
> Signed-off-by: Peter Xu <peterx(a)redhat.com>
> ---
> arch/arm64/mm/hugetlbpage.c | 3 +--
> include/linux/hugetlb.h | 2 ++
> include/linux/userfaultfd_k.h | 9 +++++++++
> mm/hugetlb.c | 20 ++++++++++++++------
> 4 files changed, 26 insertions(+), 8 deletions(-)
>
> diff --git a/arch/arm64/mm/hugetlbpage.c b/arch/arm64/mm/hugetlbpage.c
> index 6e3bcffe2837..58987a98e179 100644
> --- a/arch/arm64/mm/hugetlbpage.c
> +++ b/arch/arm64/mm/hugetlbpage.c
> @@ -284,8 +284,7 @@ pte_t *huge_pte_alloc(struct mm_struct *mm, struct vm_area_struct *vma,
> */
> ptep = pte_alloc_map(mm, pmdp, addr);
> } else if (sz == PMD_SIZE) {
> - if (IS_ENABLED(CONFIG_ARCH_WANT_HUGE_PMD_SHARE) &&
> - pud_none(READ_ONCE(*pudp)))
> + if (want_pmd_share(vma, addr) && pud_none(READ_ONCE(*pudp)))
While building Linux next 20210310 tag for arm64 architecture with
- CONFIG_ARM64_64K_PAGES=y
enabled the build failed due to below errors / warnings
make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=arm64
CROSS_COMPILE=aarch64-linux-gnu- 'CC=sccache aarch64-linux-gnu-gcc'
'HOSTCC=sccache gcc'
aarch64-linux-gnu-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-gnu-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-gnu-ld: arch/arm64/mm/hugetlbpage.o: in function `huge_pte_alloc':
hugetlbpage.c:(.text+0x7d8): undefined reference to `want_pmd_share'
Reported-by: Naresh Kamboju <naresh.kamboju(a)linaro.org>
Steps to reproduce:
----------------------------
# TuxMake is a command line tool and Python library that provides
# portable and repeatable Linux kernel builds across a variety of
# architectures, toolchains, kernel configurations, and make targets.
#
# TuxMake supports the concept of runtimes.
# See https://docs.tuxmake.org/runtimes/, for that to work it requires
# that you install podman or docker on your system.
#
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.
tuxmake --runtime podman --target-arch arm64 --toolchain gcc-9
--kconfig defconfig --kconfig-add
https://builds.tuxbuild.com/1pYCSoc1oGtPWlPgLAJxbHx07kL/config
Build link,
https://builds.tuxbuild.com/1pYCSoc1oGtPWlPgLAJxbHx07kL/
--
Linaro LKFT
https://lkft.linaro.org
Hi Oscar,
On Wed, 10 Mar 2021 at 03:11, Oscar Salvador <osalvador(a)suse.de> wrote:
>
> When sizeof(struct page) is not a power of 2, sections do not span
> a PMD anymore and so when populating them some parts of the PMD will
> remain unused.
> Because of this, PMDs will be left behind when depopulating sections
> since remove_pmd_table() thinks that those unused parts are still in
> use.
>
> Fix this by marking the unused parts with PAGE_UNUSED, so memchr_inv()
> will do the right thing and will let us free the PMD when the last user
> of it is gone.
>
> This patch is based on a similar patch by David Hildenbrand:
>
> https://lore.kernel.org/linux-mm/20200722094558.9828-9-david@redhat.com/
>
> Signed-off-by: Oscar Salvador <osalvador(a)suse.de>
> Reviewed-by: David Hildenbrand <david(a)redhat.com>
> Acked-by: Dave Hansen <dave.hansen(a)linux.intel.com>
> ---
> arch/x86/mm/init_64.c | 65 +++++++++++++++++++++++++++++++++++++++++----------
> 1 file changed, 53 insertions(+), 12 deletions(-)
>
> diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
> index 9ecb3c488ac8..d93b36856ed3 100644
> --- a/arch/x86/mm/init_64.c
> +++ b/arch/x86/mm/init_64.c
> @@ -826,6 +826,51 @@ void __init paging_init(void)
> zone_sizes_init();
> }
>
> +#ifdef CONFIG_SPARSEMEM_VMEMMAP
> +#define PAGE_UNUSED 0xFD
> +
> +/* Returns true if the PMD is completely unused and thus it can be freed */
> +static bool __meminit vmemmap_pmd_is_unused(unsigned long addr, unsigned long end)
> +{
> + unsigned long start = ALIGN_DOWN(addr, PMD_SIZE);
> +
> + memset((void *)addr, PAGE_UNUSED, end - addr);
> +
> + return !memchr_inv((void *)start, PAGE_UNUSED, PMD_SIZE);
> +}
> +
> +static void __meminit vmemmap_use_sub_pmd(unsigned long start)
> +{
> + /*
> + * As we expect to add in the same granularity as we remove, it's
> + * sufficient to mark only some piece used to block the memmap page from
> + * getting removed when removing some other adjacent memmap (just in
> + * case the first memmap never gets initialized e.g., because the memory
> + * block never gets onlined).
> + */
> + memset((void *)start, 0, sizeof(struct page));
> +}
> +
> +static void __meminit vmemmap_use_new_sub_pmd(unsigned long start, unsigned long end)
> +{
> + /*
> + * Could be our memmap page is filled with PAGE_UNUSED already from a
> + * previous remove. Make sure to reset it.
> + */
> + vmemmap_use_sub_pmd(start);
> +
> + /*
> + * Mark with PAGE_UNUSED the unused parts of the new memmap range
> + */
> + if (!IS_ALIGNED(start, PMD_SIZE))
> + memset((void *)start, PAGE_UNUSED,
> + start - ALIGN_DOWN(start, PMD_SIZE));
> + if (!IS_ALIGNED(end, PMD_SIZE))
> + memset((void *)end, PAGE_UNUSED,
> + ALIGN(end, PMD_SIZE) - end);
> +}
> +#endif
> +
> /*
> * Memory hotplug specific functions
> */
> @@ -871,8 +916,6 @@ int arch_add_memory(int nid, u64 start, u64 size,
> return add_pages(nid, start_pfn, nr_pages, params);
> }
>
> -#define PAGE_INUSE 0xFD
> -
> static void __meminit free_pagetable(struct page *page, int order)
> {
> unsigned long magic;
> @@ -1006,7 +1049,6 @@ remove_pmd_table(pmd_t *pmd_start, unsigned long addr, unsigned long end,
> unsigned long next, pages = 0;
> pte_t *pte_base;
> pmd_t *pmd;
> - void *page_addr;
>
> pmd = pmd_start + pmd_index(addr);
> for (; addr < end; addr = next, pmd++) {
> @@ -1026,20 +1068,13 @@ remove_pmd_table(pmd_t *pmd_start, unsigned long addr, unsigned long end,
> pmd_clear(pmd);
> spin_unlock(&init_mm.page_table_lock);
> pages++;
> - } else {
> - /* If here, we are freeing vmemmap pages. */
> - memset((void *)addr, PAGE_INUSE, next - addr);
> -
> - page_addr = page_address(pmd_page(*pmd));
> - if (!memchr_inv(page_addr, PAGE_INUSE,
> - PMD_SIZE)) {
> + } else if (IS_ENABLED(CONFIG_SPARSEMEM_VMEMMAP) &&
> + vmemmap_pmd_is_unused(addr, next)) {
> free_hugepage_table(pmd_page(*pmd),
> altmap);
> -
> spin_lock(&init_mm.page_table_lock);
> pmd_clear(pmd);
> spin_unlock(&init_mm.page_table_lock);
> - }
> }
>
> continue;
> @@ -1492,11 +1527,17 @@ static int __meminit vmemmap_populate_hugepages(unsigned long start,
>
> addr_end = addr + PMD_SIZE;
> p_end = p + PMD_SIZE;
> +
> + if (!IS_ALIGNED(addr, PMD_SIZE) ||
> + !IS_ALIGNED(next, PMD_SIZE))
> + vmemmap_use_new_sub_pmd(addr, next);
> +
> continue;
> } else if (altmap)
> return -ENOMEM; /* no fallback */
> } else if (pmd_large(*pmd)) {
> vmemmap_verify((pte_t *)pmd, node, addr, next);
> + vmemmap_use_sub_pmd(addr);
While building the linux next 20210310 tag for x86_64 architecture with clang-12
and gcc-9 the following warnings / errors were noticed.
arch/x86/mm/init_64.c:1585:6: error: implicit declaration of function
'vmemmap_use_new_sub_pmd' [-Werror,-Wimplicit-function-declaration]
vmemmap_use_new_sub_pmd(addr, next);
^
arch/x86/mm/init_64.c:1591:4: error: implicit declaration of function
'vmemmap_use_sub_pmd' [-Werror,-Wimplicit-function-declaration]
vmemmap_use_sub_pmd(addr, next);
^
2 errors generated.
make[3]: *** [scripts/Makefile.build:271: arch/x86/mm/init_64.o] Error 1
Reported-by: Naresh Kamboju <naresh.kamboju(a)linaro.org>
Steps to reproduce:
-------------------
# TuxMake is a command line tool and Python library that provides
# portable and repeatable Linux kernel builds across a variety of
# architectures, toolchains, kernel configurations, and make targets.
#
# TuxMake supports the concept of runtimes.
# See https://docs.tuxmake.org/runtimes/, for that to work it requires
# that you install podman or docker on your system.
#
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.
tuxmake --runtime podman --target-arch x86_64 --toolchain clang-12
--kconfig defconfig --kconfig-add
https://builds.tuxbuild.com/1pYCPt4WlgSfSdv1BULm6ABINeJ/config
Build pipeline error link,
https://gitlab.com/Linaro/lkft/mirrors/next/linux-next/-/jobs/1085496613#L4…
--
Linaro LKFT
https://lkft.linaro.org
This is the start of the stable review cycle for the 5.10.22 release.
There are 42 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Wed, 10 Mar 2021 12:27:05 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.10.22-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 5.10.22-rc1
Heiner Kallweit <hkallweit1(a)gmail.com>
r8169: fix resuming from suspend on RTL8105e if machine runs on battery
Tetsuo Handa <penguin-kernel(a)I-love.SAKURA.ne.jp>
tomoyo: recognize kernel threads correctly
Catalin Marinas <catalin.marinas(a)arm.com>
of: unittest: Fix build on architectures without CONFIG_OF_ADDRESS
Neil Armstrong <narmstrong(a)baylibre.com>
Revert "arm64: dts: amlogic: add missing ethernet reset ID"
Zenghui Yu <yuzenghui(a)huawei.com>
iommu/vt-d: Fix status code for Allocate/Free PASID command
Dan Carpenter <dan.carpenter(a)oracle.com>
rsxx: Return -EFAULT if copy_to_user() fails
Chen Jun <chenjun102(a)huawei.com>
ftrace: Have recordmcount use w8 to read relp->r_info in arm64_is_fake_mcount
Pierre-Louis Bossart <pierre-louis.bossart(a)linux.intel.com>
ALSA: hda: intel-nhlt: verify config type
YueHaibing <yuehaibing(a)huawei.com>
IB/mlx5: Add missing error code
Julian Braha <julianbraha(a)gmail.com>
RDMA/rxe: Fix missing kconfig dependency on CRYPTO
Saeed Mahameed <saeedm(a)nvidia.com>
RDMA/cm: Fix IRQ restore in ib_send_cm_sidr_rep
Colin Ian King <colin.king(a)canonical.com>
ALSA: ctxfi: cthw20k2: fix mask on conf to allow 4 bits
Nicolas Saenz Julienne <nsaenzjulienne(a)suse.de>
mm: Remove examples from enum zone_type comment
Ard Biesheuvel <ardb(a)kernel.org>
arm64: mm: Set ZONE_DMA size based on early IORT scan
Nicolas Saenz Julienne <nsaenzjulienne(a)suse.de>
arm64: mm: Set ZONE_DMA size based on devicetree's dma-ranges
Nicolas Saenz Julienne <nsaenzjulienne(a)suse.de>
of: unittest: Add test for of_dma_get_max_cpu_address()
Nicolas Saenz Julienne <nsaenzjulienne(a)suse.de>
of/address: Introduce of_dma_get_max_cpu_address()
Nicolas Saenz Julienne <nsaenzjulienne(a)suse.de>
arm64: mm: Move zone_dma_bits initialization into zone_sizes_init()
Nicolas Saenz Julienne <nsaenzjulienne(a)suse.de>
arm64: mm: Move reserve_crashkernel() into mem_init()
Ard Biesheuvel <ardb(a)kernel.org>
crypto - shash: reduce minimum alignment of shash_desc structure
Kevin Wang <kevin1.wang(a)amd.com>
drm/amdgpu: fix parameter error of RREG32_PCIE() in amdgpu_regs_pcie
Asher.Song <Asher.Song(a)amd.com>
drm/amdgpu:disable VCN for Navi12 SKU
Milan Broz <gmazyland(a)gmail.com>
dm verity: fix FEC for RS roots unaligned to block size
Mikulas Patocka <mpatocka(a)redhat.com>
dm bufio: subtract the number of initial sectors in dm_bufio_get_device_size
Jens Axboe <axboe(a)kernel.dk>
io_uring: ignore double poll add on the same waitqueue head
Steven Rostedt (VMware) <rostedt(a)goodmis.org>
ring-buffer: Force before_stamp and write_stamp to be different on discard
Rafael J. Wysocki <rafael.j.wysocki(a)intel.com>
PM: runtime: Update device status before letting suppliers suspend
Filipe Manana <fdmanana(a)suse.com>
btrfs: fix warning when creating a directory with smack enabled
Nikolay Borisov <nborisov(a)suse.com>
btrfs: unlock extents in btrfs_zero_range in case of quota reservation errors
Nikolay Borisov <nborisov(a)suse.com>
btrfs: free correct amount of space in btrfs_delayed_inode_reserve_metadata
Dan Carpenter <dancarpenter(a)oracle.com>
btrfs: validate qgroup inherit for SNAP_CREATE_V2 ioctl
Nikolay Borisov <nborisov(a)suse.com>
btrfs: fix race between extent freeing/allocation when using bitmaps
Filipe Manana <fdmanana(a)suse.com>
btrfs: fix stale data exposure after cloning a hole with NO_HOLES enabled
Filipe Manana <fdmanana(a)suse.com>
btrfs: fix race between swap file activation and snapshot creation
Filipe Manana <fdmanana(a)suse.com>
btrfs: fix race between writes to swap files and scrub
Ira Weiny <ira.weiny(a)intel.com>
btrfs: fix raid6 qstripe kmap
Josef Bacik <josef(a)toxicpanda.com>
btrfs: avoid double put of block group when emptying cluster
Jarkko Sakkinen <jarkko(a)kernel.org>
tpm, tpm_tis: Decorate tpm_get_timeouts() with request_locality()
Lukasz Majczak <lma(a)semihalf.com>
tpm, tpm_tis: Decorate tpm_tis_gen_interrupt() with request_locality()
Takashi Iwai <tiwai(a)suse.de>
ALSA: usb-audio: Drop bogus dB range in too low level
Andrea Fagiani <andfagiani(a)gmail.com>
ALSA: usb-audio: use Corsair Virtuoso mapping for Corsair Virtuoso SE
Chris Chiu <chris.chiu(a)canonical.com>
ALSA: hda/realtek: Enable headset mic of Acer SWIFT with ALC256
-------------
Diffstat:
Makefile | 4 +-
arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 2 -
arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 2 -
arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 3 --
arch/arm64/mm/init.c | 22 ++++----
drivers/acpi/arm64/iort.c | 55 ++++++++++++++++++++
drivers/base/power/runtime.c | 62 ++++++++++++++---------
drivers/block/rsxx/core.c | 8 +--
drivers/char/tpm/tpm_tis_core.c | 30 +++++++++--
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 4 +-
drivers/gpu/drm/amd/amdgpu/nv.c | 6 ++-
drivers/infiniband/core/cm.c | 5 +-
drivers/infiniband/hw/mlx5/devx.c | 4 +-
drivers/infiniband/sw/rxe/Kconfig | 1 +
drivers/iommu/intel/pasid.h | 4 +-
drivers/md/dm-bufio.c | 4 ++
drivers/md/dm-verity-fec.c | 23 +++++----
drivers/net/ethernet/realtek/r8169_main.c | 2 +
drivers/of/address.c | 42 +++++++++++++++
drivers/of/unittest.c | 21 ++++++++
fs/btrfs/block-group.c | 33 +++++++++++-
fs/btrfs/block-group.h | 9 ++++
fs/btrfs/ctree.h | 5 ++
fs/btrfs/delayed-inode.c | 2 +-
fs/btrfs/file.c | 5 +-
fs/btrfs/free-space-cache.c | 14 ++---
fs/btrfs/inode.c | 40 +++++++++++++--
fs/btrfs/ioctl.c | 19 ++++++-
fs/btrfs/raid56.c | 21 ++++----
fs/btrfs/reflink.c | 18 +++++++
fs/btrfs/scrub.c | 9 +++-
fs/btrfs/xattr.c | 31 ++++++++++--
fs/io_uring.c | 3 ++
include/crypto/hash.h | 8 +--
include/linux/acpi_iort.h | 4 ++
include/linux/crypto.h | 9 ++--
include/linux/mmzone.h | 20 --------
include/linux/of.h | 7 +++
include/sound/intel-nhlt.h | 5 ++
kernel/trace/ring_buffer.c | 11 ++++
scripts/recordmcount.c | 2 +-
security/tomoyo/network.c | 2 +-
sound/hda/intel-nhlt.c | 54 ++++++++++++++++----
sound/pci/ctxfi/cthw20k2.c | 2 +-
sound/pci/hda/patch_realtek.c | 13 +++++
sound/usb/mixer.c | 11 ++++
sound/usb/mixer_maps.c | 10 ++++
47 files changed, 532 insertions(+), 139 deletions(-)
From: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
This is the start of the stable review cycle for the 5.11.5 release.
There are 44 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Wed, 10 Mar 2021 12:27:05 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.11.5-rc1…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.11.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 5.11.5-rc1
Heiner Kallweit <hkallweit1(a)gmail.com>
r8169: fix resuming from suspend on RTL8105e if machine runs on battery
Tetsuo Handa <penguin-kernel(a)I-love.SAKURA.ne.jp>
tomoyo: recognize kernel threads correctly
Naohiro Aota <naohiro.aota(a)wdc.com>
btrfs: zoned: use sector_t for zone sectors
Zenghui Yu <yuzenghui(a)huawei.com>
iommu/vt-d: Fix status code for Allocate/Free PASID command
Lu Baolu <baolu.lu(a)linux.intel.com>
iommu: Don't use lazy flush for untrusted device
Nicolin Chen <nicoleotsuka(a)gmail.com>
iommu/tegra-smmu: Fix mc errors on tegra124-nyan
Dan Carpenter <dan.carpenter(a)oracle.com>
rsxx: Return -EFAULT if copy_to_user() fails
Jens Axboe <axboe(a)kernel.dk>
ia64: don't call handle_signal() unless there's actually a signal queued
Chen Jun <chenjun102(a)huawei.com>
ftrace: Have recordmcount use w8 to read relp->r_info in arm64_is_fake_mcount
Pierre-Louis Bossart <pierre-louis.bossart(a)linux.intel.com>
ALSA: hda: intel-nhlt: verify config type
YueHaibing <yuehaibing(a)huawei.com>
IB/mlx5: Add missing error code
Julian Braha <julianbraha(a)gmail.com>
RDMA/rxe: Fix missing kconfig dependency on CRYPTO
Saeed Mahameed <saeedm(a)nvidia.com>
RDMA/cm: Fix IRQ restore in ib_send_cm_sidr_rep
Nicolas MURE <nicolas.mure2019(a)gmail.com>
ALSA: usb-audio: Fix Pioneer DJM devices URB_CONTROL request direction to set samplerate
Colin Ian King <colin.king(a)canonical.com>
ALSA: ctxfi: cthw20k2: fix mask on conf to allow 4 bits
Ard Biesheuvel <ardb(a)kernel.org>
crypto - shash: reduce minimum alignment of shash_desc structure
Kevin Wang <kevin1.wang(a)amd.com>
drm/amdgpu: fix parameter error of RREG32_PCIE() in amdgpu_regs_pcie
Alex Deucher <alexander.deucher(a)amd.com>
drm/amdgpu: Only check for S0ix if AMD_PMC is configured
Asher.Song <Asher.Song(a)amd.com>
drm/amdgpu:disable VCN for Navi12 SKU
Evan Quan <evan.quan(a)amd.com>
drm/amd/pm: correct Arcturus mmTHM_BACO_CNTL register address
Milan Broz <gmazyland(a)gmail.com>
dm verity: fix FEC for RS roots unaligned to block size
Mikulas Patocka <mpatocka(a)redhat.com>
dm bufio: subtract the number of initial sectors in dm_bufio_get_device_size
Jens Axboe <axboe(a)kernel.dk>
io_uring: ignore double poll add on the same waitqueue head
Steven Rostedt (VMware) <rostedt(a)goodmis.org>
ring-buffer: Force before_stamp and write_stamp to be different on discard
Rafael J. Wysocki <rafael.j.wysocki(a)intel.com>
PM: runtime: Update device status before letting suppliers suspend
Filipe Manana <fdmanana(a)suse.com>
btrfs: fix warning when creating a directory with smack enabled
Nikolay Borisov <nborisov(a)suse.com>
btrfs: unlock extents in btrfs_zero_range in case of quota reservation errors
Boris Burkov <boris(a)bur.io>
btrfs: fix spurious free_space_tree remount warning
Nikolay Borisov <nborisov(a)suse.com>
btrfs: free correct amount of space in btrfs_delayed_inode_reserve_metadata
Dan Carpenter <dancarpenter(a)oracle.com>
btrfs: validate qgroup inherit for SNAP_CREATE_V2 ioctl
Nikolay Borisov <nborisov(a)suse.com>
btrfs: fix race between extent freeing/allocation when using bitmaps
Josef Bacik <josef(a)toxicpanda.com>
btrfs: tree-checker: do not error out if extent ref hash doesn't match
Filipe Manana <fdmanana(a)suse.com>
btrfs: fix stale data exposure after cloning a hole with NO_HOLES enabled
Filipe Manana <fdmanana(a)suse.com>
btrfs: fix race between swap file activation and snapshot creation
Filipe Manana <fdmanana(a)suse.com>
btrfs: fix race between writes to swap files and scrub
Ira Weiny <ira.weiny(a)intel.com>
btrfs: fix raid6 qstripe kmap
Josef Bacik <josef(a)toxicpanda.com>
btrfs: avoid double put of block group when emptying cluster
Jarkko Sakkinen <jarkko(a)kernel.org>
tpm, tpm_tis: Decorate tpm_get_timeouts() with request_locality()
Lukasz Majczak <lma(a)semihalf.com>
tpm, tpm_tis: Decorate tpm_tis_gen_interrupt() with request_locality()
Takashi Iwai <tiwai(a)suse.de>
ALSA: usb-audio: Allow modifying parameters with succeeding hw_params calls
Takashi Iwai <tiwai(a)suse.de>
ALSA: usb-audio: Drop bogus dB range in too low level
Takashi Iwai <tiwai(a)suse.de>
ALSA: usb-audio: Don't abort even if the clock rate differs
Andrea Fagiani <andfagiani(a)gmail.com>
ALSA: usb-audio: use Corsair Virtuoso mapping for Corsair Virtuoso SE
Chris Chiu <chris.chiu(a)canonical.com>
ALSA: hda/realtek: Enable headset mic of Acer SWIFT with ALC256
-------------
Diffstat:
Makefile | 4 +-
arch/ia64/kernel/signal.c | 3 +-
drivers/base/power/runtime.c | 62 +++++++++++++---------
drivers/block/rsxx/core.c | 8 +--
drivers/char/tpm/tpm_tis_core.c | 30 +++++++++--
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 3 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 4 +-
drivers/gpu/drm/amd/amdgpu/nv.c | 6 ++-
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 15 ++++--
drivers/infiniband/core/cm.c | 5 +-
drivers/infiniband/hw/mlx5/devx.c | 4 +-
drivers/infiniband/sw/rxe/Kconfig | 1 +
drivers/iommu/dma-iommu.c | 15 +++---
drivers/iommu/intel/pasid.h | 4 +-
drivers/iommu/tegra-smmu.c | 72 +++++++++++++++++++++++++-
drivers/md/dm-bufio.c | 4 ++
drivers/md/dm-verity-fec.c | 23 ++++----
drivers/net/ethernet/realtek/r8169_main.c | 2 +
fs/btrfs/block-group.c | 33 +++++++++++-
fs/btrfs/block-group.h | 9 ++++
fs/btrfs/ctree.h | 5 ++
fs/btrfs/delayed-inode.c | 2 +-
fs/btrfs/file.c | 5 +-
fs/btrfs/free-space-cache.c | 14 ++---
fs/btrfs/inode.c | 40 ++++++++++++--
fs/btrfs/ioctl.c | 19 ++++++-
fs/btrfs/raid56.c | 21 ++++----
fs/btrfs/reflink.c | 18 +++++++
fs/btrfs/scrub.c | 9 +++-
fs/btrfs/super.c | 4 +-
fs/btrfs/tree-checker.c | 16 ++----
fs/btrfs/xattr.c | 31 +++++++++--
fs/btrfs/zoned.c | 4 +-
fs/io_uring.c | 3 ++
include/crypto/hash.h | 8 +--
include/linux/crypto.h | 9 ++--
include/sound/intel-nhlt.h | 5 ++
kernel/trace/ring_buffer.c | 11 ++++
scripts/recordmcount.c | 2 +-
security/tomoyo/network.c | 2 +-
sound/hda/intel-nhlt.c | 54 +++++++++++++++----
sound/pci/ctxfi/cthw20k2.c | 2 +-
sound/pci/hda/patch_realtek.c | 13 +++++
sound/usb/clock.c | 8 +--
sound/usb/mixer.c | 11 ++++
sound/usb/mixer_maps.c | 10 ++++
sound/usb/pcm.c | 12 +++--
sound/usb/quirks.c | 2 +-
48 files changed, 507 insertions(+), 140 deletions(-)
This is the start of the stable review cycle for the 5.4.104 release.
There are 22 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Wed, 10 Mar 2021 12:27:05 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.104-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 5.4.104-rc1
Heiner Kallweit <hkallweit1(a)gmail.com>
r8169: fix resuming from suspend on RTL8105e if machine runs on battery
Dan Carpenter <dan.carpenter(a)oracle.com>
rsxx: Return -EFAULT if copy_to_user() fails
Chen Jun <chenjun102(a)huawei.com>
ftrace: Have recordmcount use w8 to read relp->r_info in arm64_is_fake_mcount
Pierre-Louis Bossart <pierre-louis.bossart(a)linux.intel.com>
ALSA: hda: intel-nhlt: verify config type
YueHaibing <yuehaibing(a)huawei.com>
IB/mlx5: Add missing error code
Julian Braha <julianbraha(a)gmail.com>
RDMA/rxe: Fix missing kconfig dependency on CRYPTO
Colin Ian King <colin.king(a)canonical.com>
ALSA: ctxfi: cthw20k2: fix mask on conf to allow 4 bits
Antonio Borneo <borneo.antonio(a)gmail.com>
usbip: tools: fix build error for multiple definition
Ard Biesheuvel <ardb(a)kernel.org>
crypto - shash: reduce minimum alignment of shash_desc structure
Timothy E Baldwin <T.E.Baldwin99(a)members.leeds.ac.uk>
arm64: ptrace: Fix seccomp of traced syscall -1 (NO_SYSCALL)
Kevin Wang <kevin1.wang(a)amd.com>
drm/amdgpu: fix parameter error of RREG32_PCIE() in amdgpu_regs_pcie
Milan Broz <gmazyland(a)gmail.com>
dm verity: fix FEC for RS roots unaligned to block size
Mikulas Patocka <mpatocka(a)redhat.com>
dm bufio: subtract the number of initial sectors in dm_bufio_get_device_size
Rafael J. Wysocki <rafael.j.wysocki(a)intel.com>
PM: runtime: Update device status before letting suppliers suspend
Filipe Manana <fdmanana(a)suse.com>
btrfs: fix warning when creating a directory with smack enabled
Nikolay Borisov <nborisov(a)suse.com>
btrfs: unlock extents in btrfs_zero_range in case of quota reservation errors
Nikolay Borisov <nborisov(a)suse.com>
btrfs: free correct amount of space in btrfs_delayed_inode_reserve_metadata
Dan Carpenter <dancarpenter(a)oracle.com>
btrfs: validate qgroup inherit for SNAP_CREATE_V2 ioctl
Ira Weiny <ira.weiny(a)intel.com>
btrfs: fix raid6 qstripe kmap
David Sterba <dsterba(a)suse.com>
btrfs: raid56: simplify tracking of Q stripe presence
Jarkko Sakkinen <jarkko(a)kernel.org>
tpm, tpm_tis: Decorate tpm_get_timeouts() with request_locality()
Lukasz Majczak <lma(a)semihalf.com>
tpm, tpm_tis: Decorate tpm_tis_gen_interrupt() with request_locality()
-------------
Diffstat:
Makefile | 4 +-
arch/arm64/kernel/ptrace.c | 2 +-
drivers/base/power/runtime.c | 62 +++++++++++++++++------------
drivers/block/rsxx/core.c | 8 ++--
drivers/char/tpm/tpm_tis_core.c | 30 +++++++++++---
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 4 +-
drivers/infiniband/hw/mlx5/devx.c | 4 +-
drivers/infiniband/sw/rxe/Kconfig | 1 +
drivers/md/dm-bufio.c | 4 ++
drivers/md/dm-verity-fec.c | 23 ++++++-----
drivers/net/ethernet/realtek/r8169_main.c | 2 +
fs/btrfs/delayed-inode.c | 2 +-
fs/btrfs/file.c | 5 ++-
fs/btrfs/ioctl.c | 19 ++++++++-
fs/btrfs/raid56.c | 58 ++++++++++++---------------
fs/btrfs/xattr.c | 31 +++++++++++++--
include/crypto/hash.h | 8 ++--
include/linux/crypto.h | 9 +++--
include/sound/intel-nhlt.h | 5 +++
scripts/recordmcount.c | 2 +-
sound/hda/intel-nhlt.c | 54 ++++++++++++++++++++-----
sound/pci/ctxfi/cthw20k2.c | 2 +-
tools/usb/usbip/libsrc/usbip_host_common.c | 2 +-
23 files changed, 232 insertions(+), 109 deletions(-)