Commit 99298eb6 authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'm68k-for-v6.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k

Pull m68k updates from Geert Uytterhoeven:

 - Fix bootup lock-ups on Warp1260, Atari TT, and MegaSTe

 - Miscellaneous fixes and improvements

 - defconfig updates

* tag 'm68k-for-v6.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
  m68k: cmpxchg: Fix return value for default case in __arch_xchg()
  m68k: defconfig: Update defconfigs for v6.10-rc1
  m68k: atari: Fix TT bootup freeze / unexpected (SCU) interrupt messages
  zorro: Use str_plural() in amiga_zorro_probe()
  m68k: emu: Add missing MODULE_DESCRIPTION() macros
  m68k: amiga: Turn off Warp1260 interrupts during boot
parents 40832358 21b9e722
...@@ -180,6 +180,15 @@ int __init amiga_parse_bootinfo(const struct bi_record *record) ...@@ -180,6 +180,15 @@ int __init amiga_parse_bootinfo(const struct bi_record *record)
dev->slotsize = be16_to_cpu(cd->cd_SlotSize); dev->slotsize = be16_to_cpu(cd->cd_SlotSize);
dev->boardaddr = be32_to_cpu(cd->cd_BoardAddr); dev->boardaddr = be32_to_cpu(cd->cd_BoardAddr);
dev->boardsize = be32_to_cpu(cd->cd_BoardSize); dev->boardsize = be32_to_cpu(cd->cd_BoardSize);
/* CS-LAB Warp 1260 workaround */
if (be16_to_cpu(dev->rom.er_Manufacturer) == ZORRO_MANUF(ZORRO_PROD_CSLAB_WARP_1260) &&
dev->rom.er_Product == ZORRO_PROD(ZORRO_PROD_CSLAB_WARP_1260)) {
/* turn off all interrupts */
pr_info("Warp 1260 card detected: applying interrupt storm workaround\n");
*(uint32_t *)(dev->boardaddr + 0x1000) = 0xfff;
}
} else } else
pr_warn("amiga_parse_bootinfo: too many AutoConfig devices\n"); pr_warn("amiga_parse_bootinfo: too many AutoConfig devices\n");
#endif /* CONFIG_ZORRO */ #endif /* CONFIG_ZORRO */
......
...@@ -301,11 +301,7 @@ void __init atari_init_IRQ(void) ...@@ -301,11 +301,7 @@ void __init atari_init_IRQ(void)
if (ATARIHW_PRESENT(SCU)) { if (ATARIHW_PRESENT(SCU)) {
/* init the SCU if present */ /* init the SCU if present */
tt_scu.sys_mask = 0x10; /* enable VBL (for the cursor) and tt_scu.sys_mask = 0x0; /* disable all interrupts */
* disable HSYNC interrupts (who
* needs them?) MFP and SCC are
* enabled in VME mask
*/
tt_scu.vme_mask = 0x60; /* enable MFP and SCC ints */ tt_scu.vme_mask = 0x60; /* enable MFP and SCC ints */
} else { } else {
/* If no SCU and no Hades, the HSYNC interrupt needs to be /* If no SCU and no Hades, the HSYNC interrupt needs to be
......
...@@ -373,6 +373,7 @@ CONFIG_VXLAN=m ...@@ -373,6 +373,7 @@ CONFIG_VXLAN=m
CONFIG_GENEVE=m CONFIG_GENEVE=m
CONFIG_BAREUDP=m CONFIG_BAREUDP=m
CONFIG_GTP=m CONFIG_GTP=m
CONFIG_PFCP=m
CONFIG_MACSEC=m CONFIG_MACSEC=m
CONFIG_NETCONSOLE=m CONFIG_NETCONSOLE=m
CONFIG_NETCONSOLE_DYNAMIC=y CONFIG_NETCONSOLE_DYNAMIC=y
......
...@@ -353,6 +353,7 @@ CONFIG_VXLAN=m ...@@ -353,6 +353,7 @@ CONFIG_VXLAN=m
CONFIG_GENEVE=m CONFIG_GENEVE=m
CONFIG_BAREUDP=m CONFIG_BAREUDP=m
CONFIG_GTP=m CONFIG_GTP=m
CONFIG_PFCP=m
CONFIG_MACSEC=m CONFIG_MACSEC=m
CONFIG_NETCONSOLE=m CONFIG_NETCONSOLE=m
CONFIG_NETCONSOLE_DYNAMIC=y CONFIG_NETCONSOLE_DYNAMIC=y
......
...@@ -368,6 +368,7 @@ CONFIG_VXLAN=m ...@@ -368,6 +368,7 @@ CONFIG_VXLAN=m
CONFIG_GENEVE=m CONFIG_GENEVE=m
CONFIG_BAREUDP=m CONFIG_BAREUDP=m
CONFIG_GTP=m CONFIG_GTP=m
CONFIG_PFCP=m
CONFIG_MACSEC=m CONFIG_MACSEC=m
CONFIG_NETCONSOLE=m CONFIG_NETCONSOLE=m
CONFIG_NETCONSOLE_DYNAMIC=y CONFIG_NETCONSOLE_DYNAMIC=y
......
...@@ -351,6 +351,7 @@ CONFIG_VXLAN=m ...@@ -351,6 +351,7 @@ CONFIG_VXLAN=m
CONFIG_GENEVE=m CONFIG_GENEVE=m
CONFIG_BAREUDP=m CONFIG_BAREUDP=m
CONFIG_GTP=m CONFIG_GTP=m
CONFIG_PFCP=m
CONFIG_MACSEC=m CONFIG_MACSEC=m
CONFIG_NETCONSOLE=m CONFIG_NETCONSOLE=m
CONFIG_NETCONSOLE_DYNAMIC=y CONFIG_NETCONSOLE_DYNAMIC=y
......
...@@ -352,6 +352,7 @@ CONFIG_VXLAN=m ...@@ -352,6 +352,7 @@ CONFIG_VXLAN=m
CONFIG_GENEVE=m CONFIG_GENEVE=m
CONFIG_BAREUDP=m CONFIG_BAREUDP=m
CONFIG_GTP=m CONFIG_GTP=m
CONFIG_PFCP=m
CONFIG_MACSEC=m CONFIG_MACSEC=m
CONFIG_NETCONSOLE=m CONFIG_NETCONSOLE=m
CONFIG_NETCONSOLE_DYNAMIC=y CONFIG_NETCONSOLE_DYNAMIC=y
......
...@@ -364,6 +364,7 @@ CONFIG_VXLAN=m ...@@ -364,6 +364,7 @@ CONFIG_VXLAN=m
CONFIG_GENEVE=m CONFIG_GENEVE=m
CONFIG_BAREUDP=m CONFIG_BAREUDP=m
CONFIG_GTP=m CONFIG_GTP=m
CONFIG_PFCP=m
CONFIG_MACSEC=m CONFIG_MACSEC=m
CONFIG_NETCONSOLE=m CONFIG_NETCONSOLE=m
CONFIG_NETCONSOLE_DYNAMIC=y CONFIG_NETCONSOLE_DYNAMIC=y
......
...@@ -407,6 +407,7 @@ CONFIG_VXLAN=m ...@@ -407,6 +407,7 @@ CONFIG_VXLAN=m
CONFIG_GENEVE=m CONFIG_GENEVE=m
CONFIG_BAREUDP=m CONFIG_BAREUDP=m
CONFIG_GTP=m CONFIG_GTP=m
CONFIG_PFCP=m
CONFIG_MACSEC=m CONFIG_MACSEC=m
CONFIG_NETCONSOLE=m CONFIG_NETCONSOLE=m
CONFIG_NETCONSOLE_DYNAMIC=y CONFIG_NETCONSOLE_DYNAMIC=y
......
...@@ -350,6 +350,7 @@ CONFIG_VXLAN=m ...@@ -350,6 +350,7 @@ CONFIG_VXLAN=m
CONFIG_GENEVE=m CONFIG_GENEVE=m
CONFIG_BAREUDP=m CONFIG_BAREUDP=m
CONFIG_GTP=m CONFIG_GTP=m
CONFIG_PFCP=m
CONFIG_MACSEC=m CONFIG_MACSEC=m
CONFIG_NETCONSOLE=m CONFIG_NETCONSOLE=m
CONFIG_NETCONSOLE_DYNAMIC=y CONFIG_NETCONSOLE_DYNAMIC=y
......
...@@ -351,6 +351,7 @@ CONFIG_VXLAN=m ...@@ -351,6 +351,7 @@ CONFIG_VXLAN=m
CONFIG_GENEVE=m CONFIG_GENEVE=m
CONFIG_BAREUDP=m CONFIG_BAREUDP=m
CONFIG_GTP=m CONFIG_GTP=m
CONFIG_PFCP=m
CONFIG_MACSEC=m CONFIG_MACSEC=m
CONFIG_NETCONSOLE=m CONFIG_NETCONSOLE=m
CONFIG_NETCONSOLE_DYNAMIC=y CONFIG_NETCONSOLE_DYNAMIC=y
......
...@@ -357,6 +357,7 @@ CONFIG_VXLAN=m ...@@ -357,6 +357,7 @@ CONFIG_VXLAN=m
CONFIG_GENEVE=m CONFIG_GENEVE=m
CONFIG_BAREUDP=m CONFIG_BAREUDP=m
CONFIG_GTP=m CONFIG_GTP=m
CONFIG_PFCP=m
CONFIG_MACSEC=m CONFIG_MACSEC=m
CONFIG_NETCONSOLE=m CONFIG_NETCONSOLE=m
CONFIG_NETCONSOLE_DYNAMIC=y CONFIG_NETCONSOLE_DYNAMIC=y
......
...@@ -347,6 +347,7 @@ CONFIG_VXLAN=m ...@@ -347,6 +347,7 @@ CONFIG_VXLAN=m
CONFIG_GENEVE=m CONFIG_GENEVE=m
CONFIG_BAREUDP=m CONFIG_BAREUDP=m
CONFIG_GTP=m CONFIG_GTP=m
CONFIG_PFCP=m
CONFIG_MACSEC=m CONFIG_MACSEC=m
CONFIG_NETCONSOLE=m CONFIG_NETCONSOLE=m
CONFIG_NETCONSOLE_DYNAMIC=y CONFIG_NETCONSOLE_DYNAMIC=y
......
...@@ -348,6 +348,7 @@ CONFIG_VXLAN=m ...@@ -348,6 +348,7 @@ CONFIG_VXLAN=m
CONFIG_GENEVE=m CONFIG_GENEVE=m
CONFIG_BAREUDP=m CONFIG_BAREUDP=m
CONFIG_GTP=m CONFIG_GTP=m
CONFIG_PFCP=m
CONFIG_MACSEC=m CONFIG_MACSEC=m
CONFIG_NETCONSOLE=m CONFIG_NETCONSOLE=m
CONFIG_NETCONSOLE_DYNAMIC=y CONFIG_NETCONSOLE_DYNAMIC=y
......
...@@ -194,4 +194,5 @@ static void __exit nfhd_exit(void) ...@@ -194,4 +194,5 @@ static void __exit nfhd_exit(void)
module_init(nfhd_init); module_init(nfhd_init);
module_exit(nfhd_exit); module_exit(nfhd_exit);
MODULE_DESCRIPTION("Atari NatFeat block device driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -173,4 +173,5 @@ static void __exit nfcon_exit(void) ...@@ -173,4 +173,5 @@ static void __exit nfcon_exit(void)
module_init(nfcon_init); module_init(nfcon_init);
module_exit(nfcon_exit); module_exit(nfcon_exit);
MODULE_DESCRIPTION("Atari NatFeat console driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -32,7 +32,7 @@ static inline unsigned long __arch_xchg(unsigned long x, volatile void * ptr, in ...@@ -32,7 +32,7 @@ static inline unsigned long __arch_xchg(unsigned long x, volatile void * ptr, in
x = tmp; x = tmp;
break; break;
default: default:
tmp = __invalid_xchg_size(x, ptr, size); x = __invalid_xchg_size(x, ptr, size);
break; break;
} }
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/string_choices.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <asm/setup.h> #include <asm/setup.h>
...@@ -152,7 +153,7 @@ static int __init amiga_zorro_probe(struct platform_device *pdev) ...@@ -152,7 +153,7 @@ static int __init amiga_zorro_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, bus); platform_set_drvdata(pdev, bus);
pr_info("Zorro: Probing AutoConfig expansion devices: %u device%s\n", pr_info("Zorro: Probing AutoConfig expansion devices: %u device%s\n",
zorro_num_autocon, zorro_num_autocon == 1 ? "" : "s"); zorro_num_autocon, str_plural(zorro_num_autocon));
/* First identify all devices ... */ /* First identify all devices ... */
for (i = 0; i < zorro_num_autocon; i++) { for (i = 0; i < zorro_num_autocon; i++) {
......
...@@ -449,6 +449,9 @@ ...@@ -449,6 +449,9 @@
#define ZORRO_PROD_VMC_ISDN_BLASTER_Z2 ZORRO_ID(VMC, 0x01, 0) #define ZORRO_PROD_VMC_ISDN_BLASTER_Z2 ZORRO_ID(VMC, 0x01, 0)
#define ZORRO_PROD_VMC_HYPERCOM_4 ZORRO_ID(VMC, 0x02, 0) #define ZORRO_PROD_VMC_HYPERCOM_4 ZORRO_ID(VMC, 0x02, 0)
#define ZORRO_MANUF_CSLAB 0x1400
#define ZORRO_PROD_CSLAB_WARP_1260 ZORRO_ID(CSLAB, 0x65, 0)
#define ZORRO_MANUF_INFORMATION 0x157C #define ZORRO_MANUF_INFORMATION 0x157C
#define ZORRO_PROD_INFORMATION_ISDN_ENGINE_I ZORRO_ID(INFORMATION, 0x64, 0) #define ZORRO_PROD_INFORMATION_ISDN_ENGINE_I ZORRO_ID(INFORMATION, 0x64, 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment