Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp388527pxb; Wed, 20 Jan 2021 09:19:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJxllmsNqOLmr5hqq2mwGz6nMmcnVrckKBmocM7zeKvJMS0hu53q7aIM/y/K5zknxLQdEjao X-Received: by 2002:a17:906:9381:: with SMTP id l1mr7098008ejx.433.1611163178455; Wed, 20 Jan 2021 09:19:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611163178; cv=none; d=google.com; s=arc-20160816; b=Lh3g5ZYVWR2Yr2AHDorTNY4gfrcrBdc4MmPOFob62hJa3IE4HKZVEPotZeJvCmfXA1 qW9FjI9mGHDrTHHjqG36QzIlf0jEumm0DNRFjNlRXJDOnb0+K2q3dyMrzIEujCq8MdKo jxya0TkG1Ti4FX2LYs9UQpvFfd4Nq+LeE05BgznArdQlmNO7HzflX2DrdxD3+ICkifuI WMjp4bY/3kBp06kA5tkHOa/FTQAJDkbP/vkormccIdUOoB0CwT1x/hEADLMIHKMTcjUl sl6+GYjP8S7qVN3YAd4BoKLQ1lkd/n6MmE1GRh3x7lOHKxkDcSlvtaDhCP0NMYebp2N0 yRFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=cdvhdSc+KJ2muMQJyh5ViJwhF3It4JZRnpRi6+TvWVQ=; b=gieV9SYFUkKaKs9G45dCzJIcoN8SlcuUUlZ231xlcJPO39PRozdCyXkDlZm1AlIeOy 9Cub4FR3GgGNPc5lcBccPdRP0R28i/8z/8G0OXmL/cRhj1dO9rTRNdo/K2/OyjrYtCn1 VYXXwpi9HYCDH5RjSq4l8c6UKV+rnCuit/ylLLYHsCV2du5JC6AoTXGoD1ANe6lRFWp1 YsYluXIXzMvFiqQ82pbC4DTDNcyeov4dIPWIm8hAi+jdBQneQSfqqUnGHIUfHXsFyVZm R4fUasvwp89ReRTLm0drlDpLIbhDweACLnpgRZyVyst7xR91ZfiivaxgjQ2eAgcaJFfo 5akw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=L8FX8NlL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h12si1094054edk.467.2021.01.20.09.19.14; Wed, 20 Jan 2021 09:19:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=L8FX8NlL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388833AbhATRQO (ORCPT + 99 others); Wed, 20 Jan 2021 12:16:14 -0500 Received: from smtp-fw-9103.amazon.com ([207.171.188.200]:48863 "EHLO smtp-fw-9103.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389565AbhATRMr (ORCPT ); Wed, 20 Jan 2021 12:12:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1611162767; x=1642698767; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=cdvhdSc+KJ2muMQJyh5ViJwhF3It4JZRnpRi6+TvWVQ=; b=L8FX8NlLlqtuJJdKd/DnB1v0pK18MN3H799Bp7UxPEDA3l5GA/vLRWLv efU8OUyOdusrqSWwf+HrEccI/pedYYbS1z9Kou9E+m8RAzSFUdtet/6qy InA7R0rYMsrv9Z5RcBTkVRRMgVohx1JOXmILedC78B/m+M7f2+bnLJDhc I=; X-IronPort-AV: E=Sophos;i="5.79,361,1602547200"; d="scan'208";a="912082822" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1e-c7f73527.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9103.sea19.amazon.com with ESMTP; 20 Jan 2021 17:11:25 +0000 Received: from EX13MTAUWC002.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan3.iad.amazon.com [10.40.163.38]) by email-inbound-relay-1e-c7f73527.us-east-1.amazon.com (Postfix) with ESMTPS id 12F8FA26B9; Wed, 20 Jan 2021 17:11:22 +0000 (UTC) Received: from EX13D20UWC001.ant.amazon.com (10.43.162.244) by EX13MTAUWC002.ant.amazon.com (10.43.162.240) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 20 Jan 2021 17:11:22 +0000 Received: from edge-m1-r3-201.e-iad16.amazon.com (10.43.160.66) by EX13D20UWC001.ant.amazon.com (10.43.162.244) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 20 Jan 2021 17:11:20 +0000 Subject: Re: [RFC PATCH 4/7] irqchip/apple-aic: Add support for Apple AIC To: Mohamed Mediouni , CC: Mark Rutland , Catalin Marinas , Hector Martin , , Marc Zyngier , Will Deacon , Stan Skowronek References: <20210120132717.395873-1-mohamed.mediouni@caramail.com> <20210120132717.395873-5-mohamed.mediouni@caramail.com> From: Alexander Graf Message-ID: <171d8c3f-aa0c-4416-b0d7-d35a47c7acc3@amazon.com> Date: Wed, 20 Jan 2021 18:11:17 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <20210120132717.395873-5-mohamed.mediouni@caramail.com> Content-Language: en-US X-Originating-IP: [10.43.160.66] X-ClientProxiedBy: EX13D36UWB004.ant.amazon.com (10.43.161.49) To EX13D20UWC001.ant.amazon.com (10.43.162.244) Content-Type: text/plain; charset="windows-1252"; format="flowed" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20.01.21 14:27, Mohamed Mediouni wrote: > From: Stan Skowronek > = > Apple SoCs use the Apple AIC interrupt controller. > The Arm architectural timers is wired over FIQ on that hardware. > = > Signed-off-by: Stan Skowronek > Signed-off-by: Mohamed Mediouni > --- > .../interrupt-controller/apple,aic.yaml | 49 ++++ > MAINTAINERS | 6 + > drivers/irqchip/Kconfig | 6 + > drivers/irqchip/Makefile | 1 + > drivers/irqchip/irq-apple-aic.c | 211 ++++++++++++++++++ > 5 files changed, 273 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interrupt-controll= er/apple,aic.yaml > create mode 100644 drivers/irqchip/irq-apple-aic.c > = > diff --git a/Documentation/devicetree/bindings/interrupt-controller/apple= ,aic.yaml b/Documentation/devicetree/bindings/interrupt-controller/apple,ai= c.yaml > new file mode 100644 > index 000000000000..e615eaaca869 > --- /dev/null > +++ b/Documentation/devicetree/bindings/interrupt-controller/apple,aic.ya= ml > @@ -0,0 +1,49 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/interrupt-controller/apple,aic.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Apple Advanced Interrupt Controller (AIC) > + > +description: > + Interrupt controller present on Apple processors. AIC > + is used by Apple on their AArch64 SoCs since the Apple A7. > + > +maintainers: > + - Stan Skowronek > + > +properties: > + compatible: > + items: > + - const: apple,aic > + > + reg: > + maxItems: 1 > + > + '#interrupt-cells': > + const: 3 > + > + interrupt-controller: true > + > + fast-ipi: > + description: > + Fast IPI support. > + > +required: > + - compatible > + - '#interrupt-cells' > + - interrupt-controller > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + aic: interrupt-controller@23b100000 { > + compatible =3D "apple,aic"; > + #interrupt-cells =3D <3>; > + interrupt-controller; > + reg =3D <0x2 0x3b100000 0x0 0x8000>; > + fast-ipi; > + }; > diff --git a/MAINTAINERS b/MAINTAINERS > index 00836f6452f0..e609ede99dd4 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -1218,6 +1218,12 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/g= it/jj/linux-apparmor > F: Documentation/admin-guide/LSM/apparmor.rst > F: security/apparmor/ > = > +APPLE ADVANCED INTERRUPT CONTROLLER DRIVER > +M: Stan Skowronek Signing someone else up for maintainership is ... unusual :). Do you = have buy in from Stan that he'll be responsive and handle patch reviews? > +L: linux-arm-kernel@lists.infradead.org > +S: Maintained > +F: drivers/irqchip/irq-apple-aic.c > + Alex Amazon Development Center Germany GmbH Krausenstr. 38 10117 Berlin Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B Sitz: Berlin Ust-ID: DE 289 237 879