Messages in this thread |  | | Date | Sat, 30 Dec 2023 15:45:25 +0100 | | From | Thomas Bogendoerfer <> | | Subject | Re: [PATCH 1/2] MIPS: Allow vectored interrupt handler to reside everywhere for 64bit |
| |
On Thu, Dec 21, 2023 at 01:54:03PM +0100, Thomas Bogendoerfer wrote: > Setting up vector interrupts worked only with handlers, which resided > in CKSEG0 space. This limits the kernel placement for 64bit platforms. > By patching in the offset into vi_handlers[] instead of the full > handler address, the vectored exception handler can load the > address by itself and jump to it. > > Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> > --- > arch/mips/kernel/genex.S | 8 ++++---- > arch/mips/kernel/traps.c | 9 +++------ > 2 files changed, 7 insertions(+), 10 deletions(-)
applied to mips-next.
Thomas.
-- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]
|  |