Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp244151pxb; Thu, 21 Jan 2021 06:12:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJxsecZzgUYC1/IaqvZOQbewY+bHsk4++bMnD5UMUYaipmaTlQUPxR5W9eWgGPtFK1OeQBUy X-Received: by 2002:a17:906:ae91:: with SMTP id md17mr9430693ejb.302.1611238358295; Thu, 21 Jan 2021 06:12:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611238358; cv=none; d=google.com; s=arc-20160816; b=dI5rwzJoQZBCnqoeswHkUvhO2xed6/VGSugHxlRs8KrC+tdPlSNqOWba+V/UUnLkXo Hfp6oZdxemNfSztnojzjH6P0QHzFWgPjKZ/KiMmztoZUAbKUFOO3zg+mZsOJrz5pGJ+s aFsYlG4r7rvQWSBwx/65TvQWlkzZsOjdi/pgO1ELetxfBwvmzlsQgRPT6aaNrS5h6XI6 LR5MeDssa1eAlgkjxzOfl3xfvWBTzwGNnzRbsWzYw1m8LTDiJee/W2NqRRal0KAgD+48 Yu9gMPvkY5pS84adlMIoqQYj2Mr+Az1bnrRJ5oLGE4M3OzPtcha9I3ieQVq3F94xOo3i EkQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version; bh=eM7Jecu86jHVKA6unwcBVRi9AjrxlQMzcHwN4mbbCZs=; b=T6X/SwwnvE4b8gcFh9Kd8DuPSlI3NxGMnXtIZmTAMhypc27/MD1dvOqVl82dOul4z0 lnTVjdRrWgA6dhV/YtlbCRUDrwT3/j/vlRLq2kydtlCXlCNoGfjpQUyTo7gSF57Cj4S0 O4tCr/7vQxCfAnLDkeXMvyh7JL3tbCxcqqbWYp3hGInXQr2TO/BJolwyUf5OaTEBrHC5 phEwmCAen2slns3eeGyy19jgfh2dd1zHyD7NTMxZIikOITnqYDiv2rUOubSLPAPH229h SSI4hVowp0Fp8ysHaxISGg2oDvYUTb4mFNraLVjM77zg+EPwn1QYWPcvSOTuw0NxgEmZ en1Q== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d17si2127828edv.443.2021.01.21.06.12.13; Thu, 21 Jan 2021 06:12: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; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730518AbhAUOGU (ORCPT + 99 others); Thu, 21 Jan 2021 09:06:20 -0500 Received: from mail.kernel.org ([198.145.29.99]:57508 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728071AbhAUOGN (ORCPT ); Thu, 21 Jan 2021 09:06:13 -0500 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9445B239A4; Thu, 21 Jan 2021 14:05:29 +0000 (UTC) Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1l2aaV-009Cp4-H1; Thu, 21 Jan 2021 14:05:27 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 21 Jan 2021 14:05:27 +0000 From: Marc Zyngier To: Mark Rutland 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. In-Reply-To: <20210121133235.GG48431@C02TD0UTHF1T.local> References: <20210120132717.395873-1-mohamed.mediouni@caramail.com> <20210120132717.395873-8-mohamed.mediouni@caramail.com> <71e94b48857cbdd21c5d6bdadf148621@kernel.org> <20210121133235.GG48431@C02TD0UTHF1T.local> User-Agent: Roundcube Webmail/1.4.10 Message-ID: <6d4d606cd832230c159b12874d32e220@kernel.org> X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: mark.rutland@arm.com, mohamed.mediouni@caramail.com, arnd@kernel.org, linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, marcan@marcan.st, linux-kernel@vger.kernel.org, will@kernel.org, stan@corellium.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-01-21 13:32, Mark Rutland wrote: > 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. Hmm. That's a good point. I think this could be keyed off the compatible property, which should accurately reflect the version of the interrupt controller. Thanks, M. -- Jazz is not dead. It just smells funny...