From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17036C433E6 for ; Thu, 21 Jan 2021 14:51:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D412A238A1 for ; Thu, 21 Jan 2021 14:51:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730933AbhAUNev (ORCPT ); Thu, 21 Jan 2021 08:34:51 -0500 Received: from foss.arm.com ([217.140.110.172]:36720 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732279AbhAUNd1 (ORCPT ); Thu, 21 Jan 2021 08:33:27 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 21AEB11B3; Thu, 21 Jan 2021 05:32:39 -0800 (PST) Received: from C02TD0UTHF1T.local (unknown [10.57.35.62]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8CEB63F68F; Thu, 21 Jan 2021 05:32:37 -0800 (PST) Date: Thu, 21 Jan 2021 13:32:35 +0000 From: Mark Rutland To: Marc Zyngier Cc: Mohamed Mediouni , Arnd Bergmann , Linux ARM , Catalin Marinas , Hector Martin , linux-kernel@vger.kernel.org, Will Deacon , Stan Skowronek Subject: Re: [RFC PATCH 7/7] irqchip/apple-aic: add SMP support to the Apple AIC driver. Message-ID: <20210121133235.GG48431@C02TD0UTHF1T.local> References: <20210120132717.395873-1-mohamed.mediouni@caramail.com> <20210120132717.395873-8-mohamed.mediouni@caramail.com> <71e94b48857cbdd21c5d6bdadf148621@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <71e94b48857cbdd21c5d6bdadf148621@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 21, 2021 at 01:22:37PM +0000, Marc Zyngier wrote: > On 2021-01-21 12:50, Mohamed Mediouni wrote: > > > On 21 Jan 2021, at 13:44, Arnd Bergmann wrote: > > > > > > On Wed, Jan 20, 2021 at 2:27 PM Mohamed Mediouni > > [...] > > > > > + aic.fast_ipi = of_property_read_bool(node, "fast-ipi"); > > > > > > Where is this property documented, and what decides which one to use? > > It’s getting documented in the next patch set. > > > > This property is there to enable support for older iPhone processors > > later on, some of which do not have fast IPI support. > > > > On Apple M1, fast-ipi is always on. > > Then please focus on a single implementation. Additional features can > always be merged later once something is up and running. > > Also, there sysregs can be detected by matching the MIDR, so I don't > think we need a DT property for that. Generally we do not detect IMP-DEF sysregs based on MIDR because they won't necessarily be exposed to a VM, so I suspect that we do need DT properties to describe that IMP-DEF sysregs are accessible, and should not rely on the MIDR alone. Maybe that's implicit in another property, but worth bearing in mind. Thanks, Mark.