# git rev-parse -q --verify 7c3dc440b1f5c75f45e24430f913e561dc82a419^{commit} 7c3dc440b1f5c75f45e24430f913e561dc82a419 already have revision, skipping fetch # git checkout -q -f -B kisskb 7c3dc440b1f5c75f45e24430f913e561dc82a419 # git clean -qxdf # < git log -1 # commit 7c3dc440b1f5c75f45e24430f913e561dc82a419 # Merge: d8e473182ab9 e686c32590f4 # Author: Linus Torvalds # Date: Sat Feb 25 09:19:23 2023 -0800 # # Merge tag 'cxl-for-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl # # Pull Compute Express Link (CXL) updates from Dan Williams: # "To date Linux has been dependent on platform-firmware to map CXL RAM # regions and handle events / errors from devices. With this update we # can now parse / update the CXL memory layout, and report events / # errors from devices. This is a precursor for the CXL subsystem to # handle the end-to-end "RAS" flow for CXL memory. i.e. the flow that # for DDR-attached-DRAM is handled by the EDAC driver where it maps # system physical address events to a field-replaceable-unit (FRU / # endpoint device). In general, CXL has the potential to standardize # what has historically been a pile of memory-controller-specific error # handling logic. # # Another change of note is the default policy for handling RAM-backed # device-dax instances. Previously the default access mode was "device", # mmap(2) a device special file to access memory. The new default is # "kmem" where the address range is assigned to the core-mm via # add_memory_driver_managed(). This saves typical users from wondering # why their platform memory is not visible via free(1) and stuck behind # a device-file. At the same time it allows expert users to deploy # policy to, for example, get dedicated access to high performance # memory, or hide low performance memory from general purpose kernel # allocations. This affects not only CXL, but also systems with # high-bandwidth-memory that platform-firmware tags with the # EFI_MEMORY_SP (special purpose) designation. # # Summary: # # - CXL RAM region enumeration: instantiate 'struct cxl_region' objects # for platform firmware created memory regions # # - CXL RAM region provisioning: complement the existing PMEM region # creation support with RAM region support # # - "Soft Reservation" policy change: Online (memory hot-add) # soft-reserved memory (EFI_MEMORY_SP) by default, but still allow # for setting aside such memory for dedicated access via device-dax. # # - CXL Events and Interrupts: Takeover CXL event handling from # platform-firmware (ACPI calls this CXL Memory Error Reporting) and # export CXL Events via Linux Trace Events. # # - Convey CXL _OSC results to drivers: Similar to PCI, let the CXL # subsystem interrogate the result of CXL _OSC negotiation. # # - Emulate CXL DVSEC Range Registers as "decoders": Allow for # first-generation devices that pre-date the definition of the CXL # HDM Decoder Capability to translate the CXL DVSEC Range Registers # into 'struct cxl_decoder' objects. # # - Set timestamp: Per spec, set the device timestamp in case of # hotplug, or if platform-firwmare failed to set it. # # - General fixups: linux-next build issues, non-urgent fixes for # pre-production hardware, unit test fixes, spelling and debug # message improvements" # # * tag 'cxl-for-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl: (66 commits) # dax/kmem: Fix leak of memory-hotplug resources # cxl/mem: Add kdoc param for event log driver state # cxl/trace: Add serial number to trace points # cxl/trace: Add host output to trace points # cxl/trace: Standardize device information output # cxl/pci: Remove locked check for dvsec_range_allowed() # cxl/hdm: Add emulation when HDM decoders are not committed # cxl/hdm: Create emulated cxl_hdm for devices that do not have HDM decoders # cxl/hdm: Emulate HDM decoder from DVSEC range registers # cxl/pci: Refactor cxl_hdm_decode_init() # cxl/port: Export cxl_dvsec_rr_decode() to cxl_port # cxl/pci: Break out range register decoding from cxl_hdm_decode_init() # cxl: add RAS status unmasking for CXL # cxl: remove unnecessary calling of pci_enable_pcie_error_reporting() # dax/hmem: build hmem device support as module if possible # dax: cxl: add CXL_REGION dependency # cxl: avoid returning uninitialized error code # cxl/pmem: Fix nvdimm registration races # cxl/mem: Fix UAPI command comment # cxl/uapi: Tag commands from cxl_query_cmd() # ... # < /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 7c3dc440b1f5c75f45e24430f913e561dc82a419 # < make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 allmodconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_KCOV=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_GCC_PLUGIN_STRUCTLEAK=n # Added to kconfig CONFIG_GCC_PLUGIN_RANDSTRUCT=n # Added to kconfig CONFIG_UML_NET=n # Added to kconfig CONFIG_UML_NET_ETHERTAP=n # Added to kconfig CONFIG_UML_NET_TUNTAP=n # Added to kconfig CONFIG_UML_NET_SLIP=n # Added to kconfig CONFIG_UML_NET_DAEMON=n # Added to kconfig CONFIG_UML_NET_VDE=n # Added to kconfig CONFIG_UML_NET_MCAST=n # Added to kconfig CONFIG_UML_NET_PCAP=n # Added to kconfig CONFIG_UML_NET_SLIRP=n # Added to kconfig CONFIG_GCOV_KERNEL=n # Added to kconfig CONFIG_DEBUG_INFO_BTF=n # Added to kconfig CONFIG_BPF_PRELOAD=n # < make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 help # make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 olddefconfig .config:12698:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY .config:12702:warning: override: reassigning to symbol UML_NET_ETHERTAP .config:12704:warning: override: reassigning to symbol UML_NET_SLIP .config:12707:warning: override: reassigning to symbol UML_NET_MCAST .config:12709:warning: override: reassigning to symbol UML_NET_SLIRP # make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 /kisskb/src/drivers/spi/spi-stm32-qspi.c: In function 'stm32_qspi_dirmap_read': /kisskb/src/drivers/spi/spi-stm32-qspi.c:523:27: error: 'op' is used uninitialized [-Werror=uninitialized] 523 | struct spi_mem_op op; | ^~ /kisskb/src/drivers/spi/spi-stm32-qspi.c:523:27: note: 'op' declared here 523 | struct spi_mem_op op; | ^~ /kisskb/src/drivers/spi/spi-stm32-qspi.c: In function 'stm32_qspi_transfer_one_message': /kisskb/src/drivers/spi/spi-stm32-qspi.c:564:27: error: 'op' is used uninitialized [-Werror=uninitialized] 564 | struct spi_mem_op op; | ^~ /kisskb/src/drivers/spi/spi-stm32-qspi.c:564:27: note: 'op' declared here 564 | struct spi_mem_op op; | ^~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:252: drivers/spi/spi-stm32-qspi.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:504: drivers/spi] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/x86/um/asm/processor.h:41, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/pci.h:35, from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:26: /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c: In function 'kfd_cpumask_to_apic_id': /kisskb/src/arch/um/include/asm/processor-generic.h:94:19: error: called object is not a function or function pointer 94 | #define cpu_data (&boot_cpu_data) | ~^~~~~~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:2157:16: note: in expansion of macro 'cpu_data' 2157 | return cpu_data(first_cpu_of_numa_node).apicid; | ^~~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:2161:1: error: control reaches end of non-void function [-Werror=return-type] 2161 | } | ^ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:252: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:504: drivers/gpu/drm/amd/amdgpu] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:504: drivers/gpu/drm] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:504: drivers/gpu] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:504: drivers] Error 2 make[1]: *** [/kisskb/src/Makefile:2028: .] Error 2 make: *** [Makefile:242: __sub-make] Error 2 Command 'make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_um-allmodconfig_um-x86_64-gcc12 # Build took: 0:26:34.130448