Hello community, here is the log from the commit of package kernel-source for openSUSE:Factory checked in at 2020-06-12 21:37:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kernel-source (Old) and /work/SRC/openSUSE:Factory/.kernel-source.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-source" Fri Jun 12 21:37:00 2020 rev:544 rq:813222 version:5.7.1 Changes: -------- --- /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes 2020-05-26 17:14:08.435302671 +0200 +++ /work/SRC/openSUSE:Factory/.kernel-source.new.3606/dtb-aarch64.changes 2020-06-12 21:37:27.479790757 +0200 @@ -1,0 +2,377 @@ +Wed Jun 10 13:51:14 CEST 2020 - [email protected] + +- syscalls: fix offset type of ksys_ftruncate (bsc#1172699). +- commit 8d4977c + +------------------------------------------------------------------- +Tue Jun 9 15:57:54 CEST 2020 - [email protected] + +- armv7/ararch64: Update config files. + Enable IOMMU_DEFAULT_PASSTHROUGH; per jsc#SLE-5568 this should be on by + default, like on x86_64. +- commit bb34387 + +------------------------------------------------------------------- +Mon Jun 8 13:09:55 CEST 2020 - [email protected] + +- Refresh + patches.suse/jbd2-avoid-leaking-transaction-credits-when-unreserv.patch. + Update upstream status. +- commit c3ae43f + +------------------------------------------------------------------- +Mon Jun 8 13:01:33 CEST 2020 - [email protected] + +- KVM: x86/mmu: Set mmio_value to '0' if reserved #PF can't be + generated (bsc#1171904). +- KVM: x86: only do L1TF workaround on affected processors + (bsc#1171904). +- commit 16721c7 + +------------------------------------------------------------------- +Mon Jun 8 07:34:57 CEST 2020 - [email protected] + +- Linux 5.7.1 (bnc#1012628). +- airo: Fix read overflows sending packets (bnc#1012628). +- net: dsa: mt7530: set CPU port to fallback mode (bnc#1012628). +- media: staging: ipu3-imgu: Move alignment attribute to field + (bnc#1012628). +- media: Revert "staging: imgu: Address a compiler warning on + alignment" (bnc#1012628). +- mmc: fix compilation of user API (bnc#1012628). +- kernel/relay.c: handle alloc_percpu returning NULL in relay_open + (bnc#1012628). +- crypto: api - Fix use-after-free and race in crypto_spawn_alg + (bnc#1012628). +- mt76: mt76x02u: Add support for newer versions of the XBox + One wifi adapter (bnc#1012628). +- p54usb: add AirVasT USB stick device-id (bnc#1012628). +- HID: i2c-hid: add Schneider SCL142ALM to descriptor override + (bnc#1012628). +- HID: multitouch: enable multi-input as a quirk for some devices + (bnc#1012628). +- HID: sony: Fix for broken buttons on DS3 USB dongles + (bnc#1012628). +- mm: Fix mremap not considering huge pmd devmap (bnc#1012628). +- media: dvbdev: Fix tuner->demod media controller link + (bnc#1012628). +- commit cc2f849 + +------------------------------------------------------------------- +Thu Jun 4 15:37:08 CEST 2020 - [email protected] + +- config: refresh with gcc10 + gcc10 is default in Tumbleweed now. +- commit 0b1e86b + +------------------------------------------------------------------- +Wed Jun 3 08:50:36 CEST 2020 - [email protected] + +- Revert "Update config files." + This reverts commit 34be040b91701c047e592935bc2dbb46a3947a56. We now + have a fix (previous commit) in place, so change the configuration back + (bsc#1156053). +- commit f4546fe + +------------------------------------------------------------------- +Wed Jun 3 08:08:47 CEST 2020 - [email protected] + +- usercopy: mark dma-kmalloc caches as usercopy caches + (bsc#1156053). +- commit d3b5ce7 + +------------------------------------------------------------------- +Tue Jun 2 09:49:21 CEST 2020 - [email protected] + +- jbd2: avoid leaking transaction credits when unreserving handle + (bnc#1169774). +- commit 8599ef4 + +------------------------------------------------------------------- +Tue Jun 2 09:14:29 CEST 2020 - [email protected] + +- jbd2: avoid leaking transaction credits when unreserving handle + (bnc#1169774). +- Delete + patches.suse/Revert-ext4-make-dioread_nolock-the-default.patch. + Replace revert by the upstream fix. +- commit bfa465b + +------------------------------------------------------------------- +Tue Jun 2 08:38:39 CEST 2020 - [email protected] + +- Refresh + patches.suse/drm-nouveau-Fix-regression-by-audio-component-transition.patch. + Update upstream status. +- commit 3000ce5 + +------------------------------------------------------------------- +Mon Jun 1 06:22:03 CEST 2020 - [email protected] + +- config: enable DEBUG_INFO_BTF + This was disabled when the option was introduced in 5.2-rc1 but it turned + out there are interesting use cases for having it enabled. + Add pahole to build time dependencies as it is used to extracth the BTF + data. Once we figure out how to make it conditional (only if DEBUG_INFO_BTF + exists and is enabled), it should be done in packaging branch. +- commit 9ddab66 + +------------------------------------------------------------------- +Mon Jun 1 06:14:45 CEST 2020 - [email protected] + +- Updated to 5.7 final +- refresh configs +- commit 7cd0da5 + +------------------------------------------------------------------- +Thu May 28 09:58:58 CEST 2020 - [email protected] + +- Update config files. +- commit 6dba057 + +------------------------------------------------------------------- +Thu May 28 09:39:21 CEST 2020 - [email protected] + +- Revert "virtio-balloon: Revert "virtio-balloon: Switch back to + OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM"" (virtio fix). +- commit fe7831e + +------------------------------------------------------------------- +Thu May 28 08:59:08 CEST 2020 - [email protected] + +- Linux 5.6.15 (bnc#1012628). +- blacklist.conf: remove one entry +- sched/fair: Fix enqueue_task_fair() warning some more + (bnc#1012628). +- sched/fair: Fix reordering of enqueue/dequeue_task_fair() + (bnc#1012628). +- sched/fair: Reorder enqueue/dequeue_task_fair path + (bnc#1012628). +- bpf: Prevent mmap()'ing read-only maps as writable + (bnc#1012628). +- rxrpc: Fix ack discard (bnc#1012628). +- rxrpc: Trace discarded ACKs (bnc#1012628). +- x86/unwind/orc: Fix unwind_get_return_address_ptr() for inactive + tasks (bnc#1012628). +- flow_dissector: Drop BPF flow dissector prog ref on netns + cleanup (bnc#1012628). +- s390/kexec_file: fix initrd location for kdump kernel + (bnc#1012628). +- tpm: check event log version before reading final events + (bnc#1012628). +- rxrpc: Fix a memory leak in rxkad_verify_response() + (bnc#1012628). +- rxrpc: Fix the excessive initial retransmission timeout + (bnc#1012628). +- iio: imu: st_lsm6dsx: unlock on error in + st_lsm6dsx_shub_write_raw() (bnc#1012628). +- z3fold: fix use-after-free when freeing handles (bnc#1012628). +- sparc32: fix page table traversal in srmmu_nocache_init() + (bnc#1012628). +- sparc32: use PUD rather than PGD to get PMD in + srmmu_nocache_init() (bnc#1012628). +- sh: include linux/time_types.h for sockios (bnc#1012628). +- kasan: disable branch tracing for core runtime (bnc#1012628). +- rapidio: fix an error in get_user_pages_fast() error handling + (bnc#1012628). +- device-dax: don't leak kernel memory to user space after + unloading kmem (bnc#1012628). +- s390/kaslr: add support for R_390_JMP_SLOT relocation type + (bnc#1012628). +- s390/pci: Fix s390_mmio_read/write with MIO (bnc#1012628). +- ipack: tpci200: fix error return code in tpci200_register() + (bnc#1012628). +- mei: release me_cl object reference (bnc#1012628). +- tty: serial: add missing spin_lock_init for SiFive serial + console (bnc#1012628). +- misc: rtsx: Add short delay after exit from ASPM (bnc#1012628). +- driver core: Fix handling of SYNC_STATE_ONLY + STATELESS device + links (bnc#1012628). +- driver core: Fix SYNC_STATE_ONLY device link implementation + (bnc#1012628). +- iio: adc: ti-ads8344: Fix channel selection (bnc#1012628). +- iio: dac: vf610: Fix an error handling path in + 'vf610_dac_probe()' (bnc#1012628). +- iio: sca3000: Remove an erroneous 'get_device()' (bnc#1012628). +- iio: adc: stm32-dfsdm: fix device used to request dma + (bnc#1012628). ++++ 431 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes ++++ and /work/SRC/openSUSE:Factory/.kernel-source.new.3606/dtb-aarch64.changes dtb-armv6l.changes: same change dtb-armv7l.changes: same change New Changes file: --- /dev/null 2020-05-28 02:28:09.919761697 +0200 +++ /work/SRC/openSUSE:Factory/.kernel-source.new.3606/dtb-riscv64.changes 2020-06-12 21:37:39.215833908 +0200 @@ -0,0 +1,49003 @@ +------------------------------------------------------------------- +Wed Jun 10 13:51:14 CEST 2020 - [email protected] + +- syscalls: fix offset type of ksys_ftruncate (bsc#1172699). +- commit 8d4977c + +------------------------------------------------------------------- +Tue Jun 9 15:57:54 CEST 2020 - [email protected] + +- armv7/ararch64: Update config files. + Enable IOMMU_DEFAULT_PASSTHROUGH; per jsc#SLE-5568 this should be on by + default, like on x86_64. +- commit bb34387 + +------------------------------------------------------------------- +Mon Jun 8 13:09:55 CEST 2020 - [email protected] + +- Refresh + patches.suse/jbd2-avoid-leaking-transaction-credits-when-unreserv.patch. + Update upstream status. +- commit c3ae43f + +------------------------------------------------------------------- +Mon Jun 8 13:01:33 CEST 2020 - [email protected] + +- KVM: x86/mmu: Set mmio_value to '0' if reserved #PF can't be + generated (bsc#1171904). +- KVM: x86: only do L1TF workaround on affected processors + (bsc#1171904). +- commit 16721c7 + +------------------------------------------------------------------- +Mon Jun 8 07:34:57 CEST 2020 - [email protected] + +- Linux 5.7.1 (bnc#1012628). +- airo: Fix read overflows sending packets (bnc#1012628). +- net: dsa: mt7530: set CPU port to fallback mode (bnc#1012628). +- media: staging: ipu3-imgu: Move alignment attribute to field + (bnc#1012628). +- media: Revert "staging: imgu: Address a compiler warning on + alignment" (bnc#1012628). +- mmc: fix compilation of user API (bnc#1012628). +- kernel/relay.c: handle alloc_percpu returning NULL in relay_open + (bnc#1012628). +- crypto: api - Fix use-after-free and race in crypto_spawn_alg + (bnc#1012628). +- mt76: mt76x02u: Add support for newer versions of the XBox + One wifi adapter (bnc#1012628). +- p54usb: add AirVasT USB stick device-id (bnc#1012628). +- HID: i2c-hid: add Schneider SCL142ALM to descriptor override + (bnc#1012628). +- HID: multitouch: enable multi-input as a quirk for some devices + (bnc#1012628). +- HID: sony: Fix for broken buttons on DS3 USB dongles + (bnc#1012628). +- mm: Fix mremap not considering huge pmd devmap (bnc#1012628). +- media: dvbdev: Fix tuner->demod media controller link + (bnc#1012628). +- commit cc2f849 + +------------------------------------------------------------------- +Thu Jun 4 15:37:08 CEST 2020 - [email protected] + +- config: refresh with gcc10 + gcc10 is default in Tumbleweed now. +- commit 0b1e86b + +------------------------------------------------------------------- +Wed Jun 3 08:50:36 CEST 2020 - [email protected] + +- Revert "Update config files." + This reverts commit 34be040b91701c047e592935bc2dbb46a3947a56. We now + have a fix (previous commit) in place, so change the configuration back + (bsc#1156053). +- commit f4546fe + +------------------------------------------------------------------- +Wed Jun 3 08:08:47 CEST 2020 - [email protected] + +- usercopy: mark dma-kmalloc caches as usercopy caches + (bsc#1156053). +- commit d3b5ce7 + +------------------------------------------------------------------- +Tue Jun 2 09:49:21 CEST 2020 - [email protected] + +- jbd2: avoid leaking transaction credits when unreserving handle + (bnc#1169774). +- commit 8599ef4 + +------------------------------------------------------------------- +Tue Jun 2 09:14:29 CEST 2020 - [email protected] + +- jbd2: avoid leaking transaction credits when unreserving handle + (bnc#1169774). +- Delete + patches.suse/Revert-ext4-make-dioread_nolock-the-default.patch. + Replace revert by the upstream fix. +- commit bfa465b + +------------------------------------------------------------------- +Tue Jun 2 08:38:39 CEST 2020 - [email protected] + +- Refresh + patches.suse/drm-nouveau-Fix-regression-by-audio-component-transition.patch. + Update upstream status. +- commit 3000ce5 + +------------------------------------------------------------------- +Mon Jun 1 06:22:03 CEST 2020 - [email protected] + +- config: enable DEBUG_INFO_BTF + This was disabled when the option was introduced in 5.2-rc1 but it turned + out there are interesting use cases for having it enabled. + Add pahole to build time dependencies as it is used to extracth the BTF + data. Once we figure out how to make it conditional (only if DEBUG_INFO_BTF + exists and is enabled), it should be done in packaging branch. +- commit 9ddab66 + +------------------------------------------------------------------- +Mon Jun 1 06:14:45 CEST 2020 - [email protected] + +- Updated to 5.7 final +- refresh configs +- commit 7cd0da5 + +------------------------------------------------------------------- +Thu May 28 09:58:58 CEST 2020 - [email protected] + +- Update config files. +- commit 6dba057 + +------------------------------------------------------------------- +Thu May 28 09:39:21 CEST 2020 - [email protected] + +- Revert "virtio-balloon: Revert "virtio-balloon: Switch back to + OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM"" (virtio fix). +- commit fe7831e + +------------------------------------------------------------------- +Thu May 28 08:59:08 CEST 2020 - [email protected] + +- Linux 5.6.15 (bnc#1012628). +- blacklist.conf: remove one entry +- sched/fair: Fix enqueue_task_fair() warning some more + (bnc#1012628). +- sched/fair: Fix reordering of enqueue/dequeue_task_fair() + (bnc#1012628). +- sched/fair: Reorder enqueue/dequeue_task_fair path + (bnc#1012628). +- bpf: Prevent mmap()'ing read-only maps as writable + (bnc#1012628). +- rxrpc: Fix ack discard (bnc#1012628). +- rxrpc: Trace discarded ACKs (bnc#1012628). +- x86/unwind/orc: Fix unwind_get_return_address_ptr() for inactive + tasks (bnc#1012628). +- flow_dissector: Drop BPF flow dissector prog ref on netns + cleanup (bnc#1012628). +- s390/kexec_file: fix initrd location for kdump kernel + (bnc#1012628). +- tpm: check event log version before reading final events + (bnc#1012628). +- rxrpc: Fix a memory leak in rxkad_verify_response() + (bnc#1012628). +- rxrpc: Fix the excessive initial retransmission timeout + (bnc#1012628). +- iio: imu: st_lsm6dsx: unlock on error in + st_lsm6dsx_shub_write_raw() (bnc#1012628). +- z3fold: fix use-after-free when freeing handles (bnc#1012628). +- sparc32: fix page table traversal in srmmu_nocache_init() + (bnc#1012628). +- sparc32: use PUD rather than PGD to get PMD in + srmmu_nocache_init() (bnc#1012628). +- sh: include linux/time_types.h for sockios (bnc#1012628). +- kasan: disable branch tracing for core runtime (bnc#1012628). +- rapidio: fix an error in get_user_pages_fast() error handling + (bnc#1012628). +- device-dax: don't leak kernel memory to user space after + unloading kmem (bnc#1012628). +- s390/kaslr: add support for R_390_JMP_SLOT relocation type + (bnc#1012628). +- s390/pci: Fix s390_mmio_read/write with MIO (bnc#1012628). +- ipack: tpci200: fix error return code in tpci200_register() + (bnc#1012628). +- mei: release me_cl object reference (bnc#1012628). +- tty: serial: add missing spin_lock_init for SiFive serial + console (bnc#1012628). +- misc: rtsx: Add short delay after exit from ASPM (bnc#1012628). +- driver core: Fix handling of SYNC_STATE_ONLY + STATELESS device + links (bnc#1012628). +- driver core: Fix SYNC_STATE_ONLY device link implementation + (bnc#1012628). +- iio: adc: ti-ads8344: Fix channel selection (bnc#1012628). +- iio: dac: vf610: Fix an error handling path in + 'vf610_dac_probe()' (bnc#1012628). +- iio: sca3000: Remove an erroneous 'get_device()' (bnc#1012628). +- iio: adc: stm32-dfsdm: fix device used to request dma ++++ 48806 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Factory/.kernel-source.new.3606/dtb-riscv64.changes --- /work/SRC/openSUSE:Factory/kernel-source/kernel-64kb.changes 2020-05-26 17:14:10.463307068 +0200 +++ /work/SRC/openSUSE:Factory/.kernel-source.new.3606/kernel-64kb.changes 2020-06-12 21:37:41.851843600 +0200 @@ -1,0 +2,377 @@ +Wed Jun 10 13:51:14 CEST 2020 - [email protected] + +- syscalls: fix offset type of ksys_ftruncate (bsc#1172699). +- commit 8d4977c + +------------------------------------------------------------------- +Tue Jun 9 15:57:54 CEST 2020 - [email protected] + +- armv7/ararch64: Update config files. + Enable IOMMU_DEFAULT_PASSTHROUGH; per jsc#SLE-5568 this should be on by + default, like on x86_64. +- commit bb34387 + +------------------------------------------------------------------- +Mon Jun 8 13:09:55 CEST 2020 - [email protected] + +- Refresh + patches.suse/jbd2-avoid-leaking-transaction-credits-when-unreserv.patch. + Update upstream status. +- commit c3ae43f + +------------------------------------------------------------------- +Mon Jun 8 13:01:33 CEST 2020 - [email protected] + +- KVM: x86/mmu: Set mmio_value to '0' if reserved #PF can't be + generated (bsc#1171904). +- KVM: x86: only do L1TF workaround on affected processors + (bsc#1171904). +- commit 16721c7 + +------------------------------------------------------------------- +Mon Jun 8 07:34:57 CEST 2020 - [email protected] + +- Linux 5.7.1 (bnc#1012628). +- airo: Fix read overflows sending packets (bnc#1012628). +- net: dsa: mt7530: set CPU port to fallback mode (bnc#1012628). +- media: staging: ipu3-imgu: Move alignment attribute to field + (bnc#1012628). +- media: Revert "staging: imgu: Address a compiler warning on + alignment" (bnc#1012628). +- mmc: fix compilation of user API (bnc#1012628). +- kernel/relay.c: handle alloc_percpu returning NULL in relay_open + (bnc#1012628). +- crypto: api - Fix use-after-free and race in crypto_spawn_alg + (bnc#1012628). +- mt76: mt76x02u: Add support for newer versions of the XBox + One wifi adapter (bnc#1012628). +- p54usb: add AirVasT USB stick device-id (bnc#1012628). +- HID: i2c-hid: add Schneider SCL142ALM to descriptor override + (bnc#1012628). +- HID: multitouch: enable multi-input as a quirk for some devices + (bnc#1012628). +- HID: sony: Fix for broken buttons on DS3 USB dongles + (bnc#1012628). +- mm: Fix mremap not considering huge pmd devmap (bnc#1012628). +- media: dvbdev: Fix tuner->demod media controller link + (bnc#1012628). +- commit cc2f849 + +------------------------------------------------------------------- +Thu Jun 4 15:37:08 CEST 2020 - [email protected] + +- config: refresh with gcc10 + gcc10 is default in Tumbleweed now. +- commit 0b1e86b + +------------------------------------------------------------------- +Wed Jun 3 08:50:36 CEST 2020 - [email protected] + +- Revert "Update config files." + This reverts commit 34be040b91701c047e592935bc2dbb46a3947a56. We now + have a fix (previous commit) in place, so change the configuration back + (bsc#1156053). +- commit f4546fe + +------------------------------------------------------------------- +Wed Jun 3 08:08:47 CEST 2020 - [email protected] + +- usercopy: mark dma-kmalloc caches as usercopy caches + (bsc#1156053). +- commit d3b5ce7 + +------------------------------------------------------------------- +Tue Jun 2 09:49:21 CEST 2020 - [email protected] + +- jbd2: avoid leaking transaction credits when unreserving handle + (bnc#1169774). +- commit 8599ef4 + +------------------------------------------------------------------- +Tue Jun 2 09:14:29 CEST 2020 - [email protected] + +- jbd2: avoid leaking transaction credits when unreserving handle + (bnc#1169774). +- Delete + patches.suse/Revert-ext4-make-dioread_nolock-the-default.patch. + Replace revert by the upstream fix. +- commit bfa465b + +------------------------------------------------------------------- +Tue Jun 2 08:38:39 CEST 2020 - [email protected] + +- Refresh + patches.suse/drm-nouveau-Fix-regression-by-audio-component-transition.patch. + Update upstream status. +- commit 3000ce5 + +------------------------------------------------------------------- +Mon Jun 1 06:22:03 CEST 2020 - [email protected] + +- config: enable DEBUG_INFO_BTF + This was disabled when the option was introduced in 5.2-rc1 but it turned + out there are interesting use cases for having it enabled. + Add pahole to build time dependencies as it is used to extracth the BTF + data. Once we figure out how to make it conditional (only if DEBUG_INFO_BTF + exists and is enabled), it should be done in packaging branch. +- commit 9ddab66 + +------------------------------------------------------------------- +Mon Jun 1 06:14:45 CEST 2020 - [email protected] + +- Updated to 5.7 final +- refresh configs +- commit 7cd0da5 + +------------------------------------------------------------------- +Thu May 28 09:58:58 CEST 2020 - [email protected] + +- Update config files. +- commit 6dba057 + +------------------------------------------------------------------- +Thu May 28 09:39:21 CEST 2020 - [email protected] + +- Revert "virtio-balloon: Revert "virtio-balloon: Switch back to + OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM"" (virtio fix). +- commit fe7831e + +------------------------------------------------------------------- +Thu May 28 08:59:08 CEST 2020 - [email protected] + +- Linux 5.6.15 (bnc#1012628). +- blacklist.conf: remove one entry +- sched/fair: Fix enqueue_task_fair() warning some more + (bnc#1012628). +- sched/fair: Fix reordering of enqueue/dequeue_task_fair() + (bnc#1012628). +- sched/fair: Reorder enqueue/dequeue_task_fair path + (bnc#1012628). +- bpf: Prevent mmap()'ing read-only maps as writable + (bnc#1012628). +- rxrpc: Fix ack discard (bnc#1012628). +- rxrpc: Trace discarded ACKs (bnc#1012628). +- x86/unwind/orc: Fix unwind_get_return_address_ptr() for inactive + tasks (bnc#1012628). +- flow_dissector: Drop BPF flow dissector prog ref on netns + cleanup (bnc#1012628). +- s390/kexec_file: fix initrd location for kdump kernel + (bnc#1012628). +- tpm: check event log version before reading final events + (bnc#1012628). +- rxrpc: Fix a memory leak in rxkad_verify_response() + (bnc#1012628). +- rxrpc: Fix the excessive initial retransmission timeout + (bnc#1012628). +- iio: imu: st_lsm6dsx: unlock on error in + st_lsm6dsx_shub_write_raw() (bnc#1012628). +- z3fold: fix use-after-free when freeing handles (bnc#1012628). +- sparc32: fix page table traversal in srmmu_nocache_init() + (bnc#1012628). +- sparc32: use PUD rather than PGD to get PMD in + srmmu_nocache_init() (bnc#1012628). +- sh: include linux/time_types.h for sockios (bnc#1012628). +- kasan: disable branch tracing for core runtime (bnc#1012628). +- rapidio: fix an error in get_user_pages_fast() error handling + (bnc#1012628). +- device-dax: don't leak kernel memory to user space after + unloading kmem (bnc#1012628). +- s390/kaslr: add support for R_390_JMP_SLOT relocation type + (bnc#1012628). +- s390/pci: Fix s390_mmio_read/write with MIO (bnc#1012628). +- ipack: tpci200: fix error return code in tpci200_register() + (bnc#1012628). +- mei: release me_cl object reference (bnc#1012628). +- tty: serial: add missing spin_lock_init for SiFive serial + console (bnc#1012628). +- misc: rtsx: Add short delay after exit from ASPM (bnc#1012628). +- driver core: Fix handling of SYNC_STATE_ONLY + STATELESS device + links (bnc#1012628). +- driver core: Fix SYNC_STATE_ONLY device link implementation + (bnc#1012628). +- iio: adc: ti-ads8344: Fix channel selection (bnc#1012628). +- iio: dac: vf610: Fix an error handling path in + 'vf610_dac_probe()' (bnc#1012628). +- iio: sca3000: Remove an erroneous 'get_device()' (bnc#1012628). +- iio: adc: stm32-dfsdm: fix device used to request dma + (bnc#1012628). ++++ 431 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/kernel-source/kernel-64kb.changes ++++ and /work/SRC/openSUSE:Factory/.kernel-source.new.3606/kernel-64kb.changes kernel-debug.changes: same change kernel-default.changes: same change kernel-docs.changes: same change kernel-kvmsmall.changes: same change kernel-lpae.changes: same change kernel-obs-build.changes: same change kernel-obs-qa.changes: same change kernel-pae.changes: same change kernel-source.changes: same change kernel-syms.changes: same change kernel-vanilla.changes: same change kernel-zfcpdump.changes: same change Old: ---- linux-5.6.tar.xz New: ---- dtb-riscv64.changes dtb-riscv64.spec linux-5.7.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dtb-aarch64.spec ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:01.083916295 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:01.087916298 +0200 @@ -16,8 +16,8 @@ # -%define srcversion 5.6 -%define patchversion 5.6.14 +%define srcversion 5.7 +%define patchversion 5.7.1 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -29,9 +29,9 @@ %(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build}) Name: dtb-aarch64 -Version: 5.6.14 +Version: 5.7.1 %if 0%{?is_kotd} -Release: <RELEASE>.gb0ab48a +Release: <RELEASE>.g6a549f6 %else Release: 0 %endif dtb-armv6l.spec: same change dtb-armv7l.spec: same change ++++++ dtb-riscv64.spec ++++++ # # spec file for package dtb-riscv64 # # Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define srcversion 5.7 %define patchversion 5.7.1 %define variant %{nil} %include %_sourcedir/kernel-spec-macros %if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} >= 120300 ) %define dtc_symbols 1 %endif %(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build}) Name: dtb-riscv64 Version: 5.7.1 %if 0%{?is_kotd} Release: <RELEASE>.g6a549f6 %else Release: 0 %endif Summary: Device Tree files for $MACHINES License: GPL-2.0 Group: System/Boot Url: http://www.kernel.org/ ExclusiveArch: riscv64 BuildRequires: cpp %if 0%{?dtc_symbols} BuildRequires: dtc >= 1.4.3 %else BuildRequires: dtc >= 1.4.0 %endif BuildRequires: xz Requires: kernel = %version Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source2: source-post.sh Source3: kernel-source.rpmlintrc Source8: devel-pre.sh Source9: devel-post.sh Source10: preun.sh Source11: postun.sh Source12: pre.sh Source13: post.sh Source14: series.conf Source16: guards Source17: apply-patches Source21: config.conf Source23: supported.conf Source33: check-for-config-changes Source35: group-source-files.pl Source36: README.PATCH-POLICY.SUSE Source37: README.SUSE Source38: README.KSYMS Source39: config-options.changes.txt Source40: source-timestamp Source46: split-modules Source47: modversions Source48: macros.kernel-source Source49: kernel-module-subpackage Source50: kabi.pl Source51: mkspec Source52: kernel-source%variant.changes Source53: kernel-source.spec.in Source54: kernel-binary.spec.in Source55: kernel-syms.spec.in Source56: kernel-docs.spec.in Source57: kernel-cert-subpackage Source58: constraints.in Source60: config.sh Source61: compute-PATCHVERSION.sh Source62: old-flavors Source63: arch-symbols Source64: package-descriptions Source65: kernel-spec-macros Source67: log.sh Source68: host-memcpy-hack.h Source69: try-disable-staging-driver Source70: kernel-obs-build.spec.in Source71: kernel-obs-qa.spec.in Source72: compress-vmlinux.sh Source73: dtb.spec.in.in Source74: mkspec-dtb Source75: release-projects Source76: check-module-license Source77: klp-symbols Source78: modules.fips Source79: splitflist Source80: mergedep Source81: moddep Source82: modflist Source83: kernel-subpackage-build Source84: kernel-subpackage-spec Source85: kernel-default-base.spec.txt Source100: config.tar.bz2 Source101: config.addon.tar.bz2 Source102: patches.arch.tar.bz2 Source103: patches.drivers.tar.bz2 Source104: patches.fixes.tar.bz2 Source105: patches.rpmify.tar.bz2 Source106: patches.suse.tar.bz2 Source108: patches.addon.tar.bz2 Source109: patches.kernel.org.tar.bz2 Source110: patches.apparmor.tar.bz2 Source111: patches.rt.tar.bz2 Source113: patches.kabi.tar.bz2 Source120: kabi.tar.bz2 Source121: sysctl.tar.bz2 %description Device Tree files for $MACHINES. %package -n dtb-sifive Summary: SiFive based riscv64 systems Group: System/Boot Provides: multiversion(dtb) Requires(post): coreutils %description -n dtb-sifive Device Tree files for SiFive based riscv64 systems. %prep # Unpack all sources and patches %setup -q -c -T -a 0 -a 100 -a 101 -a 102 -a 103 -a 104 -a 105 -a 106 -a 108 -a 109 -a 110 -a 111 -a 113 -a 120 -a 121 cd linux-%srcversion %_sourcedir/apply-patches %_sourcedir/series.conf .. %build source=linux-%srcversion cp $source/COPYING . SRCDIR=`pwd`/$source mkdir pp PPDIR=`pwd`/pp export DTC_FLAGS="-R 4 -p 0x1000" %if 0%{?dtc_symbols} DTC_FLAGS="$DTC_FLAGS -@" %endif cd $source/arch/riscv/boot/dts for dts in sifive/*.dts ; do target=${dts%*.dts} mkdir -p $PPDIR/$(dirname $target) cpp -x assembler-with-cpp -undef -D__DTS__ -nostdinc -I. -I$SRCDIR/include/ -I$SRCDIR/scripts/dtc/include-prefixes/ -P $target.dts -o $PPDIR/$target.dts dtc $DTC_FLAGS -I dts -O dtb -i ./$(dirname $target) -o $PPDIR/$target.dtb $PPDIR/$target.dts done %define dtbdir /boot/dtb-%kernelrelease %install cd pp for dts in sifive/*.dts ; do target=${dts%*.dts} install -m 755 -d %{buildroot}%{dtbdir}/$(dirname $target) # install -m 644 COPYING %{buildroot}%{dtbdir}/$(dirname $target) install -m 644 $target.dtb %{buildroot}%{dtbdir}/$(dirname $target) %ifarch aarch64 riscv64 # HACK: work around U-Boot ignoring vendor dir baselink=%{dtbdir}/$(basename $target).dtb vendordir=$(basename $(dirname $target)) ln -s $target.dtb %{buildroot}$baselink echo $baselink >> ../dtb-$vendordir.list %endif done cd - %post -n dtb-sifive cd /boot # If /boot/dtb is a symlink, remove it, so that we can replace it. [ -d dtb ] && [ -L dtb ] && rm -f dtb # Unless /boot/dtb exists as real directory, create a symlink. [ -d dtb ] || ln -sf dtb-%kernelrelease dtb %ifarch aarch64 riscv64 %files -n dtb-sifive -f dtb-sifive.list %else %files -n dtb-sifive %endif %defattr(-,root,root) %ghost /boot/dtb %dir %{dtbdir} %dir %{dtbdir}/sifive %{dtbdir}/sifive/*.dtb %changelog ++++++ kernel-64kb.spec ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:01.187916368 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:01.191916371 +0200 @@ -17,8 +17,8 @@ # needssslcertforbuild -%define srcversion 5.6 -%define patchversion 5.6.14 +%define srcversion 5.7 +%define patchversion 5.7.1 %define variant %{nil} %define vanilla_only 0 %define compress_modules xz @@ -65,9 +65,9 @@ Summary: Kernel with 64kb PAGE_SIZE License: GPL-2.0 Group: System/Kernel -Version: 5.6.14 +Version: 5.7.1 %if 0%{?is_kotd} -Release: <RELEASE>.gb0ab48a +Release: <RELEASE>.g6a549f6 %else Release: 0 %endif @@ -92,6 +92,8 @@ # Used to sign the kernel in the buildservice BuildRequires: openssl BuildRequires: pesign-obs-integration +# for CONFIG_DEBUG_INFO_BTF - ToDo: make it conditional +BuildRequires: pahole # for objtool BuildRequires: libelf-devel Provides: %name = %version-%source_rel @@ -174,10 +176,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 -Provides: kernel-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +Provides: kernel-%build_flavor-base-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 +Provides: kernel-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 # END COMMON DEPS -Provides: %name-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +Provides: %name-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 %obsolete_rebuilds %name Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source2: source-post.sh ++++++ kernel-debug.spec ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:01.211916385 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:01.215916388 +0200 @@ -17,8 +17,8 @@ # needssslcertforbuild -%define srcversion 5.6 -%define patchversion 5.6.14 +%define srcversion 5.7 +%define patchversion 5.7.1 %define variant %{nil} %define vanilla_only 0 %define compress_modules xz @@ -65,9 +65,9 @@ Summary: A Debug Version of the Kernel License: GPL-2.0 Group: System/Kernel -Version: 5.6.14 +Version: 5.7.1 %if 0%{?is_kotd} -Release: <RELEASE>.gb0ab48a +Release: <RELEASE>.g6a549f6 %else Release: 0 %endif @@ -92,6 +92,8 @@ # Used to sign the kernel in the buildservice BuildRequires: openssl BuildRequires: pesign-obs-integration +# for CONFIG_DEBUG_INFO_BTF - ToDo: make it conditional +BuildRequires: pahole # for objtool BuildRequires: libelf-devel Provides: %name = %version-%source_rel @@ -174,10 +176,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 -Provides: kernel-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +Provides: kernel-%build_flavor-base-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 +Provides: kernel-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 # END COMMON DEPS -Provides: %name-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +Provides: %name-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 %ifarch ppc64 Provides: kernel-kdump = 2.6.28 Obsoletes: kernel-kdump <= 2.6.28 ++++++ kernel-default.spec ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:01.235916402 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:01.239916405 +0200 @@ -17,8 +17,8 @@ # needssslcertforbuild -%define srcversion 5.6 -%define patchversion 5.6.14 +%define srcversion 5.7 +%define patchversion 5.7.1 %define variant %{nil} %define vanilla_only 0 %define compress_modules xz @@ -65,9 +65,9 @@ Summary: The Standard Kernel License: GPL-2.0 Group: System/Kernel -Version: 5.6.14 +Version: 5.7.1 %if 0%{?is_kotd} -Release: <RELEASE>.gb0ab48a +Release: <RELEASE>.g6a549f6 %else Release: 0 %endif @@ -92,6 +92,8 @@ # Used to sign the kernel in the buildservice BuildRequires: openssl BuildRequires: pesign-obs-integration +# for CONFIG_DEBUG_INFO_BTF - ToDo: make it conditional +BuildRequires: pahole # for objtool BuildRequires: libelf-devel Provides: %name = %version-%source_rel @@ -174,10 +176,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 -Provides: kernel-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +Provides: kernel-%build_flavor-base-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 +Provides: kernel-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 # END COMMON DEPS -Provides: %name-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +Provides: %name-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 %ifarch %ix86 Provides: kernel-smp = 2.6.17 Obsoletes: kernel-smp <= 2.6.17 @@ -305,7 +307,7 @@ Source120: kabi.tar.bz2 Source121: sysctl.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: aarch64 armv6hl armv7hl %ix86 ppc64 ppc64le s390x x86_64 +ExclusiveArch: aarch64 armv6hl armv7hl %ix86 ppc64 ppc64le riscv64 s390x x86_64 %define kmp_target_cpu %_target_cpu %ifarch %ix86 # Only i386/default supports i586, mark other flavors' packages as i686 ++++++ kernel-docs.spec ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:01.267916424 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:01.271916427 +0200 @@ -16,8 +16,8 @@ # -%define srcversion 5.6 -%define patchversion 5.6.14 +%define srcversion 5.7 +%define patchversion 5.7.1 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -31,9 +31,9 @@ Summary: Kernel Documentation License: GPL-2.0 Group: Documentation/Man -Version: 5.6.14 +Version: 5.7.1 %if 0%{?is_kotd} -Release: <RELEASE>.gb0ab48a +Release: <RELEASE>.g6a549f6 %else Release: 0 %endif @@ -63,7 +63,7 @@ %endif Url: http://www.kernel.org/ Provides: %name = %version-%source_rel -Provides: %name-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +Provides: %name-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz ++++++ kernel-kvmsmall.spec ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:01.295916444 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:01.299916447 +0200 @@ -17,8 +17,8 @@ # needssslcertforbuild -%define srcversion 5.6 -%define patchversion 5.6.14 +%define srcversion 5.7 +%define patchversion 5.7.1 %define variant %{nil} %define vanilla_only 0 %define compress_modules xz @@ -65,9 +65,9 @@ Summary: The Small Developer Kernel for KVM License: GPL-2.0 Group: System/Kernel -Version: 5.6.14 +Version: 5.7.1 %if 0%{?is_kotd} -Release: <RELEASE>.gb0ab48a +Release: <RELEASE>.g6a549f6 %else Release: 0 %endif @@ -92,6 +92,8 @@ # Used to sign the kernel in the buildservice BuildRequires: openssl BuildRequires: pesign-obs-integration +# for CONFIG_DEBUG_INFO_BTF - ToDo: make it conditional +BuildRequires: pahole # for objtool BuildRequires: libelf-devel Provides: %name = %version-%source_rel @@ -174,10 +176,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 -Provides: kernel-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +Provides: kernel-%build_flavor-base-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 +Provides: kernel-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 # END COMMON DEPS -Provides: %name-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +Provides: %name-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 %obsolete_rebuilds %name Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source2: source-post.sh kernel-lpae.spec: same change ++++++ kernel-obs-build.spec ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:01.347916481 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:01.347916481 +0200 @@ -19,7 +19,7 @@ #!BuildIgnore: post-build-checks -%define patchversion 5.6.14 +%define patchversion 5.7.1 %define variant %{nil} %define vanilla_only 0 @@ -45,14 +45,14 @@ %endif %endif %endif -BuildRequires: kernel%kernel_flavor-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +BuildRequires: kernel%kernel_flavor-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 %if 0%{?rhel_version} BuildRequires: kernel %define kernel_flavor "" %endif -ExclusiveArch: aarch64 armv6hl armv7hl %ix86 ppc64 ppc64le s390x x86_64 +ExclusiveArch: aarch64 armv6hl armv7hl %ix86 ppc64 ppc64le riscv64 s390x x86_64 %if 0%{?suse_version} < 1315 # For SLE 11 BuildRequires: mkinitrd @@ -64,9 +64,9 @@ Summary: package kernel and initrd for OBS VM builds License: GPL-2.0 Group: SLES -Version: 5.6.14 +Version: 5.7.1 %if 0%{?is_kotd} -Release: <RELEASE>.gb0ab48a +Release: <RELEASE>.g6a549f6 %else Release: 0 %endif ++++++ kernel-obs-qa.spec ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:01.367916495 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:01.367916495 +0200 @@ -17,7 +17,7 @@ # needsrootforbuild -%define patchversion 5.6.14 +%define patchversion 5.7.1 %define variant %{nil} %include %_sourcedir/kernel-spec-macros @@ -28,7 +28,7 @@ # here as well to avoid that qa and build package build parallel BuildRequires: kernel-obs-build BuildRequires: modutils -ExclusiveArch: aarch64 armv6hl armv7hl %ix86 ppc64 ppc64le s390x x86_64 +ExclusiveArch: aarch64 armv6hl armv7hl %ix86 ppc64 ppc64le riscv64 s390x x86_64 %if 0%{?suse_version} < 1200 # for SLE 11 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -36,9 +36,9 @@ Summary: Basic QA tests for the kernel License: GPL-2.0 Group: SLES -Version: 5.6.14 +Version: 5.7.1 %if 0%{?is_kotd} -Release: <RELEASE>.gb0ab48a +Release: <RELEASE>.g6a549f6 %else Release: 0 %endif ++++++ kernel-pae.spec ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:01.383916506 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:01.387916509 +0200 @@ -17,8 +17,8 @@ # needssslcertforbuild -%define srcversion 5.6 -%define patchversion 5.6.14 +%define srcversion 5.7 +%define patchversion 5.7.1 %define variant %{nil} %define vanilla_only 0 %define compress_modules xz @@ -65,9 +65,9 @@ Summary: Kernel with PAE Support License: GPL-2.0 Group: System/Kernel -Version: 5.6.14 +Version: 5.7.1 %if 0%{?is_kotd} -Release: <RELEASE>.gb0ab48a +Release: <RELEASE>.g6a549f6 %else Release: 0 %endif @@ -92,6 +92,8 @@ # Used to sign the kernel in the buildservice BuildRequires: openssl BuildRequires: pesign-obs-integration +# for CONFIG_DEBUG_INFO_BTF - ToDo: make it conditional +BuildRequires: pahole # for objtool BuildRequires: libelf-devel Provides: %name = %version-%source_rel @@ -174,10 +176,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 -Provides: kernel-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +Provides: kernel-%build_flavor-base-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 +Provides: kernel-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 # END COMMON DEPS -Provides: %name-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +Provides: %name-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 %ifarch %ix86 Provides: kernel-bigsmp = 2.6.17 Obsoletes: kernel-bigsmp <= 2.6.17 ++++++ kernel-source.spec ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:01.407916523 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:01.411916526 +0200 @@ -17,8 +17,8 @@ # icecream 0 -%define srcversion 5.6 -%define patchversion 5.6.14 +%define srcversion 5.7 +%define patchversion 5.7.1 %define variant %{nil} %define vanilla_only 0 @@ -30,9 +30,9 @@ Summary: The Linux Kernel Sources License: GPL-2.0 Group: Development/Sources -Version: 5.6.14 +Version: 5.7.1 %if 0%{?is_kotd} -Release: <RELEASE>.gb0ab48a +Release: <RELEASE>.g6a549f6 %else Release: 0 %endif @@ -43,7 +43,7 @@ BuildRequires: sed Requires(post): coreutils sed Provides: %name = %version-%source_rel -Provides: %name-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +Provides: %name-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 Provides: linux Provides: multiversion(kernel) Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz @@ -130,6 +130,7 @@ Recommends: flex Recommends: libelf-devel Recommends: openssl-devel +%obsolete_rebuilds %name %(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build}) @@ -144,6 +145,7 @@ %source_timestamp %package -n kernel-devel%variant +%obsolete_rebuilds kernel-devel%variant Summary: Development files needed for building kernel modules Group: Development/Sources AutoReqProv: off @@ -171,6 +173,7 @@ %source_timestamp %package vanilla +%obsolete_rebuilds %name-vanilla Summary: Vanilla Linux kernel sources with minor build fixes Group: Development/Sources AutoReqProv: off ++++++ kernel-syms.spec ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:01.435916542 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:01.435916542 +0200 @@ -24,10 +24,10 @@ Summary: Kernel Symbol Versions (modversions) License: GPL-2.0 Group: Development/Sources -Version: 5.6.14 +Version: 5.7.1 %if %using_buildservice %if 0%{?is_kotd} -Release: <RELEASE>.gb0ab48a +Release: <RELEASE>.g6a549f6 %else Release: 0 %endif @@ -41,7 +41,7 @@ %ifarch aarch64 Requires: kernel-64kb-devel = %version-%source_rel %endif -%ifarch aarch64 armv6hl armv7hl %ix86 ppc64 ppc64le s390x x86_64 +%ifarch aarch64 armv6hl armv7hl %ix86 ppc64 ppc64le riscv64 s390x x86_64 Requires: kernel-default-devel = %version-%source_rel %endif %ifarch armv7hl @@ -52,12 +52,12 @@ %endif Requires: pesign-obs-integration Provides: %name = %version-%source_rel -Provides: %name-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +Provides: %name-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 Provides: multiversion(kernel) Source: README.KSYMS Requires: kernel-devel%variant = %version-%source_rel BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: %ix86 aarch64 armv6hl armv7hl ppc64 ppc64le s390x x86_64 +ExclusiveArch: %ix86 aarch64 armv6hl armv7hl ppc64 ppc64le riscv64 s390x x86_64 Prefix: /usr/src %description ++++++ kernel-vanilla.spec ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:01.455916557 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:01.459916560 +0200 @@ -17,8 +17,8 @@ # needssslcertforbuild -%define srcversion 5.6 -%define patchversion 5.6.14 +%define srcversion 5.7 +%define patchversion 5.7.1 %define variant %{nil} %define vanilla_only 0 %define compress_modules xz @@ -65,9 +65,9 @@ Summary: The Standard Kernel - without any SUSE patches License: GPL-2.0 Group: System/Kernel -Version: 5.6.14 +Version: 5.7.1 %if 0%{?is_kotd} -Release: <RELEASE>.gb0ab48a +Release: <RELEASE>.g6a549f6 %else Release: 0 %endif @@ -92,6 +92,8 @@ # Used to sign the kernel in the buildservice BuildRequires: openssl BuildRequires: pesign-obs-integration +# for CONFIG_DEBUG_INFO_BTF - ToDo: make it conditional +BuildRequires: pahole # for objtool BuildRequires: libelf-devel Provides: %name = %version-%source_rel @@ -174,10 +176,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 -Provides: kernel-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +Provides: kernel-%build_flavor-base-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 +Provides: kernel-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 # END COMMON DEPS -Provides: %name-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +Provides: %name-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 %obsolete_rebuilds %name Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source2: source-post.sh @@ -253,7 +255,7 @@ Source120: kabi.tar.bz2 Source121: sysctl.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: aarch64 armv6hl armv7hl %ix86 ppc64 ppc64le s390x x86_64 +ExclusiveArch: aarch64 armv6hl armv7hl %ix86 ppc64 ppc64le riscv64 s390x x86_64 %define kmp_target_cpu %_target_cpu %ifarch %ix86 # Only i386/default supports i586, mark other flavors' packages as i686 ++++++ kernel-zfcpdump.spec ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:01.479916573 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:01.483916576 +0200 @@ -17,8 +17,8 @@ # needssslcertforbuild -%define srcversion 5.6 -%define patchversion 5.6.14 +%define srcversion 5.7 +%define patchversion 5.7.1 %define variant %{nil} %define vanilla_only 0 %define compress_modules xz @@ -65,9 +65,9 @@ Summary: The IBM System Z zfcpdump Kernel License: GPL-2.0 Group: System/Kernel -Version: 5.6.14 +Version: 5.7.1 %if 0%{?is_kotd} -Release: <RELEASE>.gb0ab48a +Release: <RELEASE>.g6a549f6 %else Release: 0 %endif @@ -92,6 +92,8 @@ # Used to sign the kernel in the buildservice BuildRequires: openssl BuildRequires: pesign-obs-integration +# for CONFIG_DEBUG_INFO_BTF - ToDo: make it conditional +BuildRequires: pahole # for objtool BuildRequires: libelf-devel Provides: %name = %version-%source_rel @@ -174,10 +176,10 @@ Conflicts: libc.so.6()(64bit) %endif Provides: kernel = %version-%source_rel -Provides: kernel-%build_flavor-base-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 -Provides: kernel-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +Provides: kernel-%build_flavor-base-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 +Provides: kernel-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 # END COMMON DEPS -Provides: %name-srchash-b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +Provides: %name-srchash-6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 %obsolete_rebuilds %name Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source2: source-post.sh ++++++ config.conf ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:01.671916709 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:01.671916709 +0200 @@ -42,3 +42,6 @@ +s390x s390x/default +s390x s390x/vanilla +s390x -syms s390x/zfcpdump + ++riscv64 riscv64/default ++riscv64 riscv64/vanilla ++++++ config.sh ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:01.687916720 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:01.691916723 +0200 @@ -1,5 +1,5 @@ # The version of the main tarball to use -SRCVERSION=5.6 +SRCVERSION=5.7 # variant of the kernel-source package, either empty or "-rt" VARIANT= # enable kernel module compression ++++++ config.tar.bz2 ++++++ ++++ 17739 lines of diff (skipped) ++++++ kernel-binary.spec.in ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:02.067916987 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:02.067916987 +0200 @@ -92,6 +92,8 @@ # Used to sign the kernel in the buildservice BuildRequires: openssl BuildRequires: pesign-obs-integration +# for CONFIG_DEBUG_INFO_BTF - ToDo: make it conditional +BuildRequires: pahole # for objtool BuildRequires: libelf-devel Provides: %name = %version-%source_rel ++++++ kernel-source.spec.in ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:02.187917073 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:02.187917073 +0200 @@ -130,6 +130,7 @@ Recommends: flex Recommends: libelf-devel Recommends: openssl-devel +%obsolete_rebuilds %name %(chmod +x %_sourcedir/{@SCRIPTS@}) @@ -144,6 +145,7 @@ %source_timestamp %package -n kernel-devel%variant +%obsolete_rebuilds kernel-devel%variant Summary: Development files needed for building kernel modules Group: Development/Sources AutoReqProv: off @@ -171,6 +173,7 @@ %source_timestamp %package vanilla +%obsolete_rebuilds %name-vanilla Summary: Vanilla Linux kernel sources with minor build fixes Group: Development/Sources AutoReqProv: off ++++++ linux-5.6.tar.xz -> linux-5.7.tar.xz ++++++ /work/SRC/openSUSE:Factory/kernel-source/linux-5.6.tar.xz /work/SRC/openSUSE:Factory/.kernel-source.new.3606/linux-5.7.tar.xz differ: char 15, line 1 ++++++ patches.kernel.org.tar.bz2 ++++++ ++++ 109337 lines of diff (skipped) ++++++ patches.suse.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/KVM-x86-mmu-Set-mmio_value-to-0-if-reserved-PF-can-t.patch new/patches.suse/KVM-x86-mmu-Set-mmio_value-to-0-if-reserved-PF-can-t.patch --- old/patches.suse/KVM-x86-mmu-Set-mmio_value-to-0-if-reserved-PF-can-t.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/KVM-x86-mmu-Set-mmio_value-to-0-if-reserved-PF-can-t.patch 2020-06-10 13:51:14.000000000 +0200 @@ -0,0 +1,62 @@ +From: Sean Christopherson <[email protected]> +Date: Wed, 27 May 2020 01:49:09 -0700 +Subject: KVM: x86/mmu: Set mmio_value to '0' if reserved #PF can't be + generated +Git-commit: 6129ed877d409037b79866327102c9dc59a302fe +Patch-mainline: v5.8-rc1 +References: bsc#1171904 + +Set the mmio_value to '0' instead of simply clearing the present bit to +squash a benign warning in kvm_mmu_set_mmio_spte_mask() that complains +about the mmio_value overlapping the lower GFN mask on systems with 52 +bits of PA space. + +Opportunistically clean up the code and comments. + +Cc: [email protected] +Fixes: d43e2675e96fc ("KVM: x86: only do L1TF workaround on affected processors") +Signed-off-by: Sean Christopherson <[email protected]> +Message-Id: <[email protected]> +Signed-off-by: Paolo Bonzini <[email protected]> +Signed-off-by: Jiri Slaby <[email protected]> +--- + arch/x86/kvm/mmu/mmu.c | 27 +++++++++------------------ + 1 file changed, 9 insertions(+), 18 deletions(-) + +--- a/arch/x86/kvm/mmu/mmu.c ++++ b/arch/x86/kvm/mmu/mmu.c +@@ -6143,25 +6143,16 @@ static void kvm_set_mmio_spte_mask(void) + u64 mask; + + /* +- * Set the reserved bits and the present bit of an paging-structure +- * entry to generate page fault with PFER.RSV = 1. ++ * Set a reserved PA bit in MMIO SPTEs to generate page faults with ++ * PFEC.RSVD=1 on MMIO accesses. 64-bit PTEs (PAE, x86-64, and EPT ++ * paging) support a maximum of 52 bits of PA, i.e. if the CPU supports ++ * 52-bit physical addresses then there are no reserved PA bits in the ++ * PTEs and so the reserved PA approach must be disabled. + */ +- +- /* +- * Mask the uppermost physical address bit, which would be reserved as +- * long as the supported physical address width is less than 52. +- */ +- mask = 1ull << 51; +- +- /* Set the present bit. */ +- mask |= 1ull; +- +- /* +- * If reserved bit is not supported, clear the present bit to disable +- * mmio page fault. +- */ +- if (shadow_phys_bits == 52) +- mask &= ~1ull; ++ if (shadow_phys_bits < 52) ++ mask = BIT_ULL(51) | PT_PRESENT_MASK; ++ else ++ mask = 0; + + kvm_mmu_set_mmio_spte_mask(mask, mask, ACC_WRITE_MASK | ACC_USER_MASK); + } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/KVM-x86-only-do-L1TF-workaround-on-affected-processo.patch new/patches.suse/KVM-x86-only-do-L1TF-workaround-on-affected-processo.patch --- old/patches.suse/KVM-x86-only-do-L1TF-workaround-on-affected-processo.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/KVM-x86-only-do-L1TF-workaround-on-affected-processo.patch 2020-06-10 13:51:14.000000000 +0200 @@ -0,0 +1,73 @@ +From: Paolo Bonzini <[email protected]> +Date: Tue, 19 May 2020 05:34:41 -0400 +Subject: KVM: x86: only do L1TF workaround on affected processors +Git-commit: d43e2675e96fc6ae1a633b6a69d296394448cc32 +Patch-mainline: v5.8-rc1 +References: bsc#1171904 + +KVM stores the gfn in MMIO SPTEs as a caching optimization. These are split +in two parts, as in "[high 11111 low]", to thwart any attempt to use these bits +in an L1TF attack. This works as long as there are 5 free bits between +MAXPHYADDR and bit 50 (inclusive), leaving bit 51 free so that the MMIO +access triggers a reserved-bit-set page fault. + +The bit positions however were computed wrongly for AMD processors that have +encryption support. In this case, x86_phys_bits is reduced (for example +from 48 to 43, to account for the C bit at position 47 and four bits used +internally to store the SEV ASID and other stuff) while x86_cache_bits in +would remain set to 48, and _all_ bits between the reduced MAXPHYADDR +and bit 51 are set. Then low_phys_bits would also cover some of the +bits that are set in the shadow_mmio_value, terribly confusing the gfn +caching mechanism. + +To fix this, avoid splitting gfns as long as the processor does not have +the L1TF bug (which includes all AMD processors). When there is no +splitting, low_phys_bits can be set to the reduced MAXPHYADDR removing +the overlap. This fixes "npt=0" operation on EPYC processors. + +Thanks to Maxim Levitsky for bisecting this bug. + +Cc: [email protected] +Fixes: 52918ed5fcf0 ("KVM: SVM: Override default MMIO mask if memory encryption is enabled") +Signed-off-by: Paolo Bonzini <[email protected]> +Signed-off-by: Jiri Slaby <[email protected]> +--- + arch/x86/kvm/mmu/mmu.c | 19 ++++++++++--------- + 1 file changed, 10 insertions(+), 9 deletions(-) + +--- a/arch/x86/kvm/mmu/mmu.c ++++ b/arch/x86/kvm/mmu/mmu.c +@@ -335,6 +335,8 @@ void kvm_mmu_set_mmio_spte_mask(u64 mmio + { + BUG_ON((u64)(unsigned)access_mask != access_mask); + BUG_ON((mmio_mask & mmio_value) != mmio_value); ++ WARN_ON(mmio_value & (shadow_nonpresent_or_rsvd_mask << shadow_nonpresent_or_rsvd_mask_len)); ++ WARN_ON(mmio_value & shadow_nonpresent_or_rsvd_lower_gfn_mask); + shadow_mmio_value = mmio_value | SPTE_MMIO_MASK; + shadow_mmio_mask = mmio_mask | SPTE_SPECIAL_MASK; + shadow_mmio_access_mask = access_mask; +@@ -583,16 +585,15 @@ static void kvm_mmu_reset_all_pte_masks( + * the most significant bits of legal physical address space. + */ + shadow_nonpresent_or_rsvd_mask = 0; +- low_phys_bits = boot_cpu_data.x86_cache_bits; +- if (boot_cpu_data.x86_cache_bits < +- 52 - shadow_nonpresent_or_rsvd_mask_len) { ++ low_phys_bits = boot_cpu_data.x86_phys_bits; ++ if (boot_cpu_has_bug(X86_BUG_L1TF) && ++ !WARN_ON_ONCE(boot_cpu_data.x86_cache_bits >= ++ 52 - shadow_nonpresent_or_rsvd_mask_len)) { ++ low_phys_bits = boot_cpu_data.x86_cache_bits ++ - shadow_nonpresent_or_rsvd_mask_len; + shadow_nonpresent_or_rsvd_mask = +- rsvd_bits(boot_cpu_data.x86_cache_bits - +- shadow_nonpresent_or_rsvd_mask_len, +- boot_cpu_data.x86_cache_bits - 1); +- low_phys_bits -= shadow_nonpresent_or_rsvd_mask_len; +- } else +- WARN_ON_ONCE(boot_cpu_has_bug(X86_BUG_L1TF)); ++ rsvd_bits(low_phys_bits, boot_cpu_data.x86_cache_bits - 1); ++ } + + shadow_nonpresent_or_rsvd_lower_gfn_mask = + GENMASK_ULL(low_phys_bits - 1, PAGE_SHIFT); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/Revert-ext4-make-dioread_nolock-the-default.patch new/patches.suse/Revert-ext4-make-dioread_nolock-the-default.patch --- old/patches.suse/Revert-ext4-make-dioread_nolock-the-default.patch 2020-05-20 10:32:48.000000000 +0200 +++ new/patches.suse/Revert-ext4-make-dioread_nolock-the-default.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,47 +0,0 @@ -From: Jiri Slaby <[email protected]> -Date: Thu, 30 Apr 2020 12:38:22 +0200 -Subject: Revert "ext4: make dioread_nolock the default" -Patch-mainline: no, under discussion -References: bnc#1169774 - -This reverts commit 244adf6426ee31a83f397b700d964cff12a247d3. - -It slows down i586 I/O several times. - -Signed-off-by: Jiri Slaby <[email protected]> ---- - fs/ext4/super.c | 9 +++------ - 1 file changed, 3 insertions(+), 6 deletions(-) - ---- a/fs/ext4/super.c -+++ b/fs/ext4/super.c -@@ -1603,7 +1603,6 @@ static const match_table_t tokens = { - {Opt_auto_da_alloc, "auto_da_alloc"}, - {Opt_noauto_da_alloc, "noauto_da_alloc"}, - {Opt_dioread_nolock, "dioread_nolock"}, -- {Opt_dioread_lock, "nodioread_nolock"}, - {Opt_dioread_lock, "dioread_lock"}, - {Opt_discard, "discard"}, - {Opt_nodiscard, "nodiscard"}, -@@ -3845,9 +3844,6 @@ static int ext4_fill_super(struct super_ - - blocksize = BLOCK_SIZE << le32_to_cpu(es->s_log_block_size); - -- if (blocksize == PAGE_SIZE) -- set_opt(sb, DIOREAD_NOLOCK); -- - if (blocksize < EXT4_MIN_BLOCK_SIZE || - blocksize > EXT4_MAX_BLOCK_SIZE) { - ext4_msg(sb, KERN_ERR, -@@ -3976,8 +3972,9 @@ static int ext4_fill_super(struct super_ - #endif - - if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) { -- printk_once(KERN_WARNING "EXT4-fs: Warning: mounting with data=journal disables delayed allocation, dioread_nolock, and O_DIRECT support!\n"); -- clear_opt(sb, DIOREAD_NOLOCK); -+ printk_once(KERN_WARNING "EXT4-fs: Warning: mounting " -+ "with data=journal disables delayed " -+ "allocation and O_DIRECT support!\n"); - if (test_opt2(sb, EXPLICIT_DELALLOC)) { - ext4_msg(sb, KERN_ERR, "can't mount with " - "both data=journal and delalloc"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/acpi_thinkpad_introduce_acpi_root_table_boot_param.patch new/patches.suse/acpi_thinkpad_introduce_acpi_root_table_boot_param.patch --- old/patches.suse/acpi_thinkpad_introduce_acpi_root_table_boot_param.patch 2020-05-20 10:32:48.000000000 +0200 +++ new/patches.suse/acpi_thinkpad_introduce_acpi_root_table_boot_param.patch 2020-06-10 13:51:14.000000000 +0200 @@ -1,7 +1,7 @@ From: Thomas Renninger <[email protected]> Subject: Introduce acpi_root_table=rsdt boot param and dmi list to force rsdt Patch-mainline: No, <jeffm: awaiting feedback from trenn, Oct 4, 2017> -References: http://bugzilla.kernel.org/show_bug.cgi?id=8246 +References: bko#8246 This one is part of a patch series: acpi_thinkpad_introduce_acpi_root_table_boot_param.patch @@ -25,15 +25,14 @@ Signed-off-by: Thomas Renninger <[email protected]> Tested-by: Mark Doughty <[email protected]> CC: Yakui Zhao <[email protected]> - --- - arch/x86/kernel/acpi/boot.c | 53 ++++++++++++++++++++++++++++++++++++++++++++ - drivers/acpi/tables.c | 3 ++ + arch/x86/kernel/acpi/boot.c | 53 +++++++++++++++++++++++++++++++++++++ + drivers/acpi/tables.c | 3 +++ 2 files changed, 56 insertions(+) --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c -@@ -1350,6 +1350,21 @@ static int __init dmi_ignore_irq0_timer_ +@@ -1365,6 +1365,21 @@ static int __init dmi_ignore_irq0_timer_override(const struct dmi_system_id *d) return 0; } @@ -55,7 +54,7 @@ /* * ACPI offers an alternative platform interface model that removes * ACPI hardware requirements for platforms that do not implement -@@ -1425,6 +1440,32 @@ static struct dmi_system_id __initdata a +@@ -1464,6 +1479,32 @@ static const struct dmi_system_id acpi_dmi_table[] __initconst = { DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 360"), }, }, @@ -88,9 +87,9 @@ {} }; -@@ -1612,6 +1653,18 @@ static int __init parse_acpi(char *arg) +@@ -1679,6 +1720,18 @@ static int __init parse_acpi_bgrt(char *arg) } - early_param("acpi", parse_acpi); + early_param("bgrt_disable", parse_acpi_bgrt); +/* Alias for acpi=rsdt for compatibility with openSUSE 11.1 and SLE11 */ +static int __init parse_acpi_root_table(char *opt) @@ -109,7 +108,7 @@ { --- a/drivers/acpi/tables.c +++ b/drivers/acpi/tables.c -@@ -339,6 +339,9 @@ int __init acpi_table_init(void) +@@ -811,6 +811,9 @@ int __init acpi_table_init(void) acpi_gbl_enable_table_validation = FALSE; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/btrfs-btrfs-use-the-new-VFS-super_block_dev.patch new/patches.suse/btrfs-btrfs-use-the-new-VFS-super_block_dev.patch --- old/patches.suse/btrfs-btrfs-use-the-new-VFS-super_block_dev.patch 2020-05-20 10:32:48.000000000 +0200 +++ new/patches.suse/btrfs-btrfs-use-the-new-VFS-super_block_dev.patch 2020-06-10 13:51:14.000000000 +0200 @@ -20,7 +20,7 @@ --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h -@@ -1297,11 +1297,8 @@ struct btrfs_root { +@@ -1075,11 +1075,8 @@ struct btrfs_root { * protected by inode_lock */ struct radix_tree_root delayed_nodes_tree; @@ -36,7 +36,7 @@ refcount_t refs; --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c -@@ -1218,9 +1218,9 @@ static void __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info, +@@ -1149,9 +1149,9 @@ static void __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info, else root->defrag_trans_start = 0; root->root_key.objectid = objectid; @@ -45,9 +45,9 @@ spin_lock_init(&root->root_item_lock); + init_anon_sbdev(&root->sbdev); btrfs_qgroup_init_swapped_blocks(&root->swapped_blocks); - } - -@@ -1510,7 +1510,7 @@ int btrfs_init_fs_root(struct btrfs_root *root) + #ifdef CONFIG_BTRFS_DEBUG + INIT_LIST_HEAD(&root->leak_list); +@@ -1429,7 +1429,7 @@ static int btrfs_init_fs_root(struct btrfs_root *root) spin_lock_init(&root->ino_cache_lock); init_waitqueue_head(&root->ino_cache_wait); @@ -56,19 +56,19 @@ if (ret) goto fail; -@@ -3867,8 +3867,7 @@ void btrfs_free_fs_root(struct btrfs_root *root) - { - iput(root->ino_cache_inode); - WARN_ON(!RB_EMPTY_ROOT(&root->inode_tree)); -- if (root->anon_dev) -- free_anon_bdev(root->anon_dev); -+ remove_anon_sbdev(&root->sbdev); - if (root->subv_writers) - btrfs_free_subvolume_writers(root->subv_writers); - free_extent_buffer(root->node); +@@ -1995,8 +1995,7 @@ void btrfs_put_root(struct btrfs_root *root) + + if (refcount_dec_and_test(&root->refs)) { + WARN_ON(!RB_EMPTY_ROOT(&root->inode_tree)); +- if (root->anon_dev) +- free_anon_bdev(root->anon_dev); ++ remove_anon_sbdev(&root->sbdev); + btrfs_drew_lock_destroy(&root->snapshot_lock); + free_extent_buffer(root->node); + free_extent_buffer(root->commit_root); --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c -@@ -9349,7 +9349,7 @@ static int btrfs_getattr(const struct path *path, struct kstat *stat, +@@ -9027,7 +9027,7 @@ static int btrfs_getattr(const struct path *path, struct kstat *stat, STATX_ATTR_NODUMP); generic_fillattr(inode, stat); @@ -79,7 +79,7 @@ delalloc_bytes = BTRFS_I(inode)->new_delalloc_bytes; --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c -@@ -2291,7 +2291,7 @@ static int btrfs_show_devname(struct seq_file *m, struct dentry *root) +@@ -2330,7 +2330,7 @@ static int btrfs_show_devname(struct seq_file *m, struct dentry *root) static dev_t btrfs_get_inode_dev(const struct inode *inode) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/drm-nouveau-Fix-regression-by-audio-component-transition.patch new/patches.suse/drm-nouveau-Fix-regression-by-audio-component-transition.patch --- old/patches.suse/drm-nouveau-Fix-regression-by-audio-component-transition.patch 2020-05-20 10:32:48.000000000 +0200 +++ new/patches.suse/drm-nouveau-Fix-regression-by-audio-component-transition.patch 2020-06-10 13:51:14.000000000 +0200 @@ -2,7 +2,9 @@ Subject: [PATCH] drm/nouveau: Fix regression by audio component transition Date: Thu, 16 Apr 2020 09:54:28 +0200 Message-id: <[email protected]> -Patch-mainline: Submitted, dri-devel ML +Patch-mainline: Queued in subsystem maintainer repository +Git-repo: git://git.freedesktop.org/git/drm/drm.git#drm-next +Git-commit: f1fbedbd165fc462e45093936c334f48732bd4f0 References: bsc#1170951 Since the commit 742db30c4ee6 ("drm/nouveau: Add HD-audio component diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/jbd2-avoid-leaking-transaction-credits-when-unreserv.patch new/patches.suse/jbd2-avoid-leaking-transaction-credits-when-unreserv.patch --- old/patches.suse/jbd2-avoid-leaking-transaction-credits-when-unreserv.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/jbd2-avoid-leaking-transaction-credits-when-unreserv.patch 2020-06-10 13:51:14.000000000 +0200 @@ -0,0 +1,70 @@ +From: Jan Kara <[email protected]> +Date: Wed, 20 May 2020 15:31:19 +0200 +Subject: jbd2: avoid leaking transaction credits when unreserving handle +Git-commit: 14ff6286309e2853aed50083c9a83328423fdd8c +Patch-mainline: v5.8-rc1 +References: bnc#1169774 + +When reserved transaction handle is unused, we subtract its reserved +credits in __jbd2_journal_unreserve_handle() called from +jbd2_journal_stop(). However this function forgets to remove reserved +credits from transaction->t_outstanding_credits and thus the transaction +space that was reserved remains effectively leaked. The leaked +transaction space can be quite significant in some cases and leads to +unnecessarily small transactions and thus reducing throughput of the +journalling machinery. E.g. fsmark workload creating lots of 4k files +was observed to have about 20% lower throughput due to this when ext4 is +mounted with dioread_nolock mount option. + +Subtract reserved credits from t_outstanding_credits as well. + +CC: [email protected] +Fixes: 8f7d89f36829 ("jbd2: transaction reservation support") +Reviewed-by: Andreas Dilger <[email protected]> +Signed-off-by: Jan Kara <[email protected]> +Link: https://lore.kernel.org/r/[email protected] +Signed-off-by: Theodore Ts'o <[email protected]> +Signed-off-by: Jiri Slaby <[email protected]> +--- + fs/jbd2/transaction.c | 14 +++++++++++--- + 1 file changed, 11 insertions(+), 3 deletions(-) + +--- a/fs/jbd2/transaction.c ++++ b/fs/jbd2/transaction.c +@@ -541,17 +541,24 @@ handle_t *jbd2_journal_start(journal_t * + } + EXPORT_SYMBOL(jbd2_journal_start); + +-static void __jbd2_journal_unreserve_handle(handle_t *handle) ++static void __jbd2_journal_unreserve_handle(handle_t *handle, transaction_t *t) + { + journal_t *journal = handle->h_journal; + + WARN_ON(!handle->h_reserved); + sub_reserved_credits(journal, handle->h_total_credits); ++ if (t) ++ atomic_sub(handle->h_total_credits, &t->t_outstanding_credits); + } + + void jbd2_journal_free_reserved(handle_t *handle) + { +- __jbd2_journal_unreserve_handle(handle); ++ journal_t *journal = handle->h_journal; ++ ++ /* Get j_state_lock to pin running transaction if it exists */ ++ read_lock(&journal->j_state_lock); ++ __jbd2_journal_unreserve_handle(handle, journal->j_running_transaction); ++ read_unlock(&journal->j_state_lock); + jbd2_free_handle(handle); + } + EXPORT_SYMBOL(jbd2_journal_free_reserved); +@@ -722,7 +729,8 @@ static void stop_this_handle(handle_t *h + atomic_sub(handle->h_total_credits, + &transaction->t_outstanding_credits); + if (handle->h_rsv_handle) +- __jbd2_journal_unreserve_handle(handle->h_rsv_handle); ++ __jbd2_journal_unreserve_handle(handle->h_rsv_handle, ++ transaction); + if (atomic_dec_and_test(&transaction->t_updates)) + wake_up(&journal->j_wait_updates); + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/media-go7007-Fix-URB-type-for-interrupt-handling.patch new/patches.suse/media-go7007-Fix-URB-type-for-interrupt-handling.patch --- old/patches.suse/media-go7007-Fix-URB-type-for-interrupt-handling.patch 2020-05-20 10:32:48.000000000 +0200 +++ new/patches.suse/media-go7007-Fix-URB-type-for-interrupt-handling.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,46 +0,0 @@ -From: Takashi Iwai <[email protected]> -Subject: [PATCH] media: go7007: Fix URB type for interrupt handling -Date: Thu, 6 Feb 2020 16:45:27 +0100 -Message-id: <[email protected]> -Git-commit: a3ea410cac41b19a5490aad7fe6d9a9a772e646e -Patch-mainline: v5.7-rc1 -References: bsc#1162583 - -Josef reported that his old-and-good Plextor ConvertX M402U video -converter spews lots of WARNINGs on the recent kernels, and it turned -out that the device uses a bulk endpoint for interrupt handling just -like 2250 board. - -For fixing it, generalize the check with the proper verification of -the endpoint instead of hard-coded board type check. - -Fixes: 7e5219d18e93 ("[media] go7007: Fix 2250 urb type") -Reported-and-tested-by: Josef Möllers <[email protected]> -Buglink: https://bugzilla.suse.com/show_bug.cgi?id=1162583 -Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=206427 -Signed-off-by: Takashi Iwai <[email protected]> - ---- - drivers/media/usb/go7007/go7007-usb.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - ---- a/drivers/media/usb/go7007/go7007-usb.c -+++ b/drivers/media/usb/go7007/go7007-usb.c -@@ -1044,6 +1044,7 @@ static int go7007_usb_probe(struct usb_i - struct go7007_usb *usb; - const struct go7007_usb_board *board; - struct usb_device *usbdev = interface_to_usbdev(intf); -+ struct usb_host_endpoint *ep; - unsigned num_i2c_devs; - char *name; - int video_pipe, i, v_urb_len; -@@ -1140,7 +1141,8 @@ static int go7007_usb_probe(struct usb_i - if (usb->intr_urb->transfer_buffer == NULL) - goto allocfail; - -- if (go->board_id == GO7007_BOARDID_SENSORAY_2250) -+ ep = usb->usbdev->ep_in[4]; -+ if (usb_endpoint_type(&ep->desc) == USB_ENDPOINT_XFER_BULK) - usb_fill_bulk_urb(usb->intr_urb, usb->usbdev, - usb_rcvbulkpipe(usb->usbdev, 4), - usb->intr_urb->transfer_buffer, 2*sizeof(u16), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/mmc-sdhci-introduce-sdhci_set_power_and_bus_voltage.patch new/patches.suse/mmc-sdhci-introduce-sdhci_set_power_and_bus_voltage.patch --- old/patches.suse/mmc-sdhci-introduce-sdhci_set_power_and_bus_voltage.patch 2020-05-20 10:32:48.000000000 +0200 +++ new/patches.suse/mmc-sdhci-introduce-sdhci_set_power_and_bus_voltage.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,68 +0,0 @@ -From: Nicolas Saenz Julienne <[email protected]> -Date: Fri, 6 Mar 2020 18:44:03 +0100 -Subject: mmc: sdhci: Introduce sdhci_set_power_and_bus_voltage() -Git-commit: 003a3309cfaa7f45412409eb84239efb6f2054f5 -Patch-mainline: Queued, in subsystem mainteiner tree, needed now as firmware - changes will make RPi4 unbootable without it. -Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git -References: bsc#1165954 - -Some controllers diverge from the standard way of setting power and need -their bus voltage register to be configured regardless of the whether -they use regulators. As this is a common pattern across sdhci hosts, -create a helper function. - -Signed-off-by: Nicolas Saenz Julienne <[email protected]> -Acked-by: Adrian Hunter <[email protected]> -Link: https://lore.kernel.org/r/[email protected] -Signed-off-by: Ulf Hansson <[email protected]> ---- - drivers/mmc/host/sdhci.c | 19 +++++++++++++++++++ - drivers/mmc/host/sdhci.h | 3 +++ - 2 files changed, 22 insertions(+) - -diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c -index c59566363a42..525e0c971c6a 100644 ---- a/drivers/mmc/host/sdhci.c -+++ b/drivers/mmc/host/sdhci.c -@@ -2010,6 +2010,25 @@ void sdhci_set_power(struct sdhci_host *host, unsigned char mode, - } - EXPORT_SYMBOL_GPL(sdhci_set_power); - -+/* -+ * Some controllers need to configure a valid bus voltage on their power -+ * register regardless of whether an external regulator is taking care of power -+ * supply. This helper function takes care of it if set as the controller's -+ * sdhci_ops.set_power callback. -+ */ -+void sdhci_set_power_and_bus_voltage(struct sdhci_host *host, -+ unsigned char mode, -+ unsigned short vdd) -+{ -+ if (!IS_ERR(host->mmc->supply.vmmc)) { -+ struct mmc_host *mmc = host->mmc; -+ -+ mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); -+ } -+ sdhci_set_power_noreg(host, mode, vdd); -+} -+EXPORT_SYMBOL_GPL(sdhci_set_power_and_bus_voltage); -+ - /*****************************************************************************\ - * * - * MMC callbacks * -diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h -index 249635692112..851b81565f46 100644 ---- a/drivers/mmc/host/sdhci.h -+++ b/drivers/mmc/host/sdhci.h -@@ -772,6 +772,9 @@ void sdhci_set_clock(struct sdhci_host *host, unsigned int clock); - void sdhci_enable_clk(struct sdhci_host *host, u16 clk); - void sdhci_set_power(struct sdhci_host *host, unsigned char mode, - unsigned short vdd); -+void sdhci_set_power_and_bus_voltage(struct sdhci_host *host, -+ unsigned char mode, -+ unsigned short vdd); - void sdhci_set_power_noreg(struct sdhci_host *host, unsigned char mode, - unsigned short vdd); - void sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq); - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/mmc-sdhci-iproc-add-custom-set_power-callback-for-bcm2711.patch new/patches.suse/mmc-sdhci-iproc-add-custom-set_power-callback-for-bcm2711.patch --- old/patches.suse/mmc-sdhci-iproc-add-custom-set_power-callback-for-bcm2711.patch 2020-05-20 10:32:48.000000000 +0200 +++ new/patches.suse/mmc-sdhci-iproc-add-custom-set_power-callback-for-bcm2711.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,56 +0,0 @@ -From: Nicolas Saenz Julienne <[email protected]> -Date: Fri, 6 Mar 2020 18:44:11 +0100 -Subject: mmc: sdhci: iproc: Add custom set_power() callback for bcm2711 -Git-commit: d997c18ab48e99dd733f421923a9c736f94ecd62 -Patch-mainline: Queued, in subsystem mainteiner tree, needed now as firmware - changes will make RPi4 unbootable without it. -Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git -References: bsc#1165954 - -The controller needs a valid bus voltage in its power register -regardless of whether an external regulator is taking care of the power -supply. - -The sdhci core already provides a helper function for this, -sdhci_set_power_and_bus_voltage(), so create a bcm2711 specific 'struct -sdhci_ops' which makes use of it. - -Signed-off-by: Nicolas Saenz Julienne <[email protected]> -Acked-by: Adrian Hunter <[email protected]> -Link: https://lore.kernel.org/r/[email protected] -Signed-off-by: Ulf Hansson <[email protected]> ---- - drivers/mmc/host/sdhci-iproc.c | 17 ++++++++++++++++- - 1 file changed, 16 insertions(+), 1 deletion(-) - -diff --git a/drivers/mmc/host/sdhci-iproc.c b/drivers/mmc/host/sdhci-iproc.c -index f4f5f0a70cda..225603148d7d 100644 ---- a/drivers/mmc/host/sdhci-iproc.c -+++ b/drivers/mmc/host/sdhci-iproc.c -@@ -261,9 +261,24 @@ static const struct sdhci_iproc_data bcm2835_data = { - .mmc_caps = 0x00000000, - }; - -+static const struct sdhci_ops sdhci_iproc_bcm2711_ops = { -+ .read_l = sdhci_iproc_readl, -+ .read_w = sdhci_iproc_readw, -+ .read_b = sdhci_iproc_readb, -+ .write_l = sdhci_iproc_writel, -+ .write_w = sdhci_iproc_writew, -+ .write_b = sdhci_iproc_writeb, -+ .set_clock = sdhci_set_clock, -+ .set_power = sdhci_set_power_and_bus_voltage, -+ .get_max_clock = sdhci_iproc_get_max_clock, -+ .set_bus_width = sdhci_set_bus_width, -+ .reset = sdhci_reset, -+ .set_uhs_signaling = sdhci_set_uhs_signaling, -+}; -+ - static const struct sdhci_pltfm_data sdhci_bcm2711_pltfm_data = { - .quirks = SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12, -- .ops = &sdhci_iproc_32only_ops, -+ .ops = &sdhci_iproc_bcm2711_ops, - }; - - static const struct sdhci_iproc_data bcm2711_data = { - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/s390-export-symbols-for-crash-kmp.patch new/patches.suse/s390-export-symbols-for-crash-kmp.patch --- old/patches.suse/s390-export-symbols-for-crash-kmp.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/s390-export-symbols-for-crash-kmp.patch 2020-06-10 13:51:14.000000000 +0200 @@ -0,0 +1,30 @@ +From b7b848afb3753f65876c343309300368eed73de8 Mon Sep 17 00:00:00 2001 +From: Michal Suchanek <[email protected]> +Date: Wed, 16 Aug 2017 13:28:58 +0200 +Subject: [PATCH] s390: export symbols for crash-kmp + +References: bsc#1053915 +Patch-mainline: Never, needed for out-of-tree module + +Export xlate_dev_mem_ptr and unxlate_dev_mem_ptr + +Signed-off-by: Michal Suchanek <[email protected]> +--- + arch/s390/mm/maccess.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/arch/s390/mm/maccess.c b/arch/s390/mm/maccess.c +index 8a993a53fcd6..20c3c352c3ef 100644 +--- a/arch/s390/mm/maccess.c ++++ b/arch/s390/mm/maccess.c +@@ -206,3 +206,7 @@ void unxlate_dev_mem_ptr(phys_addr_t addr, void *buf) + if ((void *) addr != buf) + free_page((unsigned long) buf); + } ++ ++/* crash-kmp uses these */ ++EXPORT_SYMBOL_GPL(xlate_dev_mem_ptr); ++EXPORT_SYMBOL_GPL(unxlate_dev_mem_ptr); +-- +2.10.2 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/supported-flag new/patches.suse/supported-flag --- old/patches.suse/supported-flag 2020-05-20 10:32:48.000000000 +0200 +++ new/patches.suse/supported-flag 2020-06-10 13:51:14.000000000 +0200 @@ -1,6 +1,6 @@ From: Andreas Gruenbacher <[email protected]> Subject: SUSE/external support flag in modules -Patch-mainline: Never, SLES feature +Patch-mainline: Never, SLE feature References: bsc#148091 bsc#974406 Upon module load, check if a module is supported, and set the @@ -14,6 +14,8 @@ * Oct 15 2019 - lpechacek - squashed module-Inform-user-when-loading-externally-supported.patch (bsc#974406) into this one +* Apr 1 2020 - mkubecek +- use '-S' option for modpost, '-N' was taken by upstream Signed-off-by: Andreas Gruenbacher <[email protected]> --- @@ -33,7 +35,7 @@ --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt -@@ -5060,6 +5060,14 @@ +@@ -5139,6 +5139,14 @@ unknown_nmi_panic [X86] Cause panic on unknown NMI. @@ -50,7 +52,7 @@ (default -1 = authorized except for wireless USB, --- a/Documentation/admin-guide/sysctl/kernel.rst +++ b/Documentation/admin-guide/sysctl/kernel.rst -@@ -1069,30 +1069,43 @@ tainted +@@ -1112,30 +1112,43 @@ tainted Non-zero if the kernel has been tainted. Numeric values, which can be ORed together. The letters are seen in "Tainted" line of Oops reports. @@ -96,11 +98,11 @@ +2147483648 `(N)` An unsupported kernel module was loaded +========== ===== ========================================================== - See Documentation/admin-guide/tainted-kernels.rst for more information. + See :doc:`/admin-guide/tainted-kernels` for more information. -+unsupported: -+============ ++unsupported ++=========== + +Allow to load unsupported kernel modules: + @@ -111,12 +113,12 @@ + = ========================================================================= + + - threads-max: - ============ + threads-max + =========== --- a/Makefile +++ b/Makefile -@@ -333,6 +333,11 @@ else # !mixed-build +@@ -334,6 +334,11 @@ else # !mixed-build include scripts/Kbuild.include @@ -130,7 +132,7 @@ KERNELVERSION = $(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL)$(if $(SUBLEVEL),.$(SUBLEVEL)))$(EXTRAVERSION) --- a/include/linux/kernel.h +++ b/include/linux/kernel.h -@@ -522,6 +522,9 @@ extern int panic_on_unrecovered_nmi; +@@ -529,6 +529,9 @@ extern int panic_on_unrecovered_nmi; extern int panic_on_io_nmi; extern int panic_on_warn; extern int sysctl_panic_on_rcu_stall; @@ -140,7 +142,7 @@ extern int sysctl_panic_on_stackoverflow; extern bool crash_kexec_post_notifiers; -@@ -590,6 +593,20 @@ extern enum system_states { +@@ -597,6 +600,20 @@ extern enum system_states { #define TAINT_RANDSTRUCT 17 #define TAINT_FLAGS_COUNT 18 @@ -384,7 +386,7 @@ /** --- a/kernel/sysctl.c +++ b/kernel/sysctl.c -@@ -822,6 +822,15 @@ static struct ctl_table kern_table[] = { +@@ -805,6 +805,15 @@ static struct ctl_table kern_table[] = { .extra1 = &pid_max_min, .extra2 = &pid_max_max, }, @@ -402,15 +404,15 @@ .data = &panic_on_oops, --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost -@@ -53,7 +53,11 @@ MODPOST = scripts/mod/modpost \ - $(if $(KBUILD_EXTMOD),$(addprefix -e ,$(KBUILD_EXTRA_SYMBOLS))) \ - $(if $(KBUILD_EXTMOD),-o $(modulesymfile)) \ - $(if $(CONFIG_SECTION_MISMATCH_WARN_ONLY),,-E) \ +@@ -54,7 +54,11 @@ MODPOST = scripts/mod/modpost \ + $(if $(KBUILD_EXTMOD),-o $(modulesymfile)) \ + $(if $(CONFIG_SECTION_MISMATCH_WARN_ONLY),,-E) \ + $(if $(CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS)$(KBUILD_NSDEPS),-N) \ - $(if $(KBUILD_MODPOST_WARN),-w) -+ $(if $(KBUILD_MODPOST_WARN),-w) \ -+ $(if $(CONFIG_SUSE_KERNEL_SUPPORTED), \ -+ -N $(firstword $(wildcard $(dir $(MODVERDIR))/Module.supported \ -+ $(objtree)/Module.supported \ ++ $(if $(KBUILD_MODPOST_WARN),-w) \ ++ $(if $(CONFIG_SUSE_KERNEL_SUPPORTED), \ ++ -S $(firstword $(wildcard $(dir $(MODVERDIR))/Module.supported \ ++ $(objtree)/Module.supported \ + $(srctree)/Module.supported /dev/null))) ifdef MODPOST_VMLINUX @@ -425,7 +427,7 @@ #include "../../include/linux/license.h" /* Are we using CONFIG_MODVERSIONS? */ -@@ -1998,6 +1999,50 @@ static char *remove_dot(char *s) +@@ -1992,6 +1993,50 @@ static char *remove_dot(char *s) return s; } @@ -476,7 +478,7 @@ static void read_symbols(const char *modname) { const char *symname; -@@ -2295,6 +2340,15 @@ static void add_staging_flag(struct buffer *b, const char *name) +@@ -2293,6 +2338,15 @@ static void add_staging_flag(struct buffer *b, const char *name) buf_printf(b, "\nMODULE_INFO(staging, \"Y\");\n"); } @@ -492,7 +494,7 @@ /** * Record CRCs for unresolved symbols **/ -@@ -2427,6 +2481,15 @@ static void write_if_changed(struct buffer *b, const char *fname) +@@ -2425,6 +2479,15 @@ static void write_if_changed(struct buffer *b, const char *fname) fclose(file); } @@ -508,7 +510,7 @@ /* parse Module.symvers file. line format: * 0x12345678<tab>symbol<tab>module<tab>export<tab>namespace **/ -@@ -2555,13 +2618,16 @@ int main(int argc, char **argv) +@@ -2553,13 +2616,16 @@ int main(int argc, char **argv) char *kernel_read = NULL; char *missing_namespace_deps = NULL; char *dump_write = NULL, *files_source = NULL; @@ -521,16 +523,16 @@ struct ext_sym_list *extsym_iter; struct ext_sym_list *extsym_start = NULL; -- while ((opt = getopt(argc, argv, "i:e:mnsT:o:awEd:")) != -1) { -+ while ((opt = getopt(argc, argv, "i:e:mnsT:o:awEd:N:")) != -1) { +- while ((opt = getopt(argc, argv, "i:e:mnsT:o:awENd:")) != -1) { ++ while ((opt = getopt(argc, argv, "i:e:mnsT:o:awENd:S:")) != -1) { switch (opt) { case 'i': kernel_read = optarg; -@@ -2602,11 +2668,20 @@ int main(int argc, char **argv) +@@ -2603,11 +2669,20 @@ int main(int argc, char **argv) case 'd': missing_namespace_deps = optarg; break; -+ case 'N': ++ case 'S': +#ifdef CONFIG_SUSE_KERNEL_SUPPORTED + supported = optarg; +#endif @@ -547,7 +549,7 @@ if (kernel_read) read_dump(kernel_read, 1); while (extsym_start) { -@@ -2639,6 +2714,9 @@ int main(int argc, char **argv) +@@ -2640,6 +2715,9 @@ int main(int argc, char **argv) add_intree_flag(&buf, !external_module); add_retpoline(&buf); add_staging_flag(&buf, mod->name); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/supported-flag-external new/patches.suse/supported-flag-external --- old/patches.suse/supported-flag-external 2020-05-20 10:32:48.000000000 +0200 +++ new/patches.suse/supported-flag-external 2020-06-10 13:51:14.000000000 +0200 @@ -1,6 +1,6 @@ From: Michal Marek <[email protected]> Subject: Fix Module.supported handling for external modules -Patch-mainline: Never, SLES feature +Patch-mainline: Never, SLE feature References: bsc#905304 The $(srctree)/Module.supported file should only be used when building @@ -15,11 +15,11 @@ --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost -@@ -56,8 +56,7 @@ MODPOST = scripts/mod/modpost \ - $(if $(KBUILD_MODPOST_WARN),-w) \ - $(if $(CONFIG_SUSE_KERNEL_SUPPORTED), \ - -N $(firstword $(wildcard $(dir $(MODVERDIR))/Module.supported \ -- $(objtree)/Module.supported \ +@@ -57,8 +57,7 @@ MODPOST = scripts/mod/modpost \ + $(if $(KBUILD_MODPOST_WARN),-w) \ + $(if $(CONFIG_SUSE_KERNEL_SUPPORTED), \ + -S $(firstword $(wildcard $(dir $(MODVERDIR))/Module.supported \ +- $(objtree)/Module.supported \ - $(srctree)/Module.supported /dev/null))) + $(if $(KBUILD_EXTMOD),,$(srctree)/Module.supported) /dev/null))) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/supported-flag-modverdir new/patches.suse/supported-flag-modverdir --- old/patches.suse/supported-flag-modverdir 2020-05-20 10:32:48.000000000 +0200 +++ new/patches.suse/supported-flag-modverdir 2020-06-10 13:51:14.000000000 +0200 @@ -1,29 +1,22 @@ -From 2873c18cc963df55b49f1cf01a4577762aca24b1 Mon Sep 17 00:00:00 2001 From: Michal Suchanek <[email protected]> Date: Fri, 9 Aug 2019 12:04:46 +0200 -Subject: [PATCH] Bring back MODVERDIR to Makefile.modpost - +Subject: Bring back MODVERDIR to Makefile.modpost +Patch-mainline: Never, SUSE specific References: bsc#1066369 -Patch-mainline: no, SUSE specific Signed-off-by: Michal Suchanek <[email protected]> --- scripts/Makefile.modpost | 2 ++ 1 file changed, 2 insertions(+) -diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost -index 0fdeb503d7ad..2ed968739cee 100644 --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost -@@ -48,6 +48,8 @@ include scripts/Kbuild.include +@@ -46,6 +46,8 @@ include scripts/Kbuild.include kernelsymfile := $(objtree)/Module.symvers modulesymfile := $(firstword $(KBUILD_EXTMOD))/Module.symvers +MODVERDIR := $(if $(KBUILD_EXTMOD),$(firstword $(KBUILD_EXTMOD))/).tmp_versions + - MODPOST = scripts/mod/modpost \ - $(if $(CONFIG_MODVERSIONS),-m) \ - $(if $(CONFIG_MODULE_SRCVERSION_ALL),-a) \ --- -2.22.0 - + MODPOST = scripts/mod/modpost \ + $(if $(CONFIG_MODVERSIONS),-m) \ + $(if $(CONFIG_MODULE_SRCVERSION_ALL),-a) \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/syscalls-fix-offset-type-of-ksys_ftruncate.patch new/patches.suse/syscalls-fix-offset-type-of-ksys_ftruncate.patch --- old/patches.suse/syscalls-fix-offset-type-of-ksys_ftruncate.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/syscalls-fix-offset-type-of-ksys_ftruncate.patch 2020-06-10 13:51:14.000000000 +0200 @@ -0,0 +1,30 @@ +From: Jiri Slaby <[email protected]> +Date: Wed, 10 Jun 2020 13:43:00 +0200 +Subject: syscalls: fix offset type of ksys_ftruncate +Patch-mainline: Submitted on 2020/06/10 +References: bsc#1172699 + +After the commit below, truncate on i586 uses ksys_ftruncate. But +ksys_ftruncate truncates the offset to unsigned long. So switch the type +of offset to loff_t which is what the lower do_sys_ftruncate expects. + +Signed-off-by: Jiri Slaby <[email protected]> +Fixes: 121b32a58a3a (x86/entry/32: Use IA32-specific wrappers for syscalls taking 64-bit arguments) +Cc: Brian Gerst <[email protected]> +Cc: Thomas Gleixner <[email protected]> +Cc: Dominik Brodowski <[email protected]> +--- + include/linux/syscalls.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/include/linux/syscalls.h ++++ b/include/linux/syscalls.h +@@ -1358,7 +1358,7 @@ static inline long ksys_lchown(const cha + + extern long do_sys_ftruncate(unsigned int fd, loff_t length, int small); + +-static inline long ksys_ftruncate(unsigned int fd, unsigned long length) ++static inline long ksys_ftruncate(unsigned int fd, loff_t length) + { + return do_sys_ftruncate(fd, length, 1); + } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/usercopy-mark-dma-kmalloc-caches-as-usercopy-caches.patch new/patches.suse/usercopy-mark-dma-kmalloc-caches-as-usercopy-caches.patch --- old/patches.suse/usercopy-mark-dma-kmalloc-caches-as-usercopy-caches.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.suse/usercopy-mark-dma-kmalloc-caches-as-usercopy-caches.patch 2020-06-10 13:51:14.000000000 +0200 @@ -0,0 +1,79 @@ +From: Vlastimil Babka <[email protected]> +Date: Mon, 1 Jun 2020 21:45:43 -0700 +Subject: usercopy: mark dma-kmalloc caches as usercopy caches +Git-commit: 49f2d2419d60a103752e5fbaf158cf8d07c0d884 +Patch-mainline: v5.8-rc1 +References: bsc#1156053 + +We have seen a "usercopy: Kernel memory overwrite attempt detected to +SLUB object 'dma-kmalloc-1 k' (offset 0, size 11)!" error on s390x, as +IUCV uses kmalloc() with __GFP_DMA because of memory address +restrictions. The issue has been discussed [2] and it has been noted +that if all the kmalloc caches are marked as usercopy, there's little +reason not to mark dma-kmalloc caches too. The 'dma' part merely means +that __GFP_DMA is used to restrict memory address range. + +As Jann Horn put it [3]: + "I think dma-kmalloc slabs should be handled the same way as normal + kmalloc slabs. When a dma-kmalloc allocation is freshly created, it is + just normal kernel memory - even if it might later be used for DMA -, + and it should be perfectly fine to copy_from_user() into such + allocations at that point, and to copy_to_user() out of them at the + end. If you look at the places where such allocations are created, you + can see things like kmemdup(), memcpy() and so on - all normal + operations that shouldn't conceptually be different from usercopy in + any relevant way." + +Thus this patch marks the dma-kmalloc-* caches as usercopy. + +[1] https://bugzilla.suse.com/show_bug.cgi?id=1156053 +[2] https://lore.kernel.org/kernel-hardening/[email protected]/ +[3] https://lore.kernel.org/kernel-hardening/CAG48ez1a4waGk9kB0WLaSbs4muSoK0AYAVk8=xyakj4_+6e...@mail.gmail.com/ + +Signed-off-by: Vlastimil Babka <[email protected]> +Signed-off-by: Andrew Morton <[email protected]> +Acked-by: Christian Borntraeger <[email protected]> +Acked-by: Jiri Slaby <[email protected]> +Cc: Jann Horn <[email protected]> +Cc: Christoph Hellwig <[email protected]> +Cc: Christopher Lameter <[email protected]> +Cc: Julian Wiedmann <[email protected]> +Cc: Ursula Braun <[email protected]> +Cc: Alexander Viro <[email protected]> +Cc: David Windsor <[email protected]> +Cc: Pekka Enberg <[email protected]> +Cc: David Rientjes <[email protected]> +Cc: Joonsoo Kim <[email protected]> +Cc: Andy Lutomirski <[email protected]> +Cc: "David S. Miller" <[email protected]> +Cc: Laura Abbott <[email protected]> +Cc: Mark Rutland <[email protected]> +Cc: "Martin K. Petersen" <[email protected]> +Cc: Paolo Bonzini <[email protected]> +Cc: Christoffer Dall <[email protected]> +Cc: Dave Kleikamp <[email protected]> +Cc: Jan Kara <[email protected]> +Cc: Luis de Bethencourt <[email protected]> +Cc: Marc Zyngier <[email protected]> +Cc: Rik van Riel <[email protected]> +Cc: Matthew Garrett <[email protected]> +Cc: Michal Kubecek <[email protected]> +Link: http://lkml.kernel.org/r/[email protected] +Signed-off-by: Linus Torvalds <[email protected]> +Signed-off-by: Jiri Slaby <[email protected]> +--- + mm/slab_common.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +--- a/mm/slab_common.c ++++ b/mm/slab_common.c +@@ -1303,7 +1303,8 @@ void __init create_kmalloc_caches(slab_f + kmalloc_caches[KMALLOC_DMA][i] = create_kmalloc_cache( + kmalloc_info[i].name[KMALLOC_DMA], + kmalloc_info[i].size, +- SLAB_CACHE_DMA | flags, 0, 0); ++ SLAB_CACHE_DMA | flags, 0, ++ kmalloc_info[i].size); + } + } + #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/vfs-add-super_operations-get_inode_dev new/patches.suse/vfs-add-super_operations-get_inode_dev --- old/patches.suse/vfs-add-super_operations-get_inode_dev 2020-05-20 10:32:48.000000000 +0200 +++ new/patches.suse/vfs-add-super_operations-get_inode_dev 2020-06-10 13:51:14.000000000 +0200 @@ -40,7 +40,7 @@ --- a/fs/locks.c +++ b/fs/locks.c -@@ -2854,8 +2854,8 @@ static void lock_get_status(struct seq_file *f, struct file_lock *fl, +@@ -2882,8 +2882,8 @@ static void lock_get_status(struct seq_file *f, struct file_lock *fl, if (inode) { /* userspace relies on this representation of dev_t */ seq_printf(f, "%d %02x:%02x:%lu ", fl_pid, @@ -64,7 +64,7 @@ p = xdr_encode_hyper(p, (u64) fhp->fh_export->ex_fsid); --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c -@@ -922,7 +922,7 @@ static int wait_for_concurrent_writes(struct file *file) +@@ -944,7 +944,7 @@ static int wait_for_concurrent_writes(struct file *file) int err = 0; if (atomic_read(&inode->i_writecount) > 1 @@ -73,7 +73,7 @@ dprintk("nfsd: write defer %d\n", task_pid_nr(current)); msleep(10); dprintk("nfsd: write resume %d\n", task_pid_nr(current)); -@@ -933,7 +933,7 @@ static int wait_for_concurrent_writes(struct file *file) +@@ -955,7 +955,7 @@ static int wait_for_concurrent_writes(struct file *file) err = vfs_fsync(file, 0); } last_ino = inode->i_ino; @@ -115,7 +115,7 @@ --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c -@@ -310,7 +310,7 @@ show_map_vma(struct seq_file *m, struct vm_area_struct *vma) +@@ -281,7 +281,7 @@ show_map_vma(struct seq_file *m, struct vm_area_struct *vma) if (file) { struct inode *inode = file_inode(vma->vm_file); @@ -137,7 +137,7 @@ } --- a/fs/stat.c +++ b/fs/stat.c -@@ -32,7 +32,7 @@ +@@ -34,7 +34,7 @@ */ void generic_fillattr(struct inode *inode, struct kstat *stat) { @@ -148,7 +148,7 @@ stat->nlink = inode->i_nlink; --- a/include/linux/fs.h +++ b/include/linux/fs.h -@@ -1972,6 +1972,7 @@ struct super_operations { +@@ -1977,6 +1977,7 @@ struct super_operations { struct shrink_control *); long (*free_cached_objects)(struct super_block *, struct shrink_control *); @@ -156,7 +156,7 @@ }; /* -@@ -3627,4 +3628,12 @@ static inline int inode_drain_writes(struct inode *inode) +@@ -3659,4 +3660,12 @@ static inline int inode_drain_writes(struct inode *inode) return filemap_write_and_wait(inode->i_mapping); } @@ -220,7 +220,7 @@ ), --- a/include/trace/events/writeback.h +++ b/include/trace/events/writeback.h -@@ -852,7 +852,7 @@ DECLARE_EVENT_CLASS(writeback_inode_template, +@@ -849,7 +849,7 @@ DECLARE_EVENT_CLASS(writeback_inode_template, ), TP_fast_assign( @@ -242,7 +242,7 @@ --- a/kernel/audit_watch.c +++ b/kernel/audit_watch.c -@@ -353,7 +353,7 @@ static int audit_get_nd(struct audit_watch *watch, struct path *parent) +@@ -351,7 +351,7 @@ static int audit_get_nd(struct audit_watch *watch, struct path *parent) return PTR_ERR(d); if (d_is_positive(d)) { /* update watch filter fields */ @@ -251,8 +251,8 @@ watch->ino = d_backing_inode(d)->i_ino; } inode_unlock(d_backing_inode(parent->dentry)); -@@ -494,7 +494,7 @@ static int audit_watch_handle_event(struct fsnotify_group *group, - } +@@ -480,7 +480,7 @@ static int audit_watch_handle_event(struct fsnotify_group *group, + WARN_ON(!inode); if (mask & (FS_CREATE|FS_MOVED_TO) && inode) - audit_update_watch(parent, dname, inode->i_sb->s_dev, inode->i_ino, 0); @@ -260,7 +260,7 @@ else if (mask & (FS_DELETE|FS_MOVED_FROM)) audit_update_watch(parent, dname, AUDIT_DEV_UNSET, AUDIT_INO_UNSET, 1); else if (mask & (FS_DELETE_SELF|FS_UNMOUNT|FS_MOVE_SELF)) -@@ -548,7 +548,7 @@ int audit_exe_compare(struct task_struct *tsk, struct audit_fsnotify_mark *mark) +@@ -534,7 +534,7 @@ int audit_exe_compare(struct task_struct *tsk, struct audit_fsnotify_mark *mark) if (!exe_file) return 0; ino = file_inode(exe_file)->i_ino; @@ -271,7 +271,7 @@ } --- a/kernel/auditsc.c +++ b/kernel/auditsc.c -@@ -1922,7 +1922,7 @@ static void audit_copy_inode(struct audit_names *name, +@@ -1919,7 +1919,7 @@ static void audit_copy_inode(struct audit_names *name, struct inode *inode, unsigned int flags) { name->ino = inode->i_ino; @@ -280,7 +280,7 @@ name->mode = inode->i_mode; name->uid = inode->i_uid; name->gid = inode->i_gid; -@@ -1994,7 +1994,7 @@ void __audit_inode(struct filename *name, const struct dentry *dentry, +@@ -1991,7 +1991,7 @@ void __audit_inode(struct filename *name, const struct dentry *dentry, if (n->ino) { /* valid inode number, use that for the comparison */ if (n->ino != inode->i_ino || @@ -289,7 +289,7 @@ continue; } else if (n->name) { /* inode number has not been set, check the name */ -@@ -2099,7 +2099,7 @@ void __audit_inode_child(struct inode *parent, +@@ -2096,7 +2096,7 @@ void __audit_inode_child(struct inode *parent, n->type != AUDIT_TYPE_UNKNOWN)) continue; @@ -300,7 +300,7 @@ if (n->type == AUDIT_TYPE_UNKNOWN) --- a/kernel/events/core.c +++ b/kernel/events/core.c -@@ -7707,7 +7707,7 @@ static void perf_event_mmap_event(struct perf_mmap_event *mmap_event) +@@ -7997,7 +7997,7 @@ static void perf_event_mmap_event(struct perf_mmap_event *mmap_event) goto cpy_name; } inode = file_inode(vma->vm_file); ++++++ series.conf ++++++ ++++ 1388 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/kernel-source/series.conf ++++ and /work/SRC/openSUSE:Factory/.kernel-source.new.3606/series.conf ++++++ source-timestamp ++++++ --- /var/tmp/diff_new_pack.nVSWqH/_old 2020-06-12 21:39:02.907917579 +0200 +++ /var/tmp/diff_new_pack.nVSWqH/_new 2020-06-12 21:39:02.907917579 +0200 @@ -1,3 +1,3 @@ -2020-05-20 08:32:48 +0000 -GIT Revision: b0ab48a9ace68fa3774ae8579deef7eb7d56d444 +2020-06-10 11:53:46 +0000 +GIT Revision: 6a549f6dd07f682dbe4308ce21c26c40dca1ffa2 GIT Branch: stable
