From 1cac231319309a8322c7f29d89644752aba75a62 Mon Sep 17 00:00:00 2001 From: "Justin M. Forbes" Date: Mon, 10 May 2021 09:28:06 -0500 Subject: kernel-5.13.0-0.rc1.13 * Mon May 10 2021 Fedora Kernel Team [5.13.0-0.rc1.13] - Remove unused boot loader specification files (David Ward) Resolves: rhbz# Signed-off-by: Justin M. Forbes --- Makefile.rhelver | 2 +- generate_bls_conf.sh | 35 ------------------ kernel-aarch64-debug-fedora.config | 27 +++++++------- kernel-aarch64-debug-rhel.config | 3 +- kernel-aarch64-fedora.config | 27 +++++++------- kernel-aarch64-rhel.config | 3 +- kernel-armv7hl-debug-fedora.config | 19 +++++----- kernel-armv7hl-fedora.config | 19 +++++----- kernel-armv7hl-lpae-debug-fedora.config | 19 +++++----- kernel-armv7hl-lpae-fedora.config | 19 +++++----- kernel-i686-debug-fedora.config | 13 +++---- kernel-i686-fedora.config | 13 +++---- kernel-ppc64le-debug-fedora.config | 13 +++---- kernel-ppc64le-debug-rhel.config | 3 +- kernel-ppc64le-fedora.config | 13 +++---- kernel-ppc64le-rhel.config | 3 +- kernel-s390x-debug-fedora.config | 13 +++---- kernel-s390x-debug-rhel.config | 3 +- kernel-s390x-fedora.config | 13 +++---- kernel-s390x-rhel.config | 3 +- kernel-s390x-zfcpdump-rhel.config | 3 +- kernel-x86_64-debug-fedora.config | 13 +++---- kernel-x86_64-debug-rhel.config | 3 +- kernel-x86_64-fedora.config | 13 +++---- kernel-x86_64-rhel.config | 3 +- kernel.spec | 34 +++++++++++------- patch-5.13.0-redhat.patch | 64 +++++++++++++++++---------------- rpminspect.yaml | 10 ++++++ sources | 6 ++-- 29 files changed, 184 insertions(+), 228 deletions(-) delete mode 100755 generate_bls_conf.sh create mode 100644 rpminspect.yaml diff --git a/Makefile.rhelver b/Makefile.rhelver index a5081aa8d..18afd0195 100644 --- a/Makefile.rhelver +++ b/Makefile.rhelver @@ -12,7 +12,7 @@ RHEL_MINOR = 99 # # Use this spot to avoid future merge conflicts. # Do not trim this comment. -RHEL_RELEASE = 10 +RHEL_RELEASE = 13 # # Early y+1 numbering diff --git a/generate_bls_conf.sh b/generate_bls_conf.sh deleted file mode 100755 index 03b21821f..000000000 --- a/generate_bls_conf.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash -set -e - -# shellcheck disable=SC1091 -. /etc/os-release - -kernelver=$1 && shift -rootfs=$1 && shift -variant=$1 && shift - -output="${rootfs}/lib/modules/${kernelver}/bls.conf" -date=$(date -u +%Y%m%d%H%M%S) - -if [ "${variant:-5}" = "debug" ]; then - debugname=" with debugging" - debugid="-debug" -else - debugname="" - debugid="" -fi - -# shellcheck will complain about bootprefix being referenced but not assigned, -# but that is perfectly OK here. -# shellcheck disable=SC2154 -cat > "$output" < [5.13.0-0.rc1.13] +- Remove unused boot loader specification files (David Ward) + +* Mon May 10 2021 Fedora Kernel Team [5.13.0-0.rc1.12] +- Revert "Merge branch 'fix-tag-check' into 'os-build'" (Justin Forbes) +- Enable CONFIG_DRM_AMDGPU_USERPTR for everyone (Justin M. Forbes) +- redhat: add initial rpminspect configuration (Herton R. Krzesinski) + +* Sat May 08 2021 Fedora Kernel Team [5.13.0-0.rc0.20210507gita48b0872e694.11] +- fedora: arm updates for 5.13 (Peter Robinson) +- fedora: Enable WWAN and associated MHI bits (Peter Robinson) +- Update CONFIG_MODPROBE_PATH to /usr/sbin (Justin Forbes) +- Fedora set modprobe path (Justin M. Forbes) + * Fri May 07 2021 Fedora Kernel Team [5.13.0-0.rc0.20210507gita48b0872e694.10] - Keep sctp and l2tp modules in modules-extra (Don Zickus) - Fix ppc64le cross build packaging (Don Zickus) diff --git a/patch-5.13.0-redhat.patch b/patch-5.13.0-redhat.patch index 852058b07..9376ddf44 100644 --- a/patch-5.13.0-redhat.patch +++ b/patch-5.13.0-redhat.patch @@ -30,7 +30,7 @@ drivers/net/ethernet/intel/ice/ice_main.c | 1 + drivers/net/wireguard/main.c | 7 + drivers/nvme/host/core.c | 22 +- - drivers/nvme/host/multipath.c | 18 +- + drivers/nvme/host/multipath.c | 20 +- drivers/nvme/host/nvme.h | 4 + drivers/pci/pci-driver.c | 29 ++ drivers/pci/quirks.c | 24 ++ @@ -66,7 +66,7 @@ security/lockdown/Kconfig | 13 + security/lockdown/lockdown.c | 1 + security/security.c | 6 + - 68 files changed, 1200 insertions(+), 186 deletions(-) + 68 files changed, 1201 insertions(+), 187 deletions(-) diff --git a/Documentation/admin-guide/kdump/kdump.rst b/Documentation/admin-guide/kdump/kdump.rst index 75a9dd98e76e..3ff3291551f9 100644 @@ -91,10 +91,10 @@ index 75a9dd98e76e..3ff3291551f9 100644 Boot into System Kernel diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt -index a816935d23d4..3037285ebb3b 100644 +index cb89dbdedc46..3d033c0b69f9 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt -@@ -5762,6 +5762,14 @@ +@@ -5764,6 +5764,14 @@ unknown_nmi_panic [X86] Cause panic on unknown NMI. @@ -143,7 +143,7 @@ index 000000000000..effb81d04bfd + +endmenu diff --git a/Makefile b/Makefile -index 72af8e423f11..5295f99d5c92 100644 +index 53d09c414635..583c3a3510b9 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,10 @@ $(if $(filter __%, $(MAKECMDGOALS)), \ @@ -157,7 +157,7 @@ index 72af8e423f11..5295f99d5c92 100644 # We are using a recursive build, so we need to do a little thinking # to get the ordering right. # -@@ -508,6 +512,7 @@ KBUILD_AFLAGS := -D__ASSEMBLY__ -fno-PIE +@@ -503,6 +507,7 @@ KBUILD_AFLAGS := -D__ASSEMBLY__ -fno-PIE KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \ -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE \ -Werror=implicit-function-declaration -Werror=implicit-int \ @@ -165,7 +165,7 @@ index 72af8e423f11..5295f99d5c92 100644 -Werror=return-type -Wno-format-security \ -std=gnu89 KBUILD_CPPFLAGS := -D__KERNEL__ -@@ -1292,7 +1297,13 @@ define filechk_version.h +@@ -1291,7 +1296,13 @@ define filechk_version.h ((c) > 255 ? 255 : (c)))'; \ echo \#define LINUX_VERSION_MAJOR $(VERSION); \ echo \#define LINUX_VERSION_PATCHLEVEL $(PATCHLEVEL); \ @@ -197,10 +197,10 @@ index 24804f11302d..fd5ff3fa0d5b 100644 The VM uses one page of physical memory for each page table. For systems with a lot of processes, this can use a lot of diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig -index f0b17d758912..c913235275a1 100644 +index 9f1d8566bbf9..ebb24a713210 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig -@@ -922,7 +922,7 @@ endchoice +@@ -921,7 +921,7 @@ endchoice config ARM64_FORCE_52BIT bool "Force 52-bit virtual addresses for userspace" @@ -209,7 +209,7 @@ index f0b17d758912..c913235275a1 100644 help For systems with 52-bit userspace VAs enabled, the kernel will attempt to maintain compatibility with older software by providing 48-bit VAs -@@ -1174,6 +1174,7 @@ config XEN +@@ -1165,6 +1165,7 @@ config XEN config FORCE_MAX_ZONEORDER int default "14" if ARM64_64K_PAGES @@ -281,7 +281,7 @@ index 5aab59ad5688..c53572b81c37 100644 /* boot_command_line has been already set up in early.c */ *cmdline_p = boot_command_line; diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c -index 6bdb69a9a7dc..1001dd85a984 100644 +index a1b756c49a93..e8992590d603 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c @@ -1308,6 +1308,7 @@ static void __init early_identify_cpu(struct cpuinfo_x86 *c) @@ -427,10 +427,10 @@ index 277f00b288d1..adbce15c273d 100644 for (i = 0; i < hest_tab->error_source_count; i++) { len = hest_esrc_len(hest_hdr); diff --git a/drivers/acpi/irq.c b/drivers/acpi/irq.c -index e209081d644b..7484bcf59a1b 100644 +index c68e694fca26..146cba5ae5bc 100644 --- a/drivers/acpi/irq.c +++ b/drivers/acpi/irq.c -@@ -126,6 +126,7 @@ struct acpi_irq_parse_one_ctx { +@@ -130,6 +130,7 @@ struct acpi_irq_parse_one_ctx { unsigned int index; unsigned long *res_flags; struct irq_fwspec *fwspec; @@ -438,7 +438,7 @@ index e209081d644b..7484bcf59a1b 100644 }; /** -@@ -197,7 +198,8 @@ static acpi_status acpi_irq_parse_one_cb(struct acpi_resource *ares, +@@ -201,7 +202,8 @@ static acpi_status acpi_irq_parse_one_cb(struct acpi_resource *ares, return AE_CTRL_TERMINATE; case ACPI_RESOURCE_TYPE_EXTENDED_IRQ: eirq = &ares->data.extended_irq; @@ -448,7 +448,7 @@ index e209081d644b..7484bcf59a1b 100644 return AE_OK; if (ctx->index >= eirq->interrupt_count) { ctx->index -= eirq->interrupt_count; -@@ -232,8 +234,19 @@ static acpi_status acpi_irq_parse_one_cb(struct acpi_resource *ares, +@@ -236,8 +238,19 @@ static acpi_status acpi_irq_parse_one_cb(struct acpi_resource *ares, static int acpi_irq_parse_one(acpi_handle handle, unsigned int index, struct irq_fwspec *fwspec, unsigned long *flags) { @@ -1291,7 +1291,7 @@ index 7a7d5f1a80fc..de28e2633761 100644 err_netlink: diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c -index b6f7815fa239..c2f177efe312 100644 +index 522c9b229f80..3161fec27575 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -241,6 +241,9 @@ static void nvme_delete_ctrl_sync(struct nvme_ctrl *ctrl) @@ -1358,7 +1358,7 @@ index b6f7815fa239..c2f177efe312 100644 } EXPORT_SYMBOL_GPL(nvme_complete_rq); diff --git a/drivers/nvme/host/multipath.c b/drivers/nvme/host/multipath.c -index 0d0de3433f37..44b745bed521 100644 +index 0551796517e6..e64ab1be5765 100644 --- a/drivers/nvme/host/multipath.c +++ b/drivers/nvme/host/multipath.c @@ -8,7 +8,11 @@ @@ -1373,7 +1373,7 @@ index 0d0de3433f37..44b745bed521 100644 module_param(multipath, bool, 0444); MODULE_PARM_DESC(multipath, "turn on native support for multiple controllers per subsystem"); -@@ -65,13 +69,10 @@ bool nvme_mpath_set_disk_name(struct nvme_ns *ns, char *disk_name, int *flags) +@@ -65,14 +69,10 @@ bool nvme_mpath_set_disk_name(struct nvme_ns *ns, char *disk_name, int *flags) return true; } @@ -1383,12 +1383,13 @@ index 0d0de3433f37..44b745bed521 100644 struct nvme_ns *ns = req->q->queuedata; u16 status = nvme_req(req)->status & 0x7ff; - unsigned long flags; +- struct bio *bio; - - nvme_mpath_clear_current_path(ns); /* * If we got back an ANA error, we know the controller is alive but not -@@ -82,6 +83,15 @@ void nvme_failover_req(struct request *req) +@@ -83,6 +83,16 @@ void nvme_failover_req(struct request *req) set_bit(NVME_NS_ANA_PENDING, &ns->flags); queue_work(nvme_wq, &ns->ctrl->ana_work); } @@ -1398,17 +1399,18 @@ index 0d0de3433f37..44b745bed521 100644 +{ + struct nvme_ns *ns = req->q->queuedata; + unsigned long flags; ++ struct bio *bio; + + nvme_mpath_clear_current_path(ns); + nvme_update_ana(req); spin_lock_irqsave(&ns->head->requeue_lock, flags); - blk_steal_bios(&ns->head->requeue_list, req); + for (bio = req->bio; bio; bio = bio->bi_next) diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h -index 773dde5b231d..31bba9c1ce70 100644 +index 05f31a2c64bb..401a93cfffde 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h -@@ -694,6 +694,7 @@ void nvme_mpath_wait_freeze(struct nvme_subsystem *subsys); +@@ -708,6 +708,7 @@ void nvme_mpath_wait_freeze(struct nvme_subsystem *subsys); void nvme_mpath_start_freeze(struct nvme_subsystem *subsys); bool nvme_mpath_set_disk_name(struct nvme_ns *ns, char *disk_name, int *flags); void nvme_failover_req(struct request *req); @@ -1416,7 +1418,7 @@ index 773dde5b231d..31bba9c1ce70 100644 void nvme_kick_requeue_lists(struct nvme_ctrl *ctrl); int nvme_mpath_alloc_disk(struct nvme_ctrl *ctrl,struct nvme_ns_head *head); void nvme_mpath_add_disk(struct nvme_ns *ns, struct nvme_id_ns *id); -@@ -738,6 +739,9 @@ static inline bool nvme_mpath_set_disk_name(struct nvme_ns *ns, char *disk_name, +@@ -752,6 +753,9 @@ static inline bool nvme_mpath_set_disk_name(struct nvme_ns *ns, char *disk_name, static inline void nvme_failover_req(struct request *req) { } @@ -1706,10 +1708,10 @@ index d00aca3c77ce..ecc3aee57c3d 100644 { MPI2_MFGPAGE_VENDORID_LSI, MPI25_MFGPAGE_DEVID_SAS3004, PCI_ANY_ID, PCI_ANY_ID }, diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c -index d74c32f84ef5..b7c38e7a5bfc 100644 +index 4eab564ea6a0..f2d360667273 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c -@@ -7742,6 +7742,7 @@ static const struct pci_error_handlers qla2xxx_err_handler = { +@@ -7743,6 +7743,7 @@ static const struct pci_error_handlers qla2xxx_err_handler = { }; static struct pci_device_id qla2xxx_pci_tbl[] = { @@ -1717,7 +1719,7 @@ index d74c32f84ef5..b7c38e7a5bfc 100644 { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2100) }, { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2200) }, { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2300) }, -@@ -7754,13 +7755,18 @@ static struct pci_device_id qla2xxx_pci_tbl[] = { +@@ -7755,13 +7756,18 @@ static struct pci_device_id qla2xxx_pci_tbl[] = { { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8432) }, { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP5422) }, { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP5432) }, @@ -1877,10 +1879,10 @@ index 6b5d36babfcc..fd4a5d66a9d0 100644 enum efi_secureboot_mode efi_get_secureboot_mode(efi_get_variable_t *get_var) { diff --git a/include/linux/kernel.h b/include/linux/kernel.h -index 09035ac67d4b..acc5fd8ba845 100644 +index 15d8bad3d2f2..5cc175748767 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h -@@ -451,7 +451,24 @@ extern enum system_states { +@@ -453,7 +453,24 @@ extern enum system_states { #define TAINT_LIVEPATCH 15 #define TAINT_AUX 16 #define TAINT_RANDSTRUCT 17 @@ -1906,7 +1908,7 @@ index 09035ac67d4b..acc5fd8ba845 100644 #define TAINT_FLAGS_MAX ((1UL << TAINT_FLAGS_COUNT) - 1) struct taint_flag { -@@ -737,4 +754,19 @@ static inline void ftrace_dump(enum ftrace_dump_mode oops_dump_mode) { } +@@ -739,4 +756,19 @@ static inline void ftrace_dump(enum ftrace_dump_mode oops_dump_mode) { } /* OTHER_WRITABLE? Generally considered a bad idea. */ \ BUILD_BUG_ON_ZERO((perms) & 2) + \ (perms)) @@ -2322,7 +2324,7 @@ index 06f7c50ce77f..09ed686ac5e6 100644 #if defined(CONFIG_SECURITY) && defined(CONFIG_WATCH_QUEUE) diff --git a/kernel/Makefile b/kernel/Makefile -index e8a6715f38dc..f92f94ce57aa 100644 +index 4df609be42d0..4ef0c0f6a8f4 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -12,6 +12,7 @@ obj-y = fork.o exec_domain.o panic.o \ @@ -2654,7 +2656,7 @@ index 3e623ccc020b..3047abc9a507 100644 sprintf(fname, "%s.mod.c", mod->name); write_if_changed(&buf, fname); diff --git a/scripts/tags.sh b/scripts/tags.sh -index fd96734deff1..5b540f3dcff1 100755 +index db8ba411860a..2294fb0f17a9 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -16,6 +16,8 @@ fi diff --git a/rpminspect.yaml b/rpminspect.yaml new file mode 100644 index 000000000..e540fbd45 --- /dev/null +++ b/rpminspect.yaml @@ -0,0 +1,10 @@ +# additional rpminspect configuration for this branch + +--- +emptyrpm: + expected_empty: + - kernel + - kernel-debug + - kernel-lpae + - kernel-zfcpdump + - kernel-zfcpdump-modules diff --git a/sources b/sources index 856d63123..2b901534d 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (linux-5.12-14712-ga48b0872e694.tar.xz) = cf573cd6b095cfbfdd9bf67f6759ab146540b52c78636226fe42c69faadd21b29cf4394a52451ae97451bb5f8e884153a0005d120ba7ed8d7114c1494b35d24f -SHA512 (kernel-abi-whitelists-5.13.0-0.rc0.20210507gita48b0872e694.10.tar.bz2) = 9ff777cce5eeaf79e98f85bb4820ebe82b3ee4f420b80a00e9ad6cdb9c335be3e4f0234a2fe24a8bff0c2733f7c4a58ee7c1664e492b98f1c9e2d41774814459 -SHA512 (kernel-kabi-dw-5.13.0-0.rc0.20210507gita48b0872e694.10.tar.bz2) = 87c6d5e37084dd3cb0e1dfcbb366f23f1d21dd1d1ce370db5695032bd1b2e12a8864e0f88707b8672107a454ecf2d181f44c288a44cef8c535b0505fa73b2c19 +SHA512 (linux-5.13-rc1.tar.xz) = aa47d04c45bddbf69d1fe15e660cbf0568d8311536062a5fff81d201aa8041e78196d6ccb257acf65c3a317a2e131b12e49f18ddd08ffb8f169746144bff0ffc +SHA512 (kernel-abi-whitelists-5.13.0-0.rc1.13.tar.bz2) = 24ae299a24f21beee89dbd26ea9a3339852356ee53f6801781bf10a217fedbe66a326ff777bb392c19f32b7c0755ffecf5faa8b11eaed6d6a0eaf1433f5a529c +SHA512 (kernel-kabi-dw-5.13.0-0.rc1.13.tar.bz2) = 741b026ae3a0d645b9a16cad5bf4447acef522a0b957816c2213c6c6cc6d64d936cec6ca6ed65a4beb23b73ca1fb69a2cca0334a1be0109893559b66990500c0 -- cgit