Просмотр исходного кода

linux: Update to 7.2.3

Migrate patches in target/linux/patches/7.2 over to 7.2.3 by applying
them to v7.2.3 stable tag and exporting again (so some are turned into
git commits thereby).

Signed-off-by: Phil Sutter <phil@nwl.cc>
Phil Sutter 1 неделя назад
Родитель
Сommit
53f08bebc1

+ 2 - 2
mk/linux-ver.mk

@@ -16,10 +16,10 @@ KERNEL_RELEASE:=	1
 KERNEL_VERSION:=	$(ADK_TARGET_LINUX_KERNEL_GIT_VER)-$(KERNEL_RELEASE)
 endif
 ifeq ($(ADK_TARGET_LINUX_KERNEL_VERSION_7_2),y)
-KERNEL_FILE_VER:=	7.2
+KERNEL_FILE_VER:=	7.2.3
 KERNEL_RELEASE:=	1
 KERNEL_VERSION:=	$(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
-KERNEL_HASH:=		f9fef3d14c0df53819026f4be74459835c2a0b0dcbf5b5bbd9ea19f0829402b3
+KERNEL_HASH:=		8ba259e8e7b13ec6ef0941c8a39ad90b24bd4a4d6c0010ba6bafb794550ecd03
 endif
 ifeq ($(ADK_TARGET_LINUX_KERNEL_VERSION_7_1),y)
 KERNEL_FILE_VER:=	7.1.9

+ 1 - 1
target/linux/Config.in.kernelversion

@@ -43,7 +43,7 @@ config ADK_TARGET_LINUX_KERNEL_VERSION_GIT
 	select ADK_HOST_NEED_LZ4 if ADK_TARGET_SYSTEM_PHYTEC_WEGA && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
 
 config ADK_TARGET_LINUX_KERNEL_VERSION_7_2
-	bool "7.2"
+	bool "7.2.3"
 	depends on !ADK_TARGET_ARCH_AVR32
 	depends on !ADK_TARGET_ARCH_BFIN
 	depends on !ADK_TARGET_ARCH_C6X

+ 10 - 13
target/linux/patches/7.2/0001-pcmcia-Add-Hitachi-HD6446x-PCMCIA-socket-support.patch → target/linux/patches/7.2.3/0001-pcmcia-Add-Hitachi-HD6446x-PCMCIA-socket-support.patch

@@ -1,4 +1,4 @@
-From b6ffbcb525539139a9b2255b992622f92757ea37 Mon Sep 17 00:00:00 2001
+From 54195222e2ef6b124937ebd5374f5b8757ea35fa Mon Sep 17 00:00:00 2001
 From: Artur Rojek <contact@artur-rojek.eu>
 Date: Fri, 1 Aug 2025 22:52:22 +0200
 Subject: [PATCH] pcmcia: Add Hitachi HD6446x PCMCIA socket support
@@ -20,7 +20,7 @@ WIP code. DO NOT UPSTREAM!
  create mode 100644 include/pcmcia/hd6446x_pcc.h
 
 diff --git a/arch/sh/boards/mach-hp6xx/setup.c b/arch/sh/boards/mach-hp6xx/setup.c
-index 2ceead68d7bf..c697b8e1f5ac 100644
+index 2ceead68d7bf8..c697b8e1f5acb 100644
 --- a/arch/sh/boards/mach-hp6xx/setup.c
 +++ b/arch/sh/boards/mach-hp6xx/setup.c
 @@ -18,19 +18,23 @@
@@ -106,7 +106,7 @@ index 2ceead68d7bf..c697b8e1f5ac 100644
  	v |=	HD64461_STBCR_SURTST | HD64461_STBCR_SIRST	|
  		HD64461_STBCR_STM1ST | HD64461_STBCR_STM0ST	|
 diff --git a/arch/sh/cchips/hd6446x/hd64461.c b/arch/sh/cchips/hd6446x/hd64461.c
-index 81764882d87d..965486584ee5 100644
+index 81764882d87d3..965486584ee5a 100644
 --- a/arch/sh/cchips/hd6446x/hd64461.c
 +++ b/arch/sh/cchips/hd6446x/hd64461.c
 @@ -4,7 +4,9 @@
@@ -195,7 +195,7 @@ index 81764882d87d..965486584ee5 100644
  }
  
 diff --git a/arch/sh/include/asm/hd64461.h b/arch/sh/include/asm/hd64461.h
-index d2c485fa333b..91823ec07f79 100644
+index d2c485fa333b5..91823ec07f790 100644
 --- a/arch/sh/include/asm/hd64461.h
 +++ b/arch/sh/include/asm/hd64461.h
 @@ -17,9 +17,9 @@
@@ -212,10 +212,10 @@ index d2c485fa333b..91823ec07f79 100644
  /* Area 5 - Slot 1 - memory card only */
  #define	HD64461_PCC1_BASE	HD64461_IO_OFFSET(0x4000000)
 diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig
-index dddb235dd020..f2434ca15c8e 100644
+index d1d25aa296ada..865df3dc70c24 100644
 --- a/drivers/pcmcia/Kconfig
 +++ b/drivers/pcmcia/Kconfig
-@@ -159,6 +159,13 @@ config PCMCIA_ALCHEMY_DEVBOARD
+@@ -129,6 +129,13 @@ config PCMCIA_ALCHEMY_DEVBOARD
  
  	  This driver is also available as a module called db1xxx_ss.ko
  
@@ -230,10 +230,10 @@ index dddb235dd020..f2434ca15c8e 100644
  	tristate "MyCable XXS1500 PCMCIA socket support"
  	depends on PCMCIA && MIPS_XXS1500
 diff --git a/drivers/pcmcia/Makefile b/drivers/pcmcia/Makefile
-index c9d51b150682..764df19be544 100644
+index ee2f204cbc218..51c4283c3d608 100644
 --- a/drivers/pcmcia/Makefile
 +++ b/drivers/pcmcia/Makefile
-@@ -33,6 +33,7 @@ obj-$(CONFIG_OMAP_CF)				+= omap_cf.o
+@@ -29,6 +29,7 @@ obj-$(CONFIG_OMAP_CF)				+= omap_cf.o
  obj-$(CONFIG_ELECTRA_CF)			+= electra_cf.o
  obj-$(CONFIG_PCMCIA_ALCHEMY_DEVBOARD)		+= db1xxx_ss.o
  obj-$(CONFIG_PCMCIA_MAX1600)			+= max1600.o
@@ -243,7 +243,7 @@ index c9d51b150682..764df19be544 100644
  sa1111_cs-$(CONFIG_ASSABET_NEPONSET)		+= sa1111_neponset.o
 diff --git a/drivers/pcmcia/hd6446x_pcc.c b/drivers/pcmcia/hd6446x_pcc.c
 new file mode 100644
-index 000000000000..31074f93b55b
+index 0000000000000..31074f93b55be
 --- /dev/null
 +++ b/drivers/pcmcia/hd6446x_pcc.c
 @@ -0,0 +1,453 @@
@@ -702,7 +702,7 @@ index 000000000000..31074f93b55b
 +module_platform_driver(hd64461_pcmcia_socket_driver);
 diff --git a/include/pcmcia/hd6446x_pcc.h b/include/pcmcia/hd6446x_pcc.h
 new file mode 100644
-index 000000000000..d1fe98f0a701
+index 0000000000000..d1fe98f0a7018
 --- /dev/null
 +++ b/include/pcmcia/hd6446x_pcc.h
 @@ -0,0 +1,9 @@
@@ -715,6 +715,3 @@ index 000000000000..d1fe98f0a701
 +};
 +
 +#endif /* _HD6446X_PCC_ */
--- 
-2.50.1
-

+ 3 - 6
target/linux/patches/7.2/0002-microblaze-wire-up-sigaltstack.patch → target/linux/patches/7.2.3/0002-microblaze-wire-up-sigaltstack.patch

@@ -1,7 +1,7 @@
-From 600d06cb443526020efa411053b83fc1697f27dc Mon Sep 17 00:00:00 2001
+From ae8990a7980d1104ba4c4794b6c81730b5676b0e Mon Sep 17 00:00:00 2001
 From: Ramin Moussavi <ramin.moussavi@yacoub.de>
 Date: Fri, 21 Aug 2026 17:18:05 +0200
-Subject: [PATCH 2/6] microblaze: wire up sigaltstack
+Subject: [PATCH] microblaze: wire up sigaltstack
 
 sigaltstack is wired to sys_ni_syscall - microblaze is the only
 architecture without it - although the microblaze signal delivery code
@@ -23,7 +23,7 @@ Signed-off-by: Ramin Moussavi <ramin.moussavi@yacoub.de>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/arch/microblaze/kernel/syscalls/syscall.tbl b/arch/microblaze/kernel/syscalls/syscall.tbl
-index c55a5c96f49b..76d7cbe2a133 100644
+index 223d263036272..b4ce48e8a8747 100644
 --- a/arch/microblaze/kernel/syscalls/syscall.tbl
 +++ b/arch/microblaze/kernel/syscalls/syscall.tbl
 @@ -193,7 +193,7 @@
@@ -35,6 +35,3 @@ index c55a5c96f49b..76d7cbe2a133 100644
  187	common	sendfile			sys_sendfile
  188	common	getpmsg				sys_ni_syscall
  189	common	putpmsg				sys_ni_syscall
--- 
-2.47.3
-

+ 4 - 7
target/linux/patches/7.2/0003-microblaze-reserve-the-ABI-argument-home-area-in-the.patch → target/linux/patches/7.2.3/0003-microblaze-reserve-the-ABI-argument-home-area-in-the.patch

@@ -1,8 +1,8 @@
-From feb8514a3df395e73702246f649c4a5f0388d11f Mon Sep 17 00:00:00 2001
+From a56cf6415e7e5dedcfdf576368abcc00b9e3a911 Mon Sep 17 00:00:00 2001
 From: Ramin Moussavi <ramin.moussavi@yacoub.de>
 Date: Fri, 21 Aug 2026 17:18:06 +0200
-Subject: [PATCH 3/6] microblaze: reserve the ABI argument-home area in the
- signal frame
+Subject: [PATCH] microblaze: reserve the ABI argument-home area in the signal
+ frame
 
 The MicroBlaze procedure call standard reserves [r1+0] for the return
 address and lets a callee store its incoming register arguments r5..r10
@@ -33,7 +33,7 @@ Signed-off-by: Ramin Moussavi <ramin.moussavi@yacoub.de>
  1 file changed, 8 insertions(+)
 
 diff --git a/arch/microblaze/kernel/signal.c b/arch/microblaze/kernel/signal.c
-index c78a0ff48066..4956014a9937 100644
+index c78a0ff480660..4956014a99379 100644
 --- a/arch/microblaze/kernel/signal.c
 +++ b/arch/microblaze/kernel/signal.c
 @@ -49,6 +49,14 @@ struct sigframe {
@@ -51,6 +51,3 @@ index c78a0ff48066..4956014a9937 100644
  	struct siginfo info;
  	struct ucontext uc;
  	unsigned long tramp[2];	/* signal trampoline */
--- 
-2.47.3
-

+ 5 - 8
target/linux/patches/7.2/0004-microblaze-don-t-clobber-r3-r4-restored-by-rt_sigret.patch → target/linux/patches/7.2.3/0004-microblaze-don-t-clobber-r3-r4-restored-by-rt_sigret.patch

@@ -1,7 +1,7 @@
-From 962fccaf71c15530defface36a77fa8e0d623472 Mon Sep 17 00:00:00 2001
+From 4d787015fe9d0a65586d2dcb5ecd0b1b5d8c4844 Mon Sep 17 00:00:00 2001
 From: Ramin Moussavi <ramin.moussavi@yacoub.de>
 Date: Fri, 21 Aug 2026 17:18:07 +0200
-Subject: [PATCH 4/6] microblaze: don't clobber r3/r4 restored by rt_sigreturn
+Subject: [PATCH] microblaze: don't clobber r3/r4 restored by rt_sigreturn
 
 ret_from_trap begins by storing the system call return values r3 and r4
 back into the saved user pt_regs.  That is right for an ordinary system
@@ -60,10 +60,10 @@ Signed-off-by: Ramin Moussavi <ramin.moussavi@yacoub.de>
  1 file changed, 16 insertions(+), 1 deletion(-)
 
 diff --git a/arch/microblaze/kernel/entry.S b/arch/microblaze/kernel/entry.S
-index 582d7256d815..fea235f139d7 100644
+index 582d7256d8154..fea235f139d7a 100644
 --- a/arch/microblaze/kernel/entry.S
 +++ b/arch/microblaze/kernel/entry.S
-@@ -434,7 +434,13 @@ C_ENTRY(_user_exception):
+@@ -434,7 +434,13 @@
  C_ENTRY(ret_from_trap):
  	swi	r3, r1, PT_R3
  	swi	r4, r1, PT_R4
@@ -78,7 +78,7 @@ index 582d7256d815..fea235f139d7 100644
  	lwi	r11, r1, PT_MODE;
  /* See if returning to kernel mode, if so, skip resched &c.  */
  	bnei	r11, 2f;
-@@ -518,6 +524,15 @@ C_ENTRY(ret_from_kernel_thread):
+@@ -518,6 +524,15 @@ TRAP_return:		/* Make global symbol for debugging */
  
  C_ENTRY(sys_rt_sigreturn_wrapper):
  	addik	r30, r0, 0		/* no restarts */
@@ -94,6 +94,3 @@ index 582d7256d815..fea235f139d7 100644
  	brid	sys_rt_sigreturn	/* Do real work */
  	addik	r5, r1, 0;		/* add user context as 1st arg */
  
--- 
-2.47.3
-

+ 43 - 46
target/linux/patches/7.2/0005-microblaze-restore-the-ABI-argument-home-area-below-.patch → target/linux/patches/7.2.3/0005-microblaze-restore-the-ABI-argument-home-area-below-.patch

@@ -1,8 +1,8 @@
-From 766e785ac2e6e4ff63fac1d7f445eb37ed3ead36 Mon Sep 17 00:00:00 2001
+From 60fcb203e892b05bbb48edb6eeee6ccd85d907bb Mon Sep 17 00:00:00 2001
 From: Ramin Moussavi <ramin.moussavi@yacoub.de>
 Date: Fri, 21 Aug 2026 17:18:08 +0200
-Subject: [PATCH 5/6] microblaze: restore the ABI argument home area below
- pt_regs (PTO)
+Subject: [PATCH] microblaze: restore the ABI argument home area below pt_regs
+ (PTO)
 
 The MicroBlaze ABI has the caller reserve stack space for the arguments
 it passes in registers: REG_PARM_STACK_SPACE is 24 and
@@ -59,7 +59,7 @@ Signed-off-by: Ramin Moussavi <ramin.moussavi@yacoub.de>
  5 files changed, 189 insertions(+), 165 deletions(-)
 
 diff --git a/arch/microblaze/include/asm/entry.h b/arch/microblaze/include/asm/entry.h
-index 9efadf12397c..05acf4d7bc4b 100644
+index 9efadf12397ca..05acf4d7bc4b1 100644
 --- a/arch/microblaze/include/asm/entry.h
 +++ b/arch/microblaze/include/asm/entry.h
 @@ -21,6 +21,19 @@
@@ -83,7 +83,7 @@ index 9efadf12397c..05acf4d7bc4b 100644
  DECLARE_PER_CPU(unsigned int, KSP); /* Saved kernel stack pointer */
  DECLARE_PER_CPU(unsigned int, KM); /* Kernel/user mode */
 diff --git a/arch/microblaze/include/asm/processor.h b/arch/microblaze/include/asm/processor.h
-index d59bdfffca7c..595c24db2728 100644
+index d59bdfffca7cc..595c24db27283 100644
 --- a/arch/microblaze/include/asm/processor.h
 +++ b/arch/microblaze/include/asm/processor.h
 @@ -73,7 +73,7 @@ unsigned long __get_wchan(struct task_struct *p);
@@ -96,10 +96,10 @@ index d59bdfffca7c..595c24db2728 100644
  #  define task_sp(task)	(task_regs(task)->r1)
  #  define task_pc(task)	(task_regs(task)->pc)
 diff --git a/arch/microblaze/kernel/entry.S b/arch/microblaze/kernel/entry.S
-index fea235f139d7..dfca6ce2d628 100644
+index fea235f139d7a..dfca6ce2d6284 100644
 --- a/arch/microblaze/kernel/entry.S
 +++ b/arch/microblaze/kernel/entry.S
-@@ -177,78 +177,78 @@ syscall_debug_table:
+@@ -177,78 +177,78 @@
  1:
  
  #define SAVE_REGS \
@@ -241,7 +241,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	andni	r11, r11, MSR_EIP;          /* clear EIP */             \
  	ori	r11, r11, MSR_EE | MSR_BIP; /* set EE and BIP */        \
  	mts	rmsr , r11;						\
-@@ -265,11 +265,11 @@ syscall_debug_table:
+@@ -265,11 +265,11 @@
  	lwi	r1, r0, TOPHYS(PER_CPU(ENTRY_SP));			\
  	/* FIXME: I can add these two lines to one */			\
  	/* tophys(r1,r1); */						\
@@ -256,7 +256,7 @@ index fea235f139d7..dfca6ce2d628 100644
  1:	/* User-mode state save.  */					\
  	lwi	r1, r0, TOPHYS(PER_CPU(CURRENT_SAVE)); /* get saved current */\
  	tophys(r1,r1);							\
-@@ -277,12 +277,13 @@ syscall_debug_table:
+@@ -277,12 +277,13 @@
  	/* MS these three instructions can be added to one */		\
  	/* addik	r1, r1, THREAD_SIZE; */				\
  	/* tophys(r1,r1); */						\
@@ -274,7 +274,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	/* MS: I am clearing UMS even in case when I come from kernel space */ \
  	clear_ums; 							\
  2:	lwi	CURRENT_TASK, r0, TOPHYS(PER_CPU(CURRENT_SAVE));
-@@ -292,7 +293,7 @@ syscall_debug_table:
+@@ -292,7 +293,7 @@
  .extern cpuinfo
  
  C_ENTRY(mb_flush_dcache):
@@ -283,7 +283,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	SAVE_REGS
  
  	addik	r3, r0, cpuinfo
-@@ -305,12 +306,12 @@ C_ENTRY(mb_flush_dcache):
+@@ -305,12 +306,12 @@
  	addk	r9, r9, r8
  
  	RESTORE_REGS
@@ -298,7 +298,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	SAVE_REGS
  
  	addik	r3, r0, cpuinfo
-@@ -323,7 +324,7 @@ C_ENTRY(mb_invalidate_icache):
+@@ -323,7 +324,7 @@
  	addk	r9, r9, r8
  
  	RESTORE_REGS
@@ -307,7 +307,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	rtsd	r15, 8
  	nop
  
-@@ -350,18 +351,18 @@ C_ENTRY(_user_exception):
+@@ -350,18 +351,18 @@
  	addik	r1, r1, THREAD_SIZE;
  	tophys(r1,r1);
  
@@ -332,7 +332,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	tovirt(r1,r1)
  
  /* where the trap should return need -8 to adjust for rtsd r15, 8*/
-@@ -380,18 +381,18 @@ C_ENTRY(_user_exception):
+@@ -380,18 +381,18 @@
  	beqi	r11, 4f
  
  	addik	r3, r0, -ENOSYS
@@ -359,7 +359,7 @@ index fea235f139d7..dfca6ce2d628 100644
  4:
  /* Jump to the appropriate function for the system call number in r12
   * (r12 is not preserved), or return an error if r12 is not valid.
-@@ -432,8 +433,8 @@ C_ENTRY(_user_exception):
+@@ -432,8 +433,8 @@
  /* Entry point used to return from a syscall/trap */
  /* We re-enable BIP bit before state restore */
  C_ENTRY(ret_from_trap):
@@ -370,7 +370,7 @@ index fea235f139d7..dfca6ce2d628 100644
  /*
   * Entry point for returns that must not store r3/r4 back into pt_regs,
   * i.e. rt_sigreturn, which has already restored them from the signal
-@@ -441,7 +442,7 @@ C_ENTRY(ret_from_trap):
+@@ -441,7 +442,7 @@
   * so it stays correct if the number of stores above ever changes.
   */
  ret_from_trap_no_rval:
@@ -379,7 +379,7 @@ index fea235f139d7..dfca6ce2d628 100644
  /* See if returning to kernel mode, if so, skip resched &c.  */
  	bnei	r11, 2f;
  	/* We're returning to user mode, so check for various conditions that
-@@ -453,7 +454,7 @@ ret_from_trap_no_rval:
+@@ -453,7 +454,7 @@
  	beqi	r11, 1f
  
  	brlid	r15, do_syscall_trace_leave
@@ -388,7 +388,7 @@ index fea235f139d7..dfca6ce2d628 100644
  1:
  	/* We're returning to user mode, so check for various conditions that
  	 * trigger rescheduling. */
-@@ -472,7 +473,7 @@ ret_from_trap_no_rval:
+@@ -472,7 +473,7 @@
  	andi	r11, r19, _TIF_SIGPENDING | _TIF_NOTIFY_RESUME;
  	beqi	r11, 4f;		/* Signals to handle, handle them */
  
@@ -397,7 +397,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	bralid	r15, do_notify_resume;	/* Handle any signals */
  	add	r6, r30, r0;		/* Arg 2: int in_syscall */
  	add	r30, r0, r0		/* no more restarts */
-@@ -484,7 +485,11 @@ ret_from_trap_no_rval:
+@@ -484,7 +485,11 @@
  	VM_OFF;
  	tophys(r1,r1);
  	RESTORE_REGS_RTBD;
@@ -410,7 +410,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	lwi	r1, r1, PT_R1 - PT_SIZE;/* Restore user stack pointer. */
  	bri	6f;
  
-@@ -493,7 +498,7 @@ ret_from_trap_no_rval:
+@@ -493,7 +498,7 @@
  	VM_OFF;
  	tophys(r1,r1);
  	RESTORE_REGS_RTBD;
@@ -419,7 +419,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	tovirt(r1,r1);
  6:
  TRAP_return:		/* Make global symbol for debugging */
-@@ -534,7 +539,7 @@ C_ENTRY(sys_rt_sigreturn_wrapper):
+@@ -534,7 +539,7 @@ TRAP_return:		/* Make global symbol for debugging */
  	 */
  	addik	r15, r0, ret_from_trap_no_rval - 8
  	brid	sys_rt_sigreturn	/* Do real work */
@@ -428,7 +428,7 @@ index fea235f139d7..dfca6ce2d628 100644
  
  /*
   * HW EXCEPTION rutine start
-@@ -545,7 +550,7 @@ C_ENTRY(full_exception_trap):
+@@ -545,7 +550,7 @@ TRAP_return:		/* Make global symbol for debugging */
  	addik	r17, r17, -4
  	SAVE_STATE /* Save registers */
  	/* PC, before IRQ/trap - this is one instruction above */
@@ -437,7 +437,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	tovirt(r1,r1)
  	/* FIXME this can be store directly in PT_ESR reg.
  	 * I tested it but there is a fault */
-@@ -555,7 +560,7 @@ C_ENTRY(full_exception_trap):
+@@ -555,7 +560,7 @@ TRAP_return:		/* Make global symbol for debugging */
  	mfs	r7, rfsr;		/* save FSR */
  	mts	rfsr, r0;	/* Clear sticky fsr */
  	rted	r0, full_exception
@@ -446,7 +446,7 @@ index fea235f139d7..dfca6ce2d628 100644
  
  /*
   * Unaligned data trap.
-@@ -581,14 +586,14 @@ C_ENTRY(unaligned_data_trap):
+@@ -581,14 +586,14 @@ TRAP_return:		/* Make global symbol for debugging */
  	lwi	r11, r0, TOPHYS(PER_CPU(ENTRY_SP));
  	SAVE_STATE		/* Save registers.*/
  	/* PC, before IRQ/trap - this is one instruction above */
@@ -463,7 +463,7 @@ index fea235f139d7..dfca6ce2d628 100644
  
  /*
   * Page fault traps.
-@@ -611,30 +616,30 @@ C_ENTRY(unaligned_data_trap):
+@@ -611,30 +616,30 @@ TRAP_return:		/* Make global symbol for debugging */
  C_ENTRY(page_fault_data_trap):
  	SAVE_STATE		/* Save registers.*/
  	/* PC, before IRQ/trap - this is one instruction above */
@@ -499,7 +499,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	bnei	r11, 2f;		/* See if returning to kernel mode, */
  					/* ... if so, skip resched &c.  */
  
-@@ -666,7 +671,7 @@ C_ENTRY(ret_from_exc):
+@@ -666,7 +671,7 @@ TRAP_return:		/* Make global symbol for debugging */
  	 * complete register state.  Here we save anything not saved by
  	 * the normal entry sequence, so that it may be safely restored
  	 * (in a possibly modified form) after do_notify_resume returns. */
@@ -508,7 +508,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	bralid	r15, do_notify_resume;	/* Handle any signals */
  	addi	r6, r0, 0;		/* Arg 2: int in_syscall */
  	bri	1b
-@@ -678,7 +683,7 @@ C_ENTRY(ret_from_exc):
+@@ -678,7 +683,7 @@ TRAP_return:		/* Make global symbol for debugging */
  	tophys(r1,r1);
  
  	RESTORE_REGS_RTBD;
@@ -517,7 +517,7 @@ index fea235f139d7..dfca6ce2d628 100644
  
  	lwi	r1, r1, PT_R1 - PT_SIZE; /* Restore user stack pointer. */
  	bri	6f;
-@@ -687,7 +692,7 @@ C_ENTRY(ret_from_exc):
+@@ -687,7 +692,7 @@ TRAP_return:		/* Make global symbol for debugging */
  	VM_OFF;
  	tophys(r1,r1);
  	RESTORE_REGS_RTBD;
@@ -526,7 +526,7 @@ index fea235f139d7..dfca6ce2d628 100644
  
  	tovirt(r1,r1);
  6:
-@@ -720,10 +725,10 @@ C_ENTRY(_interrupt):
+@@ -720,10 +725,10 @@ EXC_return:		/* Make global symbol for debugging */
  	tophys(r1,r1); /* MS: I have in r1 physical address where stack is */
  	/* save registers */
  /* MS: Make room on the stack -> activation record */
@@ -539,7 +539,7 @@ index fea235f139d7..dfca6ce2d628 100644
  1:
  /* User-mode state save. */
   /* MS: get the saved current */
-@@ -733,23 +738,23 @@ C_ENTRY(_interrupt):
+@@ -733,23 +738,23 @@ EXC_return:		/* Make global symbol for debugging */
  	addik	r1, r1, THREAD_SIZE;
  	tophys(r1,r1);
  	/* save registers */
@@ -568,7 +568,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	bnei	r11, 2f;
  
  1:
-@@ -765,7 +770,7 @@ ret_from_irq:
+@@ -765,7 +770,7 @@ irq_call:rtbd	r0, do_IRQ;
  5:	andi	r11, r19, _TIF_SIGPENDING | _TIF_NOTIFY_RESUME;
  	beqid	r11, no_intr_resched
  /* Handle a signal return; Pending signals should be in r18. */
@@ -577,7 +577,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	bralid	r15, do_notify_resume;	/* Handle any signals */
  	addi	r6, r0, 0; /* Arg 2: int in_syscall */
  	bri	1b
-@@ -778,7 +783,7 @@ no_intr_resched:
+@@ -778,7 +783,7 @@ irq_call:rtbd	r0, do_IRQ;
  	VM_OFF;
  	tophys(r1,r1);
  	RESTORE_REGS
@@ -586,7 +586,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	lwi	r1, r1, PT_R1 - PT_SIZE;
  	bri	6f;
  /* MS: Return to kernel state. */
-@@ -801,7 +806,7 @@ restore:
+@@ -801,7 +806,7 @@ irq_call:rtbd	r0, do_IRQ;
  	VM_OFF /* MS: turn off MMU */
  	tophys(r1,r1)
  	RESTORE_REGS
@@ -595,7 +595,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	tovirt(r1,r1);
  6:
  IRQ_return: /* MS: Make global symbol for debugging */
-@@ -820,29 +825,29 @@ C_ENTRY(_xtmr_manager_reset):
+@@ -820,29 +825,29 @@ IRQ_return: /* MS: Make global symbol for debugging */
  	lwi	r1, r0, xmb_manager_stackpointer
  
  	/* Restore MSR */
@@ -632,7 +632,7 @@ index fea235f139d7..dfca6ce2d628 100644
  restore_tlb:
  	add	r6, r6, r1
  	add	r7, r7, r1
-@@ -868,9 +873,9 @@ ret_from_reset:
+@@ -868,9 +873,9 @@ IRQ_return: /* MS: Make global symbol for debugging */
  	VM_OFF
  	/* MS: Restore all regs */
  	RESTORE_REGS
@@ -645,7 +645,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	rtbd	r16, 0
  	nop
  
-@@ -885,11 +890,11 @@ C_ENTRY(_xmb_manager_break):
+@@ -885,11 +890,11 @@ IRQ_return: /* MS: Make global symbol for debugging */
  	 * Reserve memory in the stack for context store/restore
  	 * (which includes memory for storing tlbs (max two tlbs))
  	 */
@@ -660,7 +660,7 @@ index fea235f139d7..dfca6ce2d628 100644
  
  	lwi	r6, r0, TOPHYS(xmb_manager_baseaddr)
  	lwi	r7, r0, TOPHYS(xmb_manager_crval)
-@@ -903,25 +908,25 @@ C_ENTRY(_xmb_manager_break):
+@@ -903,25 +908,25 @@ IRQ_return: /* MS: Make global symbol for debugging */
  
  	/* Save the special purpose registers  */
  	mfs	r2, rpid
@@ -693,7 +693,7 @@ index fea235f139d7..dfca6ce2d628 100644
  save_tlb:
  	add	r6, r6, r1
  	add	r7, r7, r1
-@@ -978,28 +983,28 @@ C_ENTRY(_debug_exception):
+@@ -978,28 +983,28 @@ IRQ_return: /* MS: Make global symbol for debugging */
  	lwi	r1, r0, TOPHYS(PER_CPU(ENTRY_SP)); /* Reload kernel stack-ptr*/
  
  	/* BIP bit is set on entry, no interrupts can occur */
@@ -733,7 +733,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	addik	r15, r0, dbtrap_call; /* return address */
  	rtbd	r0, microblaze_kgdb_break
  	nop;
-@@ -1015,16 +1020,16 @@ C_ENTRY(_debug_exception):
+@@ -1015,16 +1020,16 @@ IRQ_return: /* MS: Make global symbol for debugging */
  	addik	r1, r1, THREAD_SIZE;	/* calculate kernel stack pointer */
  	tophys(r1,r1);
  
@@ -804,7 +804,7 @@ index fea235f139d7..dfca6ce2d628 100644
  	SAVE_REGS
  
  	/* Switch to real mode */
-@@ -1197,7 +1202,7 @@ xmb_inject_err:
+@@ -1197,7 +1202,7 @@ ENTRY(_switch_to)
  	nop;
  1:
  	RESTORE_REGS
@@ -814,10 +814,10 @@ index fea235f139d7..dfca6ce2d628 100644
  	nop;
  .end xmb_inject_err
 diff --git a/arch/microblaze/kernel/hw_exception_handler.S b/arch/microblaze/kernel/hw_exception_handler.S
-index 07ea23965f81..4693916be526 100644
+index 07ea23965f817..4693916be5267 100644
 --- a/arch/microblaze/kernel/hw_exception_handler.S
 +++ b/arch/microblaze/kernel/hw_exception_handler.S
-@@ -313,6 +313,11 @@ _MB_HW_ExceptionVectorTable:
+@@ -313,6 +313,11 @@
  .align 4
  .ent _hw_exception_handler
  _hw_exception_handler:
@@ -830,7 +830,7 @@ index 07ea23965f81..4693916be526 100644
  	/* Save date to kernel memory. Here is the problem
  	 * when you came from user space */
 diff --git a/arch/microblaze/kernel/process.c b/arch/microblaze/kernel/process.c
-index 6cbf642d7b80..090e1697ea7a 100644
+index 6cbf642d7b801..090e1697ea7ae 100644
 --- a/arch/microblaze/kernel/process.c
 +++ b/arch/microblaze/kernel/process.c
 @@ -19,6 +19,7 @@
@@ -859,6 +859,3 @@ index 6cbf642d7b80..090e1697ea7a 100644
  	childregs->msr |= MSR_UMS;
  
  	/* we should consider the fact that childregs is a copy of the parent
--- 
-2.47.3
-

+ 3 - 6
target/linux/patches/7.2/0006-microblaze-preserve-the-MSR-carry-flags-across-signa.patch → target/linux/patches/7.2.3/0006-microblaze-preserve-the-MSR-carry-flags-across-signa.patch

@@ -1,7 +1,7 @@
-From 871d1697a67642e2b2a3ffb577ef028bde83e483 Mon Sep 17 00:00:00 2001
+From 1c58c1ac71968ccc9e12a9cec17456131687b699 Mon Sep 17 00:00:00 2001
 From: Sam Price <thesamprice@gmail.com>
 Date: Fri, 21 Aug 2026 17:18:09 +0200
-Subject: [PATCH 6/6] microblaze: preserve the MSR carry flags across signals
+Subject: [PATCH] microblaze: preserve the MSR carry flags across signals
 
 setup_sigcontext() and restore_sigcontext() copy r0-r31, pc, ear, esr and
 fsr to and from the signal frame but never touch MSR.  The interrupted
@@ -54,7 +54,7 @@ Signed-off-by: Ramin Moussavi <ramin.moussavi@yacoub.de>
  1 file changed, 18 insertions(+)
 
 diff --git a/arch/microblaze/kernel/signal.c b/arch/microblaze/kernel/signal.c
-index 4956014a9937..6bbc16f98d5e 100644
+index 4956014a99379..6bbc16f98d5eb 100644
 --- a/arch/microblaze/kernel/signal.c
 +++ b/arch/microblaze/kernel/signal.c
 @@ -33,6 +33,7 @@
@@ -96,6 +96,3 @@ index 4956014a9937..6bbc16f98d5e 100644
  #undef COPY
  
  	err |= __put_user(mask, &sc->oldmask);
--- 
-2.47.3
-

+ 38 - 39
target/linux/patches/7.2/armnommu-versatile.patch → target/linux/patches/7.2.3/0007-ARM-versatile-support-configuring-versatile-machine-.patch

@@ -1,7 +1,8 @@
-From 77c038d93769c92ef54cdbb50388564d1b37987b Mon Sep 17 00:00:00 2001
+From 89f746d24f7d216d8f168a621a6e434a032040ab Mon Sep 17 00:00:00 2001
 From: Greg Ungerer <gerg@kernel.org>
 Date: Fri, 23 Sep 2016 13:37:34 +1000
-Subject: [PATCH] ARM: versatile: support configuring versatile machine for no-MMU
+Subject: [PATCH] ARM: versatile: support configuring versatile machine for
+ no-MMU
 
 Allow the arm versatile machine to be configured for no-MMU operation.
 
@@ -21,45 +22,17 @@ versatile is selected for the MMU enabled case.
 
 Signed-off-by: Greg Ungerer <gerg@kernel.org>
 ---
- arch/arm/Kconfig                    |   13 ++++++++++++-
- arch/arm/include/asm/mach/map.h     |    1 +
- arch/arm/mach-versatile/Kconfig     |    2 +-
- arch/arm/mach-versatile/versatile.c |    4 ++++
+ arch/arm/Kconfig                    | 13 ++++++++++++-
+ arch/arm/include/asm/mach/map.h     |  1 +
+ arch/arm/mach-versatile/Kconfig     |  2 +-
+ arch/arm/mach-versatile/versatile.c |  4 ++++
  4 files changed, 18 insertions(+), 2 deletions(-)
 
-diff --git a/arch/arm/mach-versatile/versatile.c b/arch/arm/mach-versatile/versatile.c
-index 02ba68abe533..835b51bc597b 100644
---- a/arch/arm/mach-versatile/versatile.c
-+++ b/arch/arm/mach-versatile/versatile.c
-@@ -22,7 +22,11 @@
- #include <asm/mach/map.h>
- 
- /* macro to get at MMIO space when running virtually */
-+#ifdef CONFIG_MMU
- #define IO_ADDRESS(x)		(((x) & 0x0fffffff) + (((x) >> 4) & 0x0f000000) + 0xf0000000)
-+#else
-+#define IO_ADDRESS(x)		(x)
-+#endif
- #define __io_address(n)		((void __iomem __force *)IO_ADDRESS(n))
- 
- /*
-diff --git a/arch/arm/include/asm/mach/map.h b/arch/arm/include/asm/mach/map.h
-index 2b8970d8e5a2..41844ab6aec5 100644
---- a/arch/arm/include/asm/mach/map.h
-+++ b/arch/arm/include/asm/mach/map.h
-@@ -60,6 +60,7 @@ extern int ioremap_page(unsigned long virt, unsigned long phys,
- #else
- #define iotable_init(map,num)	do { } while (0)
- #define vm_reserve_area_early(a,s,c)	do { } while (0)
-+#define debug_ll_io_init()	do { } while (0)
- #endif
- 
- #endif
 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
-index e24a9820e12f..342e1efa583a 100644
+index 9187240a02db5..b4ed559cbea8e 100644
 --- a/arch/arm/Kconfig
 +++ b/arch/arm/Kconfig
-@@ -307,12 +307,23 @@ config MMU
+@@ -323,12 +323,23 @@ config MMU
  	  Select if you want MMU-based virtualised addressing space
  	  support by paged memory management. If unsure, say 'Y'.
  
@@ -84,8 +57,20 @@ index e24a9820e12f..342e1efa583a 100644
  config ARCH_MMAP_RND_BITS_MIN
  	default 8
  
+diff --git a/arch/arm/include/asm/mach/map.h b/arch/arm/include/asm/mach/map.h
+index 2b8970d8e5a2f..41844ab6aec51 100644
+--- a/arch/arm/include/asm/mach/map.h
++++ b/arch/arm/include/asm/mach/map.h
+@@ -60,6 +60,7 @@ extern int ioremap_page(unsigned long virt, unsigned long phys,
+ #else
+ #define iotable_init(map,num)	do { } while (0)
+ #define vm_reserve_area_early(a,s,c)	do { } while (0)
++#define debug_ll_io_init()	do { } while (0)
+ #endif
+ 
+ #endif
 diff --git a/arch/arm/mach-versatile/Kconfig b/arch/arm/mach-versatile/Kconfig
-index b1519b4dc03a..2f1bf95daeb0 100644
+index 5136180784401..74d3dce15bdae 100644
 --- a/arch/arm/mach-versatile/Kconfig
 +++ b/arch/arm/mach-versatile/Kconfig
 @@ -1,7 +1,7 @@
@@ -97,5 +82,19 @@ index b1519b4dc03a..2f1bf95daeb0 100644
  	depends on CPU_LITTLE_ENDIAN
  	select ARM_AMBA
  	select ARM_TIMER_SP804
--- 
-2.25.1
+diff --git a/arch/arm/mach-versatile/versatile.c b/arch/arm/mach-versatile/versatile.c
+index 581c97dc4ed22..a52224d667c77 100644
+--- a/arch/arm/mach-versatile/versatile.c
++++ b/arch/arm/mach-versatile/versatile.c
+@@ -22,7 +22,11 @@
+ #include <asm/mach/map.h>
+ 
+ /* macro to get at MMIO space when running virtually */
++#ifdef CONFIG_MMU
+ #define IO_ADDRESS(x)		(((x) & 0x0fffffff) + (((x) >> 4) & 0x0f000000) + 0xf0000000)
++#else
++#define IO_ADDRESS(x)		(x)
++#endif
+ #define __io_address(n)		((void __iomem __force *)IO_ADDRESS(n))
+ 
+ /*

+ 22 - 0
target/linux/patches/7.2.3/0008-parisc-Support-openadk-linux-uclibc-CC-suffix.patch

@@ -0,0 +1,22 @@
+From 5a2fdd49d059cafa1588b1160593c8d6465fe033 Mon Sep 17 00:00:00 2001
+From: Phil Sutter <phil@nwl.cc>
+Date: Sun, 6 Sep 2026 13:46:14 +0200
+Subject: [PATCH] parisc: Support openadk-linux-uclibc CC suffix
+
+---
+ arch/parisc/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile
+index 4391783521bd9..cac2d082ca952 100644
+--- a/arch/parisc/Makefile
++++ b/arch/parisc/Makefile
+@@ -43,7 +43,7 @@ export LD_BFD
+ # This means that for 64BIT, both the 64-bit tools and the 32-bit tools
+ # need to be in the path.
+ CC_ARCHES_32 = hppa hppa2.0 hppa1.1
+-CC_SUFFIXES  = linux linux-gnu unknown-linux-gnu suse-linux
++CC_SUFFIXES  = linux linux-gnu unknown-linux-gnu suse-linux openadk-linux-uclibc
+ CROSS32_COMPILE := $(call cc-cross-prefix, \
+ 	$(foreach a,$(CC_ARCHES_32), \
+ 	$(foreach s,$(CC_SUFFIXES),$(a)-$(s)-)))

+ 21 - 0
target/linux/patches/7.2.3/0009-net-natsemi-Have-MACSONIC-select-BITREVERSE.patch

@@ -0,0 +1,21 @@
+From 2bd8bfd0c5dcbeb91590b83028ff69d2e7d48e10 Mon Sep 17 00:00:00 2001
+From: Phil Sutter <phil@nwl.cc>
+Date: Sun, 6 Sep 2026 13:47:12 +0200
+Subject: [PATCH] net: natsemi: Have MACSONIC select BITREVERSE
+
+---
+ drivers/net/ethernet/natsemi/Kconfig | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/net/ethernet/natsemi/Kconfig b/drivers/net/ethernet/natsemi/Kconfig
+index 0a92101aa3f1f..2facafc5adcbe 100644
+--- a/drivers/net/ethernet/natsemi/Kconfig
++++ b/drivers/net/ethernet/natsemi/Kconfig
+@@ -19,6 +19,7 @@ if NET_VENDOR_NATSEMI
+ config MACSONIC
+ 	tristate "Macintosh SONIC based ethernet (onboard, NuBus, LC, CS)"
+ 	depends on MAC
++	select BITREVERSE
+ 	help
+ 	  Support for NatSemi SONIC based Ethernet devices.  This includes
+ 	  the onboard Ethernet in many Quadras as well as some LC-PDS,

+ 15 - 3
target/linux/patches/7.2/numato-mimasa7-mini-dts.patch → target/linux/patches/7.2.3/0010-microblaze-Add-mimasa7_mini.dts.patch

@@ -1,6 +1,18 @@
-diff -Nur linux-6.18.18.orig/arch/microblaze/boot/dts/mimasa7_mini.dts linux-6.18.18/arch/microblaze/boot/dts/mimasa7_mini.dts
---- linux-6.18.18.orig/arch/microblaze/boot/dts/mimasa7_mini.dts	1970-01-01 01:00:00.000000000 +0100
-+++ linux-6.18.18/arch/microblaze/boot/dts/mimasa7_mini.dts	2026-03-25 06:33:23.647668507 +0100
+From 61962df44257af21580ef94f7c1a2e1fb238510a Mon Sep 17 00:00:00 2001
+From: Phil Sutter <phil@nwl.cc>
+Date: Sun, 6 Sep 2026 13:48:25 +0200
+Subject: [PATCH] microblaze: Add mimasa7_mini.dts
+
+---
+ arch/microblaze/boot/dts/mimasa7_mini.dts | 244 ++++++++++++++++++++++
+ 1 file changed, 244 insertions(+)
+ create mode 100644 arch/microblaze/boot/dts/mimasa7_mini.dts
+
+diff --git a/arch/microblaze/boot/dts/mimasa7_mini.dts b/arch/microblaze/boot/dts/mimasa7_mini.dts
+new file mode 100644
+index 0000000000000..b72f07b6a6959
+--- /dev/null
++++ b/arch/microblaze/boot/dts/mimasa7_mini.dts
 @@ -0,0 +1,244 @@
 +/*
 + * CAUTION: This file is automatically generated by Xilinx.

Разница между файлами не показана из-за своего большого размера
+ 762 - 429
target/linux/patches/7.2.3/0011-net-wireless-Add-insersil-orinoco-driver.patch


+ 0 - 12
target/linux/patches/7.2/hppa-cross-compile.patch

@@ -1,12 +0,0 @@
-diff -Nur linux-6.6.22.orig/arch/parisc/Makefile linux-6.6.22/arch/parisc/Makefile
---- linux-6.6.22.orig/arch/parisc/Makefile	2024-03-15 19:25:07.000000000 +0100
-+++ linux-6.6.22/arch/parisc/Makefile	2024-04-16 03:57:37.515308996 +0200
-@@ -41,7 +41,7 @@
- 
- # Set default 32 bits cross compilers for vdso
- CC_ARCHES_32 = hppa hppa2.0 hppa1.1
--CC_SUFFIXES  = linux linux-gnu unknown-linux-gnu suse-linux
-+CC_SUFFIXES  = linux linux-gnu unknown-linux-gnu suse-linux openadk-linux-uclibc
- CROSS32_COMPILE := $(call cc-cross-prefix, \
- 	$(foreach a,$(CC_ARCHES_32), \
- 	$(foreach s,$(CC_SUFFIXES),$(a)-$(s)-)))

+ 0 - 11
target/linux/patches/7.2/macsonic.patch

@@ -1,11 +0,0 @@
-diff -Nur linux-6.6.22.orig/drivers/net/ethernet/natsemi/Kconfig linux-6.6.22/drivers/net/ethernet/natsemi/Kconfig
---- linux-6.6.22.orig/drivers/net/ethernet/natsemi/Kconfig	2024-03-15 19:25:07.000000000 +0100
-+++ linux-6.6.22/drivers/net/ethernet/natsemi/Kconfig	2024-04-16 10:16:50.352443898 +0200
-@@ -19,6 +19,7 @@
- config MACSONIC
- 	tristate "Macintosh SONIC based ethernet (onboard, NuBus, LC, CS)"
- 	depends on MAC
-+	select BITREVERSE
- 	help
- 	  Support for NatSemi SONIC based Ethernet devices.  This includes
- 	  the onboard Ethernet in many Quadras as well as some LC-PDS,

Некоторые файлы не были показаны из-за большого количества измененных файлов