Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp216667pxb; Thu, 21 Jan 2021 05:36:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+hxlWOS5mzZK3IbHVdrxgoOQZaQkLcjF2bDWsCouRBI3BSQdLM0g3V6axo8ExkmtcSczP X-Received: by 2002:a05:6402:17a2:: with SMTP id j2mr10973080edy.15.1611236168202; Thu, 21 Jan 2021 05:36:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611236168; cv=none; d=google.com; s=arc-20160816; b=cYs8u9l7Kr77dEaCdNi+rM/Ud6llTUk9nW6nXSKa30PntxPyfdJY9vdpA1m6ZJRUaT ye6K4U0iC9AaWpnCxCZ+jTFJOFOdTrrAQ9BUQ5lRZoOLu/jDFcEVPvB+o/O44GS+UXiB Xb0njwVubk5iSgoN+HZnN1y0TM36o+hMOEg/Vh5+9BoVILGnk0zmN7p6TqkGToQJWpwu xct3FwDkRGFKRq20KPE4rBScS2M+DuRCv9jwIhq+z5eGuwh7RpOYg9TUYOpDcWcIyqX7 vWgyB5ZzboYgbT8oUNjkEUwZrigGrwy2BJY25ujY47zuP0sG9VvuL1sDMhGULRbYjHzK sxQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=J4Qar5CIxa0/foJDry/KiAaIxgN3XpH/Lpdfsab5oH0=; b=0VLWmd5V31GLG7NpwgHhDHpPJaDW/uvG8QRm3HTAfHhtuqwlw3+phF5Ku8C89mmPeT zGqf0p/NMCKInisu5C/3Ew4i9oy+Qica6hpYh02Pk8MHZNqzMPB6X+4ZSSZCj2m0Tp8K OD7NwF4hTU5oyXq/pVBkK6rTpY18LMDVvgL8ZWZ4hNs2SQUQVb6ToMe3aKe0nDyOmlxo jnSNm6HL5UID+UtB6bZbp4b8QhQN5UbAHmXDY7d+ke6m3uLNHCG86aObsdEHMTPXMumo XRbxKTm5na/p1SLP3QY1HriUWQiJDeZhqZNril37pwy1HvjfPYPqpgtEckgaZvrVvAwa 9w0A== 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d2si2089421edd.145.2021.01.21.05.35.43; Thu, 21 Jan 2021 05:36:08 -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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732084AbhAUNec (ORCPT + 99 others); Thu, 21 Jan 2021 08:34:32 -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.