2023-01-08 18:59:15

by Linus Torvalds

[permalink] [raw]
Subject: Linux 6.2-rc3

Here we are, another week done, and things are starting to look a lot
more normal after that very quiet holiday week that made rc2 so very
small.

Nothing in particular here stands out: the bulk of this is driver
fixes (networking, gpu, block, virtio - but also usb, fbdev, rdma etc,
so a little bit of everything). That is as should be, and just
matches where the bulk of the code is.

Outside of the various driver fixes, we've got core networking, some
filesystem fixes (btrfs, cifs, f2fs and nfs), and some perf tooling
work.

With the rest being mostly selftests and documentation.

The shortlog is below, plase do give it a good test, and holler if you
find anything.

Linus

---

Aaron Conole (1):
net: openvswitch: release vport resources on failure

Aaron Thompson (1):
memblock tests: Fix compilation error.

Adham Faris (1):
net/mlx5e: Fix hw mtu initializing at XDP SQ allocation

Ahelenia Ziemiańska (1):
perf tools: Don't include signature in version strings

Alex Elder (1):
net: ipa: use proper endpoint mask for suspend

Alexei Starovoitov (1):
selftests/bpf: Temporarily disable part of btf_dump:var_data test.

Andreas Rammhold (1):
of/fdt: run soc memory setup when early_init_dt_scan_memory fails

Angus Chen (2):
virtio_pci: modify ENOENT to EINVAL
virtio_blk: use UINT_MAX instead of -1U

Antoine Tenart (1):
net: vrf: determine the dst using the original ifindex for multicast

Anton Protopopov (1):
bpftool: Fix linkage with statically built libllvm

Anuradha Weeraman (1):
net: ethernet: marvell: octeontx2: Fix uninitialized variable warning

Arnaldo Carvalho de Melo (2):
perf tools: Fix segfault when trying to process tracepoints in
perf.data and not linked with libtraceevent
perf test record_probe_libc_inet_pton: Fix failure due to extra
inet_pton() backtrace in glibc >= 2.35

Arnd Bergmann (6):
wifi: mt76: mt7996: select CONFIG_RELAY
wifi: ath9k: use proper statements in conditionals
drm/tests: reduce drm_mm_test stack usage
usb: fotg210: fix OTG-only build
fbdev: omapfb: avoid stack overflow warning
usb: dwc3: xilinx: include linux/gpio/consumer.h

Ben Dooks (1):
riscv: uaccess: fix type of 0 variable on error in get_user()

Björn Töpel (1):
riscv, kprobes: Stricter c.jr/c.jalr decoding

Boris Burkov (1):
btrfs: fix resolving backrefs for inline extent followed by prealloc

Caleb Sander (1):
qed: allow sleep in qed_mcp_trace_dump()

Carlo Caione (1):
drm/meson: Reduce the FIFO lines held when AFBC is not used

Chao Yu (1):
f2fs: fix to avoid NULL pointer dereference in f2fs_issue_flush()

Chengen Du (1):
NFS: Judge the file access cache's timestamp in rcu path

Chris Mi (2):
net/mlx5e: CT: Fix ct debugfs folder name
net/mlx5e: Always clear dest encap in neigh-update-del

Chris Wilson (1):
perf/x86/rapl: Treat Tigerlake like Icelake

Christian König (1):
dma-buf: fix dma_buf_export init order v2

Christian Marangi (5):
net: dsa: qca8k: fix wrong length value for mgmt eth packet
net: dsa: tag_qca: fix wrong MGMT_DATA2 size
Revert "net: dsa: qca8k: cache lo and hi for mdio write"
net: dsa: qca8k: introduce single mii read/write lo/hi
net: dsa: qca8k: improve mdio master read/write by using single lo/hi

Christophe JAILLET (2):
btrfs: fix an error handling path in btrfs_rename()
btrfs: fix an error handling path in btrfs_defrag_leaves()

Chuang Wang (1):
bpf: Fix panic due to wrong pageattr of im->image

Chunhao Lin (2):
r8169: move rtl_wol_enable_rx() and rtl_prepare_power_down()
r8169: fix dmar pte write access is not set error

Cindy Lu (2):
vhost_vdpa: fix the crash in unmap a large memory
vdpa_sim_net: should not drop the multicast/broadcast packet

Cixi Geng (3):
gpio: eic-sprd: Make the irqchip immutable
gpio: pmic-eic-sprd: Make the irqchip immutable
gpio: sprd: Make the irqchip immutable

Colin Ian King (1):
RDMA/mlx5: remove variable i

Dan Carpenter (1):
drm/i915: unpin on error in intel_vgpu_shadow_mm_pin()

Daniil Tatianin (5):
qlcnic: prevent ->dcb use-after-free on qlcnic_dcb_enable() failure
net/ethtool/ioctl: return -EOPNOTSUPP if we have no phy stats
net/ethtool/ioctl: remove if n_stats checks from ethtool_get_phy_stats
net/ethtool/ioctl: split ethtool_get_phy_stats into multiple helpers
drivers/net/bonding/bond_3ad: return when there's no aggregator

David Arinzon (7):
net: ena: Fix toeplitz initial hash value
net: ena: Don't register memory info on XDP exchange
net: ena: Account for the number of processed bytes in XDP
net: ena: Use bitmask to indicate packet redirection
net: ena: Fix rx_copybreak value update
net: ena: Set default value for RX interrupt moderation
net: ena: Update NUMA TPH hint register upon NUMA node update

David Howells (1):
rxrpc: Fix a couple of potential use-after-frees

Davidlohr Bueso (2):
tools/virtio: remove stray characters
tools/virtio: remove smp_read_barrier_depends()

Dawei Li (1):
virtio: Implementing attribute show with sysfs_emit

Dmitry Fomichev (1):
virtio-blk: use a helper to handle request queuing errors

Dmitry Osipenko (2):
drm/scheduler: Fix lockup in drm_sched_entity_kill()
drm/scheduler: Fix lockup in drm_sched_entity_kill()

Dragos Tatulea (1):
net/mlx5e: IPoIB, Don't allow CQE compression to be turned on by default

Eli Cohen (6):
vdpa/mlx5: Fix rule forwarding VLAN to TIR
vdpa/mlx5: Return error on vlan ctrl commands if not supported
vdpa/mlx5: Fix wrong mac address deletion
vdpa/mlx5: Avoid using reslock in event_handler
vdpa/mlx5: Avoid overwriting CVQ iotlb
net/mlx5: Lag, fix failure to cancel delayed bond work

Eric Dumazet (2):
bonding: fix lockdep splat in bond_miimon_commit()
inet: control sockets should not use current thread task_frag

Eric Lin (1):
perf tools riscv: Fix build error on riscv due to missing header
for 'struct perf_sample'

Ferry Toth (1):
Revert "usb: ulpi: defer ulpi_register on ulpi_read_id timeout"

Filipe Manana (3):
btrfs: fix leak of fs devices after removing btrfs module
btrfs: fix fscrypt name leak after failure to join log transaction
btrfs: fix off-by-one in delalloc search during lseek

Florian Westphal (1):
netfilter: conntrack: fix ipv6 exthdr error check

Geetha sowjanya (1):
octeontx2-pf: Fix lmtst ID used in aura free

Haibo Chen (1):
gpio: pca953x: avoid to use uninitialized value pinctrl

Hans de Goede (1):
gpiolib: Fix using uninitialized lookup-flags on ACPI platforms

Hao Sun (2):
bpf: fix nullness propagation for reg to reg comparisons
selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID

Harshit Mogalapalli (1):
vduse: Validate vq_num in vduse_validate_config()

Hawkins Jiawei (1):
net: sched: fix memory leak in tcindex_set_parms

Horatiu Vultur (2):
net: lan966x: Fix configuration of the PCS
net: sparx5: Fix reading of the MAC address

Hou Tao (1):
bpf: Define sock security related BTF IDs under CONFIG_SECURITY_NETWORK

Ian Rogers (1):
perf build: Don't propagate subdir to submakes for install_headers

Ido Schimmel (1):
vxlan: Fix memory leaks in error path

Ira Weiny (1):
cifs: Fix kmap_local_page() unmapping

Jaegeuk Kim (4):
f2fs: initialize extent_cache parameter
f2fs: don't mix to use union values in extent_info
f2fs: should use a temp extent_info for lookup
f2fs: let's avoid panic if extent_tree is not created

Jakub Kicinski (3):
bpf: pull before calling skb_postpull_rcsum()
docs: netdev: reshuffle sections in prep for de-FAQization
docs: netdev: convert to a non-FAQ document

Jamal Hadi Salim (2):
net: sched: atm: dont intepret cls results when asked to drop
net: sched: cbq: dont intepret cls results when asked to drop

Jan Kara (1):
udf: Fix extension of the last extent in the file

Jason A. Donenfeld (2):
x86/insn: Avoid namespace clash by separating instruction
decoder MMIO type from MMIO trace type
tpm: Allow system suspend to continue when TPM suspend fails

Jason Wang (2):
vdpa: conditionally fill max max queue pair for stats
vdpasim: fix memory leak when freeing IOTLBs

Jeff Layton (2):
nfsd: shut down the NFSv4 state objects before the filecache
nfsd: fix handling of readdir in v4root vs. mount upcall timeout

Jens Axboe (8):
io_uring/io-wq: free worker if task_work creation is canceled
ARM: renumber bits related to _TIF_WORK_MASK
block: handle bio_split_to_limits() NULL return
block: don't allow splitting of a REQ_NOWAIT bio
io_uring: move 'poll_multi_queue' bool in io_ring_ctx
Revert "block: bio_copy_data_iter"
Revert "block: remove devnode callback from struct
block_device_operations"
Revert "pktcdvd: remove driver."

Jesus Sanchez-Palencia (1):
perf tools: Fix build on uClibc systems by adding missing
sys/types.h include

Jian Shen (3):
net: hns3: fix miss L3E checking for rx packet
net: hns3: fix VF promisc mode not update when mac table full
net: hns3: refine the handling for VF heartbeat

Jie Wang (1):
net: hns3: add interrupts re-initialization while doing VF FLR

Jiguang Xiao (1):
net: amd-xgbe: add missed tasklet_kill

Jiri Pirko (1):
net/mlx5: Add forgotten cleanup calls into mlx5_init_once() error path

Jiri Slaby (SUSE) (1):
RDMA/srp: Move large values to a new enum for gcc13

Johannes Berg (1):
wifi: iwlwifi: fw: skip PPAG for JF

Johnny S. Lee (1):
net: dsa: mv88e6xxx: depend on PTP conditionally

Josef Bacik (2):
btrfs: restore BTRFS_SEQ_LAST when looking up qgroup backref lookup
btrfs: scrub: fix uninitialized return value in recover_scrub_rbio

Jozsef Kadlecsik (2):
netfilter: ipset: fix hash:net,port,net hang with /0 subnet
netfilter: ipset: Rework long task execution when adding/deleting entries

Kees Cook (1):
bpf: Always use maximal size for copy_array()

Krzysztof Kozlowski (1):
dt-bindings: soundwire: qcom,soundwire: correct sizes related to
number of ports

Kui-Feng Lee (2):
bpf: keep a reference to the mm, in case the task is dead.
selftests/bpf: add a test for iter/task_vma for short-lived processes

Kuniyuki Iwashima (2):
tcp: Add TIME_WAIT sockets in bhash2.
tcp: Add selftest for bind() and TIME_WAIT.

Linus Torvalds (2):
hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling
Linux 6.2-rc3

Lukas Bulwahn (1):
wifi: ti: remove obsolete lines in the Makefile

Ma Jun (1):
drm/plane-helper: Add the missing declaration of drm_atomic_state

Maciej Fijalkowski (1):
ice: xsk: do not use xdp_return_frame() on tx_buf->raw_buf

Maor Dickman (1):
net/mlx5e: Set geneve_tlv_option_0_exist when matching on geneve option

Maor Gottlieb (1):
RDMA/mlx5: Fix validation of max_rd_atomic caps for DC

Martin KaFai Lau (1):
selftests/bpf: Test bpf_skb_adjust_room on CHECKSUM_PARTIAL

Masahiro Yamada (2):
kbuild: fix single *.ko build
kbuild: readd -w option when vmlinux.o or Module.symver is missing

Miaoqian Lin (5):
nfc: Fix potential resource leaks
net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe
gpio: sifive: Fix refcount leak in sifive_gpio_probe
perf tools: Fix resources leak in perf_data__open_dir()
memblock: Fix doc for memblock_phys_free

Michael Chan (4):
bnxt_en: Simplify bnxt_xdp_buff_init()
bnxt_en: Fix XDP RX path
bnxt_en: Fix first buffer size calculations for XDP multi-buffer
bnxt_en: Fix HDS and jumbo thresholds for RX packets

Michael Ellerman (3):
powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT
powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds
powerpc/vmlinux.lds: Don't discard .comment

Michał Grzelak (1):
dt-bindings: net: marvell,orion-mdio: Fix examples

Michel Dänzer (1):
Revert "drm/amd/display: Enable Freesync Video Mode by default"

Mikulas Patocka (1):
x86/asm: Fix an assembler warning with current binutils

Ming Lei (1):
ublk: honor IO_URING_F_NONBLOCK for handling control command

Moshe Shemesh (1):
net/mlx5: E-Switch, properly handle ingress tagged packets on VST

Mukul Joshi (1):
drm/amdkfd: Fix kernel warning during topology setup

Namhyung Kim (2):
perf stat: Fix handling of unsupported cgroup events when using
BPF counters
perf stat: Fix handling of --for-each-cgroup with --bpf-counters
to match non BPF mode

Naohiro Aota (1):
btrfs: fix trace event name typo for FLUSH_DELAYED_REFS

Nikolaus Voss (1):
crypto: caam - fix CAAM io mem access in blob_gen

Olga Kornievskaia (1):
pNFS/filelayout: Fix coalescing test for single DS

Pablo Neira Ayuso (4):
netfilter: nf_tables: consolidate set description
netfilter: nf_tables: add function to create set stateful expressions
netfilter: nf_tables: perform type checking for existing sets
netfilter: nf_tables: honor set timeout and garbage collection updates

Paolo Abeni (3):
mptcp: fix deadlock in fastopen error path
mptcp: fix lockdep false positive
net/ulp: prevent ULP without clone op from entering the LISTEN status

Paul E. McKenney (1):
block: Remove "select SRCU"

Paul Menzel (1):
fbdev: matroxfb: G200eW: Increase max memory from 1 MB to 16 MB

Paulo Alcantara (3):
cifs: ignore ipc reconnect failures during dfs failover
cifs: fix race in assemble_neg_contexts()
cifs: protect access of TCP_Server_Info::{dstaddr,hostname}

Pavel Begunkov (3):
io_uring: pin context while queueing deferred tw
io_uring: lockdep annotate CQ locking
io_uring: fix CQ waiting timeout handling

Pedro Tammela (1):
net/sched: fix retpoline wrapper compilation on configs without tc filters

Philipp Zabel (1):
drm/imx: ipuv3-plane: Fix overlay plane width

Po-Hsu Lin (3):
selftests: net: fix cmsg_so_mark.sh test hang
selftests: net: fix cleanup_v6() for arp_ndisc_evict_nocarrier
selftests: net: return non-zero for failures reported in
arp_ndisc_evict_nocarrier

Qu Wenruo (5):
btrfs: add error message for metadata level mismatch
btrfs: fix false alert on bad tree level check
btrfs: handle case when repair happens with dev-replace
btrfs: always report error in run_one_delayed_ref()
btrfs: fix compat_ro checks against remount

Rafael Mendonca (1):
virtio_blk: Fix signedness bug in virtblk_prep_rq()

Randy Dunlap (2):
fbdev: make offb driver tristate
net: sched: htb: fix htb_classify() kernel-doc

Ricardo Cañuelo (1):
tools/virtio: initialize spinlocks in vring_test.c

Rob Herring (2):
Revert "of: fdt: Honor CONFIG_CMDLINE* even without /chosen node"
of: fdt: Honor CONFIG_CMDLINE* even without /chosen node, take 2

Rodrigo Branco (1):
x86/bugs: Flush IBP in ib_prctl_set()

Ronak Doshi (1):
vmxnet3: correctly report csum_level for encapsulated packet

Rong Tao (1):
atm: uapi: fix spelling typos in comments

Rong Wang (1):
vdpa/vp_vdpa: fix kfree a wrong pointer in vp_vdpa_remove

Samson Tam (1):
drm/amd/display: Uninitialized variables causing 4k60 UCLK to
stay at DPM1 and not DPM0

Samuel Holland (1):
dt-bindings: net: sun8i-emac: Add phy-supply property

Sean Anderson (3):
powerpc: dts: t208x: Disable 10G on MAC1 and MAC2
net: phy: Update documentation for get_rate_matching
net: dpaa: Fix dtsec check for PCS availability

Shaomin Deng (1):
tools: Delete the unneeded semicolon after curly braces

Shaoqin Huang (2):
virtio_pci: use helper function is_power_of_2()
virtio_ring: use helper function is_power_of_2()

Shawn Bohrer (1):
veth: Fix race with AF_XDP exposing old or uninitialized descriptors

Shay Drory (4):
net/mlx5: Fix io_eq_size and event_eq_size params validation
net/mlx5: Avoid recovery in probe flows
net/mlx5: Fix RoCE setting at HCA level
RDMA/mlx5: Fix mlx5_ib_get_hw_stats when used for device

Shyam Prasad N (2):
cifs: refcount only the selected iface during interface update
cifs: fix interface count calculation during refresh

Si-Wei Liu (1):
vdpa: merge functionally duplicated dev_features attributes

Srinivas Pandruvada (1):
thermal: int340x: Add missing attribute for data rate base

Srivatsa S. Bhat (VMware) (1):
MAINTAINERS: Update maintainers for ptp_vmw driver

Stanislav Fomichev (1):
selftests/bpf: Add host-tools to gitignore

Stefano Garzarella (4):
vringh: fix range used in iotlb_translate()
vhost: fix range used in translate_desc()
vhost-vdpa: fix an iotlb memory leak
vdpa_sim: fix vringh initialization in vdpasim_queue_ready()

Steven Price (1):
drm/panfrost: Fix GEM handle creation ref-counting

Szymon Heidrich (1):
usb: rndis_host: Secure rndis_query check against int overflow

Takashi Iwai (1):
x86/kexec: Fix double-free of elf header buffer

Tanmay Bhushan (1):
btrfs: fix ASSERT em->len condition in btrfs_get_extent

Tariq Toukan (1):
net/mlx5e: Fix RX reporter for XSK RQs

Tetsuo Handa (1):
fs/ntfs3: don't hold ni_lock when calling truncate_setsize()

Thinh Nguyen (1):
usb: dwc3: gadget: Ignore End Transfer delay on teardown

Thomas Richter (2):
perf lock contention: Fix core dump related to not finding the
"__sched_text_end" symbol on s/390
perf test record_probe_libc_inet_pton: Fix test on s/390 where
'text_to_binary_address' now appears on the backtrace

Tianjia Zhang (1):
crypto: arm64/sm4 - fix possible crash with CFI enabled

Tom Rix (1):
udf: initialize newblock to 0

Trond Myklebust (1):
NFS: Fix up a sparse warning

Uwe Kleine-König (2):
net: ethernet: broadcom: bcm63xx_enet: Drop empty platform remove function
net: ethernet: freescale: enetc: Drop empty platform remove function

Vikas Gupta (1):
bnxt_en: fix devlink port registration to netdev

Wei Yongjun (1):
virtio-crypto: fix memory leak in
virtio_crypto_alg_skcipher_close_session()

Xiu Jianfeng (1):
drm/virtio: Fix memory leak in virtio_gpu_object_create()

Xiubo Li (2):
ceph: switch to vfs_inode_has_locks() to fix file lock bug
ceph: avoid use-after-free in ceph_fl_release_lock()

Xu Panda (2):
fbdev: omapfb: use strscpy() to instead of strncpy()
fbdev: atyfb: use strscpy() to instead of strncpy()

Xuezhi Zhang (1):
s390/qeth: convert sysfs snprintf to sysfs_emit

Yang Jihong (1):
perf help: Use HAVE_LIBTRACEEVENT to filter out unsupported commands

Yang Yingliang (1):
usb: fotg210-udc: fix error return code in fotg210_udc_probe()

Yinjun Zhang (1):
nfp: fix schedule in atomic context when sync mc address

Yishai Hadas (1):
lib/scatterlist: Fix to merge contiguous pages into the last SG properly

Yoshihiro Shimoda (2):
net: ethernet: renesas: rswitch: Fix error path in renesas_eth_sw_probe()
net: ethernet: renesas: rswitch: Fix getting mac address from device tree

Yuan Can (1):
vhost/vsock: Fix error handling in vhost_vsock_init()

Zhang Rui (2):
perf/x86/rapl: Add support for Intel Meteor Lake
perf/x86/rapl: Add support for Intel Emerald Rapids

Zheng Wang (1):
drm/i915/gvt: fix double free bug in split_2MB_gtt_entry

Zhengchao Shao (1):
caif: fix memory leak in cfctrl_linkup_request()

Zhenyu Wang (2):
drm/i915/gvt: fix gvt debugfs destroy
drm/i915/gvt: fix vgpu debugfs clean in remove

Zhi Wang (1):
drm/i915/gvt: use atomic operations to change the vGPU status

minoura makoto (1):
SUNRPC: ensure the matching upcall is in-flight upon downcall

ruanjinjie (1):
vdpa_sim: fix possible memory leak in vdpasim_net_init() and
vdpasim_blk_init()

wangjianli (1):
tools/virtio: Variable type completion


2023-01-09 10:02:55

by Geert Uytterhoeven

[permalink] [raw]
Subject: Build regressions/improvements in v6.2-rc3-8-g1fe4fd6f5cad346e

Below is the list of build error/warning regressions/improvements in
v6.2-rc3-8-g1fe4fd6f5cad346e[1] compared to v6.1[2].

Summarized:
- build errors: +10/-13
- build warnings: +13/-10

JFYI, when comparing v6.2-rc3-8-g1fe4fd6f5cad346e[1] to v6.2-rc2[3], the summaries are:
- build errors: +0/-0
- build warnings: +0/-0

Happy fixing! ;-)

Thanks to the linux-next team for providing the build service.

[1] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/1fe4fd6f5cad346e598593af36caeadc4f5d4fa9/ (all 152 configs)
[2] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/830b3c68c1fb1e9176028d02ef86f3cf76aa2476/ (all 152 configs)
[3] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/88603b6dc419445847923fcb7fe5080067a30f98/ (all 152 configs)


*** ERRORS ***

10 error regressions:
+ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn31/display_mode_vba_31.c: error: the frame size of 2224 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]: => 7082:1
+ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn314/display_mode_vba_314.c: error: the frame size of 2208 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]: => 7127:1
+ /kisskb/src/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c: error: array subscript 2 is above array bounds of 'u32[2]' {aka 'unsigned int[2]'} [-Werror=array-bounds]: => 641:28
+ /kisskb/src/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c: error: array subscript 3 is above array bounds of 'u32[2]' {aka 'unsigned int[2]'} [-Werror=array-bounds]: => 641:28
+ /kisskb/src/include/linux/bitfield.h: error: call to '__field_overflow' declared with attribute error: value doesn't fit into mask: => 151:3
+ /kisskb/src/include/linux/compiler_types.h: error: call to '__compiletime_assert_263' declared with attribute error: Unsupported access size for {READ,WRITE}_ONCE().: => 358:45
+ /kisskb/src/include/linux/fortify-string.h: error: '__builtin_memcpy' offset [0, 127] is out of the bounds [0, 0] [-Werror=array-bounds]: => 57:33
+ /kisskb/src/include/linux/fortify-string.h: error: '__builtin_memset' pointer overflow between offset [28, 898293814] and size [-898293787, -1] [-Werror=array-bounds]: => 59:33
+ /kisskb/src/kernel/kcsan/kcsan_test.c: error: the frame size of 1680 bytes is larger than 1536 bytes [-Werror=frame-larger-than=]: => 257:1
+ {standard input}: Error: unknown pseudo-op: `.cfi_def_c': => 1718

13 error improvements:
- /kisskb/src/arch/sh/include/asm/io.h: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]: 239:34 =>
- /kisskb/src/drivers/infiniband/hw/qib/qib_wc_x86_64.c: error: 'X86_VENDOR_AMD' undeclared (first use in this function): 149:37 =>
- /kisskb/src/drivers/infiniband/hw/qib/qib_wc_x86_64.c: error: 'struct cpuinfo_um' has no member named 'x86_vendor': 149:22 =>
- /kisskb/src/drivers/infiniband/hw/qib/qib_wc_x86_64.c: error: control reaches end of non-void function [-Werror=return-type]: 150:1 =>
- /kisskb/src/drivers/infiniband/sw/rdmavt/qp.c: error: 'struct cpuinfo_um' has no member named 'x86_cache_size': 88:22 =>
- /kisskb/src/drivers/infiniband/sw/rdmavt/qp.c: error: control reaches end of non-void function [-Werror=return-type]: 89:1 =>
- /kisskb/src/drivers/infiniband/sw/rdmavt/qp.c: error: implicit declaration of function '__copy_user_nocache' [-Werror=implicit-function-declaration]: 100:2 =>
- /kisskb/src/drivers/net/ethernet/marvell/prestera/prestera_flower.c: error: 'rule' is used uninitialized [-Werror=uninitialized]: 480:34 =>
- {standard input}: Error: displacement to undefined symbol .L377 overflows 12-bit field: 2286 =>
- {standard input}: Error: displacement to undefined symbol .L378 overflows 8-bit field : 2302 =>
- {standard input}: Error: displacement to undefined symbol .L382 overflows 8-bit field : 2213 =>
- {standard input}: Error: pcrel too far: 2206, 2232, 2274, 2231, 2229, 2215, 2221, 2216, 2204, 2249, 2248, 2261, 2262, 2247, 2217, 2259, 2293, 2209 =>
- {standard input}: Error: unknown pseudo-op: `.l': 2305 =>


*** WARNINGS ***

13 warning regressions:
+ modpost: WARNING: modpost: "__ndelay" [drivers/gpio/gpio-latch.ko] has no CRC!: => N/A
+ modpost: WARNING: modpost: "__udelay" [drivers/iio/adc/max11410.ko] has no CRC!: => N/A
+ modpost: WARNING: modpost: "__udelay" [drivers/input/keyboard/tegra-kbc.ko] has no CRC!: => N/A
+ modpost: WARNING: modpost: "__udelay" [drivers/mfd/axp20x.ko] has no CRC!: => N/A
+ modpost: WARNING: modpost: "__udelay" [drivers/mmc/host/sunplus-mmc.ko] has no CRC!: => N/A
+ modpost: WARNING: modpost: "__udelay" [drivers/net/ethernet/renesas/rswitch_drv.ko] has no CRC!: => N/A
+ modpost: WARNING: modpost: "__udelay" [drivers/net/wireless/mediatek/mt76/mt7996/mt7996e.ko] has no CRC!: => N/A
+ modpost: WARNING: modpost: "__udelay" [drivers/net/wireless/realtek/rtw89/rtw89_8852b.ko] has no CRC!: => N/A
+ modpost: WARNING: modpost: "__udelay" [drivers/phy/renesas/r8a779f0-ether-serdes.ko] has no CRC!: => N/A
+ modpost: WARNING: modpost: "__udelay" [drivers/ptp/ptp_idt82p33.ko] has no CRC!: => N/A
+ modpost: WARNING: modpost: "__udelay" [drivers/usb/fotg210/fotg210.ko] has no CRC!: => N/A
+ modpost: WARNING: modpost: "__udelay" [fs/xfs/xfs.ko] has no CRC!: => N/A
+ modpost: WARNING: modpost: "empty_zero_page" [net/rxrpc/rxperf.ko] has no CRC!: => N/A

10 warning improvements:
- modpost: WARNING: modpost: "__ashldi3" [lib/zstd/zstd_compress.ko] has no CRC!: N/A =>
- modpost: WARNING: modpost: "__udelay" [drivers/net/can/pch_can.ko] has no CRC!: N/A =>
- modpost: WARNING: modpost: "__udelay" [drivers/net/ethernet/fealnx.ko] has no CRC!: N/A =>
- modpost: WARNING: modpost: "__udelay" [drivers/net/ethernet/smsc/smc911x.ko] has no CRC!: N/A =>
- modpost: WARNING: modpost: "__udelay" [drivers/net/pcs/pcs-altera-tse.ko] has no CRC!: N/A =>
- modpost: WARNING: modpost: "__udelay" [drivers/usb/host/fotg210-hcd.ko] has no CRC!: N/A =>
- modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o: section mismatch in reference: qed_mfw_ext_maps (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata): N/A =>
- modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o: section mismatch in reference: qed_mfw_legacy_maps (section: .data) -> qed_mfw_legacy_bb_100g (section: .init.rodata): N/A =>
- modpost: WARNING: modpost: drivers/net/ethernet/qlogic/qede/qede.o: section mismatch in reference: qede_forced_speed_maps (section: .data) -> qede_forced_speed_100000 (section: .init.rodata): N/A =>
- modpost: WARNING: modpost: vmlinux.o: section mismatch in reference: __trace_event_discard_commit (section: .text.unlikely) -> initcall_level_names (section: .init.data): N/A =>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

2023-01-09 18:31:29

by Guenter Roeck

[permalink] [raw]
Subject: Re: Linux 6.2-rc3

On Sun, Jan 08, 2023 at 12:06:47PM -0600, Linus Torvalds wrote:
> Here we are, another week done, and things are starting to look a lot
> more normal after that very quiet holiday week that made rc2 so very
> small.
>
> Nothing in particular here stands out: the bulk of this is driver
> fixes (networking, gpu, block, virtio - but also usb, fbdev, rdma etc,
> so a little bit of everything). That is as should be, and just
> matches where the bulk of the code is.
>
> Outside of the various driver fixes, we've got core networking, some
> filesystem fixes (btrfs, cifs, f2fs and nfs), and some perf tooling
> work.
>
> With the rest being mostly selftests and documentation.
>
> The shortlog is below, plase do give it a good test, and holler if you
> find anything.
>

Build results:
total: 155 pass: 151 fail: 4
Failed builds:
powerpc:allmodconfig
sh:defconfig
sh:shx3_defconfig
xtensa:allmodconfig
Qemu test results:
total: 500 pass: 500 fail: 0

No change with compile tests (included again below for reference).
The good news is that the runtime/boot tests now all pass.

Guenter

---
Build errors
============

Building powerpc:allmodconfig ... failed
--------------
Error log:
In file included from include/linux/string.h:253,
from arch/powerpc/include/asm/paca.h:16,
from arch/powerpc/include/asm/current.h:13,
from include/linux/thread_info.h:23,
from include/asm-generic/preempt.h:5,
from ./arch/powerpc/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:56,
from include/linux/wait.h:9,
from include/linux/wait_bit.h:8,
from include/linux/fs.h:6,
from fs/f2fs/inline.c:9:
fs/f2fs/inline.c: In function 'f2fs_move_inline_dirents':
include/linux/fortify-string.h:59:33: error: '__builtin_memset' pointer overflow between offset [28, 898293814] and size [-898293787, -1] [-Werror=array-bounds]
59 | #define __underlying_memset __builtin_memset
| ^
include/linux/fortify-string.h:337:9: note: in expansion of macro '__underlying_memset'
337 | __underlying_memset(p, c, __fortify_size); \
| ^~~~~~~~~~~~~~~~~~~
include/linux/fortify-string.h:345:25: note: in expansion of macro '__fortify_memset_chk'
345 | #define memset(p, c, s) __fortify_memset_chk(p, c, s, \
| ^~~~~~~~~~~~~~~~~~~~
fs/f2fs/inline.c:430:9: note: in expansion of macro 'memset'
430 | memset(dst.bitmap + src.nr_bitmap, 0, dst.nr_bitmap - src.nr_bitmap);
| ^~~~~~
cc1: all warnings being treated as errors

xtensa:allmodconfig

Building xtensa:allmodconfig ... failed
--------------
Error log:
kernel/kcsan/kcsan_test.c: In function '__report_matches':
kernel/kcsan/kcsan_test.c:257:1: error: the frame size of 1680 bytes is larger than 1536 bytes

Bisect for both points to commit e240e53ae0abb08 ("mm, slub: add
CONFIG_SLUB_TINY"). Reverting it on its own is not possible, but
reverting the following two patches fixes the problem.

149b6fa228ed mm, slob: rename CONFIG_SLOB to CONFIG_SLOB_DEPRECATED
e240e53ae0ab mm, slub: add CONFIG_SLUB_TINY

Context: CONFIG_SLUB_TINY is enabled with allmodconfig builds.
This enables some previously disabled configurations and disables
some previously enabled configurations.

---
sh:defconfig
sh:shx3_defconfig

Building sh:defconfig ... failed
--------------
Error log:
In file included from <command-line>:
In function 'follow_pmd_mask',
inlined from 'follow_pud_mask' at mm/gup.c:735:9,
inlined from 'follow_p4d_mask' at mm/gup.c:752:9,
inlined from 'follow_page_mask' at mm/gup.c:809:9:
include/linux/compiler_types.h:358:45: error: call to '__compiletime_assert_263' declared with attribute error: Unsupported access size for {READ,WRITE}_ONCE().
358 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)

Bisect points to commit 0862ff059c9e ("sh/mm: Make pmd_t similar to pte_t").
This commit introduces

-typedef struct { unsigned long long pmd; } pmd_t;
+typedef struct {
+ struct {
+ unsigned long pmd_low;
+ unsigned long pmd_high;
+ };
+ unsigned long long pmd;
+} pmd_t;

That should probably be "typedef union", not "typedef struct".

2023-01-09 22:41:50

by Linus Torvalds

[permalink] [raw]
Subject: Re: Linux 6.2-rc3

On Mon, Jan 9, 2023 at 11:47 AM Guenter Roeck <[email protected]> wrote:
>
> fs/f2fs/inline.c: In function 'f2fs_move_inline_dirents':
> include/linux/fortify-string.h:59:33: error: '__builtin_memset' pointer overflow between offset [28, 898293814] and size [-898293787, -1] [-Werror=array-bounds]

Ok, I guess we'll have to disable this gcc warning for this version
again. I don't think anybody figured out why it happens. We had
several people look at it (Kees, Vlastimil, Jaegeuk) and I think
everybody ended up going "tis looks like a compiler thing".

Does anybody remember - what was the compiler version again and what
do we need to disable?

> kernel/kcsan/kcsan_test.c: In function '__report_matches':
> kernel/kcsan/kcsan_test.c:257:1: error: the frame size of 1680 bytes is larger than 1536 bytes
>
> Context: CONFIG_SLUB_TINY is enabled with allmodconfig builds.
> This enables some previously disabled configurations and disables
> some previously enabled configurations.

I do think that the test code should be a lot more careful about
random things on stack.

We've had this before with the EXPECT() macros generating *much* too
much stack space, and it's not ok for test code to violate kernel
coding standards even if it might be a "odd config that isn't
realistic".

That function does some odd things, including

typeof(observed.lines) expect;

WHAT IS THAT TYPE? It turns out that we have

static struct {
spinlock_t lock;
int nlines;
char lines[3][512];
} observed = {

so it's basically a 1.5kB byte array.

And then des

char tmp[2][64];

to add some more pressure. So yeah, can't blame the compiler being
stupid, this is just bad code.

This is all very much a "this needs to be fixed, or the test just
needs to be removed, because that's not acceptable".

None of this is new, but clearly it was hidden by config issues
before. Added the guilty parties.

> In file included from <command-line>:
> In function 'follow_pmd_mask',
> inlined from 'follow_pud_mask' at mm/gup.c:735:9,
> inlined from 'follow_p4d_mask' at mm/gup.c:752:9,
> inlined from 'follow_page_mask' at mm/gup.c:809:9:
> include/linux/compiler_types.h:358:45: error: call to '__compiletime_assert_263' declared with attribute error: Unsupported access size for {READ,WRITE}_ONCE().
> 358 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
>
> Bisect points to commit 0862ff059c9e ("sh/mm: Make pmd_t similar to pte_t").
> This commit introduces
>
> -typedef struct { unsigned long long pmd; } pmd_t;
> +typedef struct {
> + struct {
> + unsigned long pmd_low;
> + unsigned long pmd_high;
> + };
> + unsigned long long pmd;
> +} pmd_t;
>
> That should probably be "typedef union", not "typedef struct".

Ok, PeterZ has been off due to the holidays, but seems back. I agree,
that outer 'struct' should obviously be 'union', but let's make the
guilty party (ie Peter) fix it up.

Linus

2023-01-09 22:42:14

by Linus Torvalds

[permalink] [raw]
Subject: Re: Linux 6.2-rc3

On Mon, Jan 9, 2023 at 4:30 PM Marco Elver <[email protected]> wrote:
>
> The 1.5kB array is being fixed by
> https://lore.kernel.org/lkml/[email protected]/
> -- I suppose it's fair if you'd like to pull that patch right away, or
> wait for the next PR from the xtensa tree (Cc Max).

I'll wait for the pull request, and hope that this gets in by rc4 and
we don't have another -rc with this issue.

Hint hint,
Linus

2023-01-09 22:43:04

by Marco Elver

[permalink] [raw]
Subject: Re: Linux 6.2-rc3

On Mon, 9 Jan 2023 at 23:18, Linus Torvalds
<[email protected]> wrote:
[...]
> > kernel/kcsan/kcsan_test.c: In function '__report_matches':
> > kernel/kcsan/kcsan_test.c:257:1: error: the frame size of 1680 bytes is larger than 1536 bytes
> >
> > Context: CONFIG_SLUB_TINY is enabled with allmodconfig builds.
> > This enables some previously disabled configurations and disables
> > some previously enabled configurations.
>
> I do think that the test code should be a lot more careful about
> random things on stack.
>
> We've had this before with the EXPECT() macros generating *much* too
> much stack space, and it's not ok for test code to violate kernel
> coding standards even if it might be a "odd config that isn't
> realistic".
>
> That function does some odd things, including
>
> typeof(observed.lines) expect;
>
> WHAT IS THAT TYPE? It turns out that we have
>
> static struct {
> spinlock_t lock;
> int nlines;
> char lines[3][512];
> } observed = {
>
> so it's basically a 1.5kB byte array.
>
> And then des
>
> char tmp[2][64];
>
> to add some more pressure. So yeah, can't blame the compiler being
> stupid, this is just bad code.
>
> This is all very much a "this needs to be fixed, or the test just
> needs to be removed, because that's not acceptable".
>
> None of this is new, but clearly it was hidden by config issues
> before. Added the guilty parties.

The 1.5kB array is being fixed by
https://lore.kernel.org/lkml/[email protected]/
-- I suppose it's fair if you'd like to pull that patch right away, or
wait for the next PR from the xtensa tree (Cc Max).

Thanks,
-- Marco

2023-01-09 22:53:06

by Vlastimil Babka

[permalink] [raw]
Subject: Re: Linux 6.2-rc3

On 1/9/23 23:18, Linus Torvalds wrote:
> On Mon, Jan 9, 2023 at 11:47 AM Guenter Roeck <[email protected]> wrote:
>>
>> fs/f2fs/inline.c: In function 'f2fs_move_inline_dirents':
>> include/linux/fortify-string.h:59:33: error: '__builtin_memset' pointer overflow between offset [28, 898293814] and size [-898293787, -1] [-Werror=array-bounds]
>
> Ok, I guess we'll have to disable this gcc warning for this version
> again. I don't think anybody figured out why it happens. We had
> several people look at it (Kees, Vlastimil, Jaegeuk) and I think
> everybody ended up going "tis looks like a compiler thing".
>
> Does anybody remember - what was the compiler version again and what
> do we need to disable?

Guenter reported that "The problem is seen with gcc 11.3.0, but not with gcc
12.2.0 nor with gcc 10.3.0."

https://lore.kernel.org/all/[email protected]/

Kees said it's -Warray-bounds, already disabled on gcc 12 for other reasons:

https://lore.kernel.org/all/[email protected]/

2023-01-09 23:29:15

by Guenter Roeck

[permalink] [raw]
Subject: Re: Linux 6.2-rc3

On 1/9/23 14:18, Linus Torvalds wrote:
> On Mon, Jan 9, 2023 at 11:47 AM Guenter Roeck <[email protected]> wrote:
>>
>> fs/f2fs/inline.c: In function 'f2fs_move_inline_dirents':
>> include/linux/fortify-string.h:59:33: error: '__builtin_memset' pointer overflow between offset [28, 898293814] and size [-898293787, -1] [-Werror=array-bounds]
>
> Ok, I guess we'll have to disable this gcc warning for this version
> again. I don't think anybody figured out why it happens. We had
> several people look at it (Kees, Vlastimil, Jaegeuk) and I think
> everybody ended up going "tis looks like a compiler thing".
>
> Does anybody remember - what was the compiler version again and what
> do we need to disable?
>

I currently run my build tests with gcc 11.3. There is "config CC_NO_ARRAY_BOUNDS"
which disables it for gcc 12.

Guenter

2023-01-09 23:31:52

by Linus Torvalds

[permalink] [raw]
Subject: Re: Linux 6.2-rc3

On Mon, Jan 9, 2023 at 4:43 PM Vlastimil Babka <[email protected]> wrote:
>
> On 1/9/23 23:18, Linus Torvalds wrote:
> >
> > Does anybody remember - what was the compiler version again and what
> > do we need to disable?
>
> Guenter reported that "The problem is seen with gcc 11.3.0, but not with gcc
> 12.2.0 nor with gcc 10.3.0."
>
> https://lore.kernel.org/all/[email protected]/
>
> Kees said it's -Warray-bounds, already disabled on gcc 12 for other reasons:
>
> https://lore.kernel.org/all/[email protected]/

Thanks.

I added a GCC11_NO_ARRAY_BOUNDS symbol to match the existing
GCC12_NO_ARRAY_BOUNDS one, and to half-way document this thing.

I obviously don't see this warning myself, so my commit is "blind",
but looks completely obvious.

Famous last words.

Linus

Linus

2023-01-10 00:50:23

by Guenter Roeck

[permalink] [raw]
Subject: Re: Linux 6.2-rc3

On 1/9/23 15:14, Linus Torvalds wrote:
> On Mon, Jan 9, 2023 at 4:43 PM Vlastimil Babka <[email protected]> wrote:
>>
>> On 1/9/23 23:18, Linus Torvalds wrote:
>>>
>>> Does anybody remember - what was the compiler version again and what
>>> do we need to disable?
>>
>> Guenter reported that "The problem is seen with gcc 11.3.0, but not with gcc
>> 12.2.0 nor with gcc 10.3.0."
>>
>> https://lore.kernel.org/all/[email protected]/
>>
>> Kees said it's -Warray-bounds, already disabled on gcc 12 for other reasons:
>>
>> https://lore.kernel.org/all/[email protected]/
>
> Thanks.
>
> I added a GCC11_NO_ARRAY_BOUNDS symbol to match the existing
> GCC12_NO_ARRAY_BOUNDS one, and to half-way document this thing.
>
> I obviously don't see this warning myself, so my commit is "blind",
> but looks completely obvious.
>
> Famous last words.
>

Tested working.

Guenter

2023-01-10 11:47:05

by Peter Zijlstra

[permalink] [raw]
Subject: Re: Linux 6.2-rc3

On Mon, Jan 09, 2023 at 04:18:02PM -0600, Linus Torvalds wrote:

> > In file included from <command-line>:
> > In function 'follow_pmd_mask',
> > inlined from 'follow_pud_mask' at mm/gup.c:735:9,
> > inlined from 'follow_p4d_mask' at mm/gup.c:752:9,
> > inlined from 'follow_page_mask' at mm/gup.c:809:9:
> > include/linux/compiler_types.h:358:45: error: call to '__compiletime_assert_263' declared with attribute error: Unsupported access size for {READ,WRITE}_ONCE().
> > 358 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
> >
> > Bisect points to commit 0862ff059c9e ("sh/mm: Make pmd_t similar to pte_t").
> > This commit introduces
> >
> > -typedef struct { unsigned long long pmd; } pmd_t;
> > +typedef struct {
> > + struct {
> > + unsigned long pmd_low;
> > + unsigned long pmd_high;
> > + };
> > + unsigned long long pmd;
> > +} pmd_t;
> >
> > That should probably be "typedef union", not "typedef struct".
>
> Ok, PeterZ has been off due to the holidays, but seems back. I agree,

Yup, nearly 2 weeks of no email what so ever.. glorious!

> that outer 'struct' should obviously be 'union', but let's make the
> guilty party (ie Peter) fix it up.

Urgh.. yes. How did the robots not yell at me before.

So the original patch came in through x86/mm, but this is very much a SH
only fix how do we route this? Linus you want to take this directly or
Rich do you have an urgent queue for the next -rc somewhere?

---
Subject: sh/mm: Fix pmd_t for real

Because typing is hard...

Fixes: 0862ff059c9e ("sh/mm: Make pmd_t similar to pte_t")
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
---
diff --git a/arch/sh/include/asm/pgtable-3level.h b/arch/sh/include/asm/pgtable-3level.h
index a889a3a938ba..d1ce73f3bd85 100644
--- a/arch/sh/include/asm/pgtable-3level.h
+++ b/arch/sh/include/asm/pgtable-3level.h
@@ -28,7 +28,7 @@
#define pmd_ERROR(e) \
printk("%s:%d: bad pmd %016llx.\n", __FILE__, __LINE__, pmd_val(e))

-typedef struct {
+typedef union {
struct {
unsigned long pmd_low;
unsigned long pmd_high;

2023-01-10 12:39:06

by Linus Torvalds

[permalink] [raw]
Subject: Re: Linux 6.2-rc3

On Tue, Jan 10, 2023 at 4:45 AM Peter Zijlstra <[email protected]> wrote:
>
> So the original patch came in through x86/mm, but this is very much a SH
> only fix how do we route this? Linus you want to take this directly or
> Rich do you have an urgent queue for the next -rc somewhere?

I took it directly. Thanks,

Linus