# git rev-parse -q --verify af3e9579ecfbe1796334bb25a2f0a6437983673a^{commit} af3e9579ecfbe1796334bb25a2f0a6437983673a already have revision, skipping fetch # git checkout -q -f -B kisskb af3e9579ecfbe1796334bb25a2f0a6437983673a # git clean -qxdf # < git log -1 # commit af3e9579ecfbe1796334bb25a2f0a6437983673a # Author: Linus Torvalds # Date: Sat Aug 6 13:24:56 2022 -0700 # # Revert "iommu/dma: Add config for PCI SAC address trick" # # This reverts commit 4bf7fda4dce22214c70c49960b1b6438e6260b67. # # It turns out that it was hopelessly naive to think that this would work, # considering that we've always done this. The first machine I actually # tested this on broke at bootup, getting to # # Reached target cryptsetup.target - Local Encrypted Volumes. # # and then hanging. It's unclear what actually fails, since there's a lot # else going on around that time (eg amdgpu probing also happens around # that same time, but it could be some other random init thing that didn't # complete earlier and just caused the boot to hang at that point). # # The expectations that we should default to some unsafe and untested mode # seems entirely unfounded, and the belief that this wouldn't affect # modern systems is clearly entirely false. The machine in question is # about two years old, so it's not exactly shiny, but it's also not some # dusty old museum piece PDP-11 in a closet. # # Cc: Robin Murphy # Cc: Christoph Hellwig # Cc: John Garry # Cc: Joerg Roedel # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 af3e9579ecfbe1796334bb25a2f0a6437983673a # < make -s -j 120 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- sun3_defconfig # < make -s -j 120 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 120 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 120 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- In file included from /kisskb/src/include/linux/swab.h:5, from /kisskb/src/include/uapi/linux/byteorder/big_endian.h:14, from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/m68k/include/uapi/asm/byteorder.h:5, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/m68k/include/asm/bitops.h:529, from /kisskb/src/include/linux/bitops.h:33, from /kisskb/src/include/linux/kernel.h:22, from /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:31: /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c: In function 'sun3_82586_timeout': /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:989:108: warning: array subscript 1 is above array bounds of 'volatile struct transmit_cmd_struct *[1]' [-Warray-bounds] printk("%s: command-stats: %04x %04x\n",dev->name,swab16(p->xmit_cmds[0]->cmd_status),swab16(p->xmit_cmds[1]->cmd_status)); ~~~~~~~~~~~~^~~ /kisskb/src/include/uapi/linux/swab.h:107:12: note: in definition of macro '__swab16' __fswab16(x)) ^ /kisskb/src/include/linux/printk.h:464:26: note: in expansion of macro 'printk_index_wrap' #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:989:3: note: in expansion of macro 'printk' printk("%s: command-stats: %04x %04x\n",dev->name,swab16(p->xmit_cmds[0]->cmd_status),swab16(p->xmit_cmds[1]->cmd_status)); ^~~~~~ Completed OK # rm -rf /kisskb/build/linus_sun3_defconfig_m68k-gcc8 # Build took: 0:00:39.530141