Re: [PATCH v2 00/25] Apple M1 SoC platform bring-up

2021-02-24 Thread Hector Martin
On 22/02/2021 00.20, Hector Martin wrote: I haven't tested things at EL0 yet, but it looks like the stateful instructions known to be usable in EL0 (AMX) already default to trap on this platform, so we should be safe there. Everything else looks like it probably either shouldn't work in EL0 (I

Re: [PATCH v2 00/25] Apple M1 SoC platform bring-up

2021-02-23 Thread Hector Martin
On 22/02/2021 05.41, Andy Shevchenko wrote: Hector, I would like to be cc’ed in the next version Noted, thanks! -- Hector Martin (mar...@marcan.st) Public Key: https://mrcn.st/pub

Re: [PATCH v2 00/25] Apple M1 SoC platform bring-up

2021-02-21 Thread Hector Martin
On 18/02/2021 23.36, Mark Rutland wrote: IIUC, the CPUs in these parts have some IMP-DEF instructions that can be used at EL0 which might have some IMP-DEF state. Our general expectation is that FW should configure such things to trap, but I don't know whether the M1 FW does that, and I fear

Re: [PATCH v2 00/25] Apple M1 SoC platform bring-up

2021-02-18 Thread Mark Rutland
On Mon, Feb 15, 2021 at 09:16:48PM +0900, Hector Martin wrote: > This series brings up initial support for the Apple M1 SoC, used in the > 2020 Mac Mini, MacBook Pro, and MacBook Air models. > > The following features are supported in this initial port: > > - UART (samsung-style) with earlycon

Re: [PATCH v2 00/25] Apple M1 SoC platform bring-up

2021-02-15 Thread Marc Zyngier
On Mon, 15 Feb 2021 17:43:59 +, Krzysztof Kozlowski wrote: > For bigger patchsets, you should combine get_maintainer.pl with sending > emails so individual patches will go to all role-based entries from > get_maintainer.pl and to all mailing lists. You can (and sometimes even > worth to)

Re: [PATCH v2 00/25] Apple M1 SoC platform bring-up

2021-02-15 Thread Krzysztof Kozlowski
On Tue, Feb 16, 2021 at 01:54:25AM +0900, Hector Martin wrote: > On 16/02/2021 01.12, gregkh wrote: > > On Tue, Feb 16, 2021 at 12:57:27AM +0900, Hector Martin wrote: > > > On 15/02/2021 22.22, gregkh wrote: > > > > On Mon, Feb 15, 2021 at 01:57:39PM +0100, Arnd Bergmann wrote: > > > > > (adding

Re: [PATCH v2 00/25] Apple M1 SoC platform bring-up

2021-02-15 Thread Hector Martin
On 16/02/2021 01.12, gregkh wrote: On Tue, Feb 16, 2021 at 12:57:27AM +0900, Hector Martin wrote: On 15/02/2021 22.22, gregkh wrote: On Mon, Feb 15, 2021 at 01:57:39PM +0100, Arnd Bergmann wrote: (adding maintainers for the serial/irqchip/clocksource drivers and arch/arm64 to cc) I would

Re: [PATCH v2 00/25] Apple M1 SoC platform bring-up

2021-02-15 Thread Hector Martin
On 15/02/2021 22.22, gregkh wrote: On Mon, Feb 15, 2021 at 01:57:39PM +0100, Arnd Bergmann wrote: (adding maintainers for the serial/irqchip/clocksource drivers and arch/arm64 to cc) I would suggest merging it together as a series through the soc tree for v5.13, once each patch has been

Re: [PATCH v2 00/25] Apple M1 SoC platform bring-up

2021-02-15 Thread gregkh
On Tue, Feb 16, 2021 at 12:57:27AM +0900, Hector Martin wrote: > On 15/02/2021 22.22, gregkh wrote: > > On Mon, Feb 15, 2021 at 01:57:39PM +0100, Arnd Bergmann wrote: > > > (adding maintainers for the serial/irqchip/clocksource drivers and > > > arch/arm64 to cc) > > > > > > I would suggest

Re: [PATCH v2 00/25] Apple M1 SoC platform bring-up

2021-02-15 Thread gregkh
On Mon, Feb 15, 2021 at 01:57:39PM +0100, Arnd Bergmann wrote: > On Mon, Feb 15, 2021 at 1:16 PM Hector Martin wrote: > > > > This series brings up initial support for the Apple M1 SoC, used in the > > 2020 Mac Mini, MacBook Pro, and MacBook Air models. > > > > The following features are

Re: [PATCH v2 00/25] Apple M1 SoC platform bring-up

2021-02-15 Thread Arnd Bergmann
On Mon, Feb 15, 2021 at 1:16 PM Hector Martin wrote: > > This series brings up initial support for the Apple M1 SoC, used in the > 2020 Mac Mini, MacBook Pro, and MacBook Air models. > > The following features are supported in this initial port: > > - UART (samsung-style) with earlycon support >

[PATCH v2 00/25] Apple M1 SoC platform bring-up

2021-02-15 Thread Hector Martin
This series brings up initial support for the Apple M1 SoC, used in the 2020 Mac Mini, MacBook Pro, and MacBook Air models. The following features are supported in this initial port: - UART (samsung-style) with earlycon support - Interrupts, including affinity and IPIs (Apple Interrupt