From 867c2b8646c061658a957adedc5f014f946317fb Mon Sep 17 00:00:00 2001 From: Xie XiuQi Date: Fri, 19 Feb 2021 22:06:32 +0800 Subject: [PATCH] kernel.spec: release 5.10.0-3.0.0.12 - update to stable 5.10.12 - support reserving crashkernel above 4G on arm64 kdump - phram: allow the user to set the erase page size - support arm32 KASAN - some bugfix Signed-off-by: Xie XiuQi --- SOURCE | 2 +- kernel.spec | 285 +++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 284 insertions(+), 3 deletions(-) diff --git a/SOURCE b/SOURCE index d5bedaa..0a080f6 100644 --- a/SOURCE +++ b/SOURCE @@ -1 +1 @@ -5.10.0-2.0.0 +5.10.0-3.0.0 diff --git a/kernel.spec b/kernel.spec index 213f1a2..a862c5f 100644 --- a/kernel.spec +++ b/kernel.spec @@ -10,9 +10,9 @@ %global upstream_version 5.10 %global upstream_sublevel 0 -%global devel_release 2 +%global devel_release 3 %global maintenance_release .0.0 -%global pkg_release .11 +%global pkg_release .12 %define with_debuginfo 1 # Do not recompute the build-id of vmlinux in find-debuginfo.sh @@ -869,6 +869,287 @@ fi %endif %changelog +* Mon Feb 08 2021 Xie XiuQi - 5.10.0-3.0.0.12 +- kdump: update Documentation about crashkernel +- arm64: kdump: add memory for devices by DT property linux,usable-memory-range +- x86, arm64: Add ARCH_WANT_RESERVE_CRASH_KERNEL config +- arm64: kdump: reimplement crashkernel=X +- arm64: kdump: introduce some macroes for crash kernel reservation +- x86/elf: Move vmcore_elf_check_arch_cross to arch/x86/include/asm/elf.h +- x86: kdump: move reserve_crashkernel[_low]() into crash_core.c +- x86: kdump: move xen_pv_domain() check and insert_resource() to setup_arch() +- x86: kdump: use macro CRASH_ADDR_LOW_MAX in functions reserve_crashkernel() +- x86: kdump: make the lower bound of crash kernel reservation consistent +- x86: kdump: replace the hard-coded alignment with macro CRASH_ALIGN +- ARM: kdump: Add LPAE support +- ARM: kdump: fix timer interrupts panic, could not boot capture_kernel +- driver: input: fix UBSAN warning in input_defuzz_abs_event +- vdso: do cntvct workaround in the VDSO +- arm64: arch_timer: Disable CNTVCT_EL0 trap if workaround is enabled +- cgroup: Return ERSCH when add Z process into task +- ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section +- ARM: 9028/1: disable KASAN in call stack capturing routines +- ARM: 9022/1: Change arch/arm/lib/mem*.S to use WEAK instead of .weak +- ARM: 9020/1: mm: use correct section size macro to describe the FDT virtual address +- ARM: 9017/2: Enable KASan for ARM +- ARM: 9016/2: Initialize the mapping of KASan shadow memory +- ARM: 9015/2: Define the virtual space of KASan's shadow region +- ARM: 9014/2: Replace string mem* functions for KASan +- ARM: 9013/2: Disable KASan instrumentation for some code +- ARM: 9012/1: move device tree mapping out of linear region +- ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address +- drm/radeon: check the alloc_workqueue return value +- printk: fix string termination for record_print_text() +- printk: fix buffer overflow potential for print_text() +- tools: Factor HOSTCC, HOSTLD, HOSTAR definitions +- mm: fix a race on nr_swap_pages +- mm/page_alloc: add a missing mm_page_alloc_zone_locked() tracepoint +- objtool: Don't fail on missing symbol table +- io_uring: fix sleeping under spin in __io_clean_op +- io_uring: dont kill fasync under completion_lock +- io_uring: fix skipping disabling sqo on exec +- io_uring: fix uring_flush in exit_files() warning +- io_uring: fix false positive sqo warning on flush +- io_uring: do sqo disable on install_fd error +- io_uring: fix null-deref in io_disable_sqo_submit +- io_uring: stop SQPOLL submit on creator's death +- io_uring: add warn_once for io_uring_flush() +- io_uring: inline io_uring_attempt_task_drop() +- kernel/io_uring: cancel io_uring before task works +- iwlwifi: dbg: Don't touch the tlv data +- RDMA/vmw_pvrdma: Fix network_hdr_type reported in WC +- media: v4l2-subdev.h: BIT() is not available in userspace +- media: Revert "media: videobuf2: Fix length check for single plane dmabuf queueing" +- HID: multitouch: Apply MT_QUIRK_CONFIDENCE quirk for multi-input devices +- HID: wacom: Correct NULL dereference on AES pen proximity +- futex: Handle faults correctly for PI futexes +- futex: Simplify fixup_pi_state_owner() +- futex: Use pi_state_update_owner() in put_pi_state() +- rtmutex: Remove unused argument from rt_mutex_proxy_unlock() +- futex: Provide and use pi_state_update_owner() +- futex: Replace pointless printk in fixup_owner() +- futex: Ensure the correct return value from futex_lock_pi() +- Revert "mm/slub: fix a memory leak in sysfs_slab_add()" +- gpio: mvebu: fix pwm .get_state period calculation +- PCI/AER: increments pci bus reference count in aer-inject process +- PCI: add a member in 'struct pci_bus' to record the original 'pci_ops' +- sched, rt: fix isolated CPUs leaving task_group indefinitely throttled +- cgroup: wait for cgroup destruction to complete when umount +- cgroup: check if cgroup root is alive in cgroupstats_show() +- mtd:avoid blktrans_open/release race and avoid insmod ftl.ko deadlock +- jffs2: move jffs2_init_inode_info() just after allocating inode +- jffs2: protect no-raw-node-ref check of inocache by erase_completion_lock +- jffs2: handle INO_STATE_CLEARING in jffs2_do_read_inode() +- jffs2: reset pino_nlink to 0 when inode creation failed +- jffs2: GC deadlock reading a page that is used in jffs2_write_begin() +- jffs2: make the overwritten xattr invisible after remount +- Revert "mm: fix initialization of struct page for holes in memory layout" +- mm: fix initialization of struct page for holes in memory layout +- Commit 9bb48c82aced ("tty: implement write_iter") converted the tty layer to use write_iter. +- fs/pipe: allow sendfile() to pipe again +- interconnect: imx8mq: Use icc_sync_state +- kernfs: wire up ->splice_read and ->splice_write +- kernfs: implement ->write_iter +- kernfs: implement ->read_iter +- bpf: Local storage helpers should check nullness of owner ptr passed +- drm/i915/hdcp: Get conn while content_type changed +- ASoC: SOF: Intel: hda: Avoid checking jack on system suspend +- tcp: Fix potential use-after-free due to double kfree() +- x86/sev-es: Handle string port IO to kernel memory properly +- net: systemport: free dev before on error path +- tty: fix up hung_up_tty_write() conversion +- tty: implement write_iter +- x86/sev: Fix nonistr violation +- pinctrl: qcom: Don't clear pending interrupts when enabling +- pinctrl: qcom: Properly clear "intr_ack_high" interrupts when unmasking +- pinctrl: qcom: No need to read-modify-write the interrupt status +- pinctrl: qcom: Allow SoCs to specify a GPIO function that's not 0 +- net: core: devlink: use right genl user_ptr when handling port param get/set +- net: mscc: ocelot: Fix multicast to the CPU port +- tcp: fix TCP_USER_TIMEOUT with zero window +- tcp: do not mess with cloned skbs in tcp_add_backlog() +- net: dsa: b53: fix an off by one in checking "vlan->vid" +- net: Disable NETIF_F_HW_TLS_RX when RXCSUM is disabled +- net: mscc: ocelot: allow offloading of bridge on top of LAG +- ipv6: set multicast flag on the multicast route +- net_sched: reject silly cell_log in qdisc_get_rtab() +- net_sched: avoid shift-out-of-bounds in tcindex_set_parms() +- ipv6: create multicast route with RTPROT_KERNEL +- udp: mask TOS bits in udp_v4_early_demux() +- net_sched: gen_estimator: support large ewma log +- tcp: fix TCP socket rehash stats mis-accounting +- kasan: fix incorrect arguments passing in kasan_add_zero_shadow +- kasan: fix unaligned address is unhandled in kasan_remove_zero_shadow +- skbuff: back tiny skbs with kmalloc() in __netdev_alloc_skb() too +- lightnvm: fix memory leak when submit fails +- cachefiles: Drop superfluous readpages aops NULL check +- nvme-pci: fix error unwind in nvme_map_data +- nvme-pci: refactor nvme_unmap_data +- sh_eth: Fix power down vs. is_opened flag ordering +- selftests/powerpc: Fix exit status of pkey tests +- net: dsa: mv88e6xxx: also read STU state in mv88e6250_g1_vtu_getnext +- octeontx2-af: Fix missing check bugs in rvu_cgx.c +- ASoC: SOF: Intel: fix page fault at probe if i915 init fails +- locking/lockdep: Cure noinstr fail +- sh: Remove unused HAVE_COPY_THREAD_TLS macro +- sh: dma: fix kconfig dependency for G2_DMA +- drm/i915/hdcp: Update CP property in update_pipe +- tools: gpio: fix %llu warning in gpio-watch.c +- tools: gpio: fix %llu warning in gpio-event-mon.c +- netfilter: rpfilter: mask ecn bits before fib lookup +- cls_flower: call nla_ok() before nla_next() +- x86/cpu/amd: Set __max_die_per_package on AMD +- x86/entry: Fix noinstr fail +- drm/i915: Only enable DFP 4:4:4->4:2:0 conversion when outputting YCbCr 4:4:4 +- drm/i915: s/intel_dp_sink_dpms/intel_dp_set_power/ +- driver core: Extend device_is_dependent() +- driver core: Fix device link device name collision +- drivers core: Free dma_range_map when driver probe failed +- xhci: tegra: Delay for disabling LFPS detector +- xhci: make sure TRB is fully written before giving it to the controller +- usb: cdns3: imx: fix can't create core device the second time issue +- usb: cdns3: imx: fix writing read-only memory issue +- usb: bdc: Make bdc pci driver depend on BROKEN +- usb: udc: core: Use lock when write to soft_connect +- USB: gadget: dummy-hcd: Fix errors in port-reset handling +- usb: gadget: aspeed: fix stop dma register setting. +- USB: ehci: fix an interrupt calltrace error +- ehci: fix EHCI host controller initialization sequence +- serial: mvebu-uart: fix tx lost characters at power off +- stm class: Fix module init return on allocation failure +- intel_th: pci: Add Alder Lake-P support +- io_uring: fix short read retries for non-reg files +- io_uring: fix SQPOLL IORING_OP_CLOSE cancelation state +- io_uring: iopoll requests should also wake task ->in_idle state +- mm: fix numa stats for thp migration +- mm: memcg: fix memcg file_dirty numa stat +- mm: memcg/slab: optimize objcg stock draining +- proc_sysctl: fix oops caused by incorrect command parameters +- x86/setup: don't remove E820_TYPE_RAM for pfn 0 +- x86/mmx: Use KFPU_387 for MMX string operations +- x86/topology: Make __max_die_per_package available unconditionally +- x86/fpu: Add kernel_fpu_begin_mask() to selectively initialize state +- irqchip/mips-cpu: Set IPI domain parent chip +- cifs: do not fail __smb_send_rqst if non-fatal signals are pending +- powerpc/64s: fix scv entry fallback flush vs interrupt +- counter:ti-eqep: remove floor +- iio: adc: ti_am335x_adc: remove omitted iio_kfifo_free() +- drivers: iio: temperature: Add delay after the addressed reset command in mlx90632.c +- iio: ad5504: Fix setting power-down state +- iio: common: st_sensors: fix possible infinite loop in st_sensors_irq_thread +- i2c: sprd: depend on COMMON_CLK to fix compile tests +- perf evlist: Fix id index for heterogeneous systems +- can: peak_usb: fix use after free bugs +- can: vxcan: vxcan_xmit: fix use after free bug +- can: dev: can_restart: fix use after free bug +- selftests: net: fib_tests: remove duplicate log test +- xsk: Clear pool even for inactive queues +- ALSA: hda: Balance runtime/system PM if direct-complete is disabled +- gpio: sifive: select IRQ_DOMAIN_HIERARCHY rather than depend on it +- platform/x86: hp-wmi: Don't log a warning on HPWMI_RET_UNKNOWN_COMMAND errors +- platform/x86: intel-vbtn: Drop HP Stream x360 Convertible PC 11 from allow-list +- drm/vc4: Unify PCM card's driver_name +- i2c: octeon: check correct size of maximum RECV_LEN packet +- iov_iter: fix the uaccess area in copy_compat_iovec_from_user +- printk: fix kmsg_dump_get_buffer length calulations +- printk: ringbuffer: fix line counting +- RDMA/cma: Fix error flow in default_roce_mode_store +- RDMA/umem: Avoid undefined behavior of rounddown_pow_of_two() +- drm/amdkfd: Fix out-of-bounds read in kdf_create_vcrat_image_cpu() +- bpf: Reject too big ctx_size_in for raw_tp test run +- arm64: entry: remove redundant IRQ flag tracing +- powerpc: Fix alignment bug within the init sections +- powerpc: Use the common INIT_DATA_SECTION macro in vmlinux.lds.S +- bpf: Prevent double bpf_prog_put call from bpf_tracing_prog_attach +- crypto: omap-sham - Fix link error without crypto-engine +- scsi: ufs: Fix tm request when non-fatal error happens +- scsi: ufs: ufshcd-pltfrm depends on HAS_IOMEM +- scsi: megaraid_sas: Fix MEGASAS_IOC_FIRMWARE regression +- btrfs: print the actual offset in btrfs_root_name +- RDMA/ucma: Do not miss ctx destruction steps in some cases +- pinctrl: mediatek: Fix fallback call path +- pinctrl: aspeed: g6: Fix PWMG0 pinctrl setting +- gpiolib: cdev: fix frame size warning in gpio_ioctl() +- nfsd: Don't set eof on a truncated READ_PLUS +- nfsd: Fixes for nfsd4_encode_read_plus_data() +- x86/xen: fix 'nopvspin' build error +- RISC-V: Fix maximum allowed phsyical memory for RV32 +- RISC-V: Set current memblock limit +- libperf tests: Fail when failing to get a tracepoint id +- libperf tests: If a test fails return non-zero +- io_uring: flush timeouts that should already have expired +- drm/nouveau/kms/nv50-: fix case where notifier buffer is at offset 0 +- drm/nouveau/mmu: fix vram heap sizing +- drm/nouveau/i2c/gm200: increase width of aux semaphore owner fields +- drm/nouveau/privring: ack interrupts the same way as RM +- drm/nouveau/bios: fix issue shadowing expansion ROMs +- drm/amd/display: Fix to be able to stop crc calculation +- HID: logitech-hidpp: Add product ID for MX Ergo in Bluetooth mode +- drm/amd/display: disable dcn10 pipe split by default +- drm/amdgpu/psp: fix psp gfx ctrl cmds +- riscv: defconfig: enable gpio support for HiFive Unleashed +- dts: phy: add GPIO number and active state used for phy reset +- dts: phy: fix missing mdio device and probe failure of vsc8541-01 device +- x86/xen: Fix xen_hvm_smp_init() when vector callback not available +- x86/xen: Add xen_no_vector_callback option to test PCI INTX delivery +- xen: Fix event channel callback via INTX/GSI +- arm64: make atomic helpers __always_inline +- riscv: cacheinfo: Fix using smp_processor_id() in preemptible +- ALSA: hda/tegra: fix tegra-hda on tegra30 soc +- clk: tegra30: Add hda clock default rates to clock driver +- HID: Ignore battery for Elan touchscreen on ASUS UX550 +- HID: logitech-dj: add the G602 receiver +- riscv: Enable interrupts during syscalls with M-Mode +- riscv: Fix sifive serial driver +- riscv: Fix kernel time_init() +- scsi: sd: Suppress spurious errors when WRITE SAME is being disabled +- scsi: scsi_debug: Fix memleak in scsi_debug_init() +- scsi: qedi: Correct max length of CHAP secret +- scsi: ufs: Correct the LUN used in eh_device_reset_handler() callback +- scsi: ufs: Relax the condition of UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL +- x86/hyperv: Fix kexec panic/hang issues +- dm integrity: select CRYPTO_SKCIPHER +- HID: sony: select CONFIG_CRC32 +- HID: multitouch: Enable multi-input for Synaptics pointstick/touchpad device +- SUNRPC: Handle TCP socket sends with kernel_sendpage() again +- ASoC: rt711: mutex between calibration and power state changes +- ASoC: Intel: haswell: Add missing pm_ops +- drm/i915: Check for rq->hwsp validity after acquiring RCU lock +- drm/i915/gt: Prevent use of engine->wa_ctx after error +- drm/amd/display: DCN2X Find Secondary Pipe properly in MPO + ODM Case +- drm/amdgpu: remove gpu info firmware of green sardine +- drm/syncobj: Fix use-after-free +- drm/atomic: put state on error path +- dm integrity: conditionally disable "recalculate" feature +- dm integrity: fix a crash if "recalculate" used without "internal_hash" +- dm: avoid filesystem lookup in dm_get_dev_t() +- mmc: sdhci-brcmstb: Fix mmc timeout errors on S5 suspend +- mmc: sdhci-xenon: fix 1.8v regulator stabilization +- mmc: sdhci-of-dwcmshc: fix rpmb access +- mmc: core: don't initialize block size from ext_csd if not present +- pinctrl: ingenic: Fix JZ4760 support +- fs: fix lazytime expiration handling in __writeback_single_inode() +- btrfs: send: fix invalid clone operations when cloning from the same file and root +- btrfs: don't clear ret in btrfs_start_dirty_block_groups +- btrfs: fix lockdep splat in btrfs_recover_relocation +- btrfs: do not double free backref nodes on error +- btrfs: don't get an EINTR during drop_snapshot for reloc +- ACPI: scan: Make acpi_bus_get_device() clear return pointer on error +- dm crypt: fix copy and paste bug in crypt_alloc_req_aead +- crypto: xor - Fix divide error in do_xor_speed() +- ALSA: hda/via: Add minimum mute flag +- ALSA: hda/realtek - Limit int mic boost on Acer Aspire E5-575T +- ALSA: seq: oss: Fix missing error check in snd_seq_oss_synth_make_info() +- platform/x86: ideapad-laptop: Disable touchpad_switch for ELAN0634 +- platform/x86: i2c-multi-instantiate: Don't create platform device for INT3515 ACPI nodes +- i2c: bpmp-tegra: Ignore unknown I2C_M flags +- i2c: tegra: Wait for config load atomically while in ISR +- mtd: rawnand: nandsim: Fix the logic when selecting Hamming soft ECC engine +- mtd: rawnand: gpmi: fix dst bit offset when extracting raw payload +- scsi: target: tcmu: Fix use-after-free of se_cmd->priv +- mtd: phram: use div_u64_rem to stop overwrite len in phram_setup +- mtd: phram: Allow the user to set the erase page size. + * Mon Feb 01 2021 Xie XiuQi - 5.10.0-2.0.0.11 - config: add initial openeuler_defconfig for x86 - config: add initial openeuler_defconfig for arm64