Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp248831pxb; Thu, 21 Jan 2021 06:18:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9s9sA5vAtq/mdMiijE75BfNWAksOR8r2KZ2rqqQPF3A+N+KpNR5Wh0jDOji2QtPHe/Kmq X-Received: by 2002:aa7:c4c9:: with SMTP id p9mr12082210edr.234.1611238710517; Thu, 21 Jan 2021 06:18:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611238710; cv=none; d=google.com; s=arc-20160816; b=Wqw9UiIv3kTkuCNamHDvaeSUgsj12l29L1dOQw3PtTAP+DgrvbDsYo8MwapRV7zkOh DzRgSpNbgHSFZjtEKMQuaUbVjuXjGlz8UkY7EP7bB/zGj/JoTzUz43mJOlDmsttily9v 336A3xB9rjsLKidUViItpiidd7cqHuufKtPOUZl+Fbkr6vCq8EQ+JWNa54NTG6PhsOz3 wVSR22mwVrDysGZZRDBm6PPW3IU6Nm4LsRxpZE+VFwPVqTo5qA/EJofb0+OkbgEi+xwf G60SRnme0egGqIYYNH4tP6HK96bVGh+fg+6nEE/t+nh6O5e/MJ3RZ1axWbQiKvZsUgGU bhwQ== 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=kfc6M4QYhpM4PgEZG0+t1bNJCm1MWYS+Bj86cTa8EJ8=; b=uveCwDpD6BvpUhDTRl1YP9eEv3ne15dUn8796sGL1GUcq49+kEaX+DLr7n2DTn2tAr azJy2BM+0+z00NoYTMrwnCnxEskIQUYQFzBr9thq8ASlWMFQ3ma1bsfiLjjsjQbvdwE9 egIoMpJGZUu7MUtsHYkhm5UHruN5LRx8u/uJWhAvWaV4Ge9OFmrEwSuBA28QR7Dko2WH rWHxXMb1vP59ZFOWgPT26GOsEjGzB+zTJrs+FKAOeTr8paR3arnx6h4X51otsInVQVhf XFdG0BL+oM3ZVaiN14M1qbl+LvYGt1/SzRnpNg4rRR+HfrrHyaeBZSGEB3CjgfVX72W8 9a9Q== 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 p1si1814315eji.738.2021.01.21.06.18.05; Thu, 21 Jan 2021 06:18:30 -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 S1728676AbhAUORJ (ORCPT + 99 others); Thu, 21 Jan 2021 09:17:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:58166 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731060AbhAUOLO (ORCPT ); Thu, 21 Jan 2021 09:11:14 -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 DC657239A4; Thu, 21 Jan 2021 14:10:30 +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 1l2afM-009Cst-QC; Thu, 21 Jan 2021 14:10:28 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 21 Jan 2021 14:10:28 +0000 From: Marc Zyngier To: Mohamed Mediouni Cc: Arnd Bergmann , Linux ARM , Mark Rutland , 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: <2861E21B-32B9-479E-A5F6-528D021183E6@caramail.com> References: <20210120132717.395873-1-mohamed.mediouni@caramail.com> <20210120132717.395873-8-mohamed.mediouni@caramail.com> <71e94b48857cbdd21c5d6bdadf148621@kernel.org> <2861E21B-32B9-479E-A5F6-528D021183E6@caramail.com> User-Agent: Roundcube Webmail/1.4.10 Message-ID: <7131f110736b8a17c824f39abeeaf711@kernel.org> X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: mohamed.mediouni@caramail.com, arnd@kernel.org, linux-arm-kernel@lists.infradead.org, mark.rutland@arm.com, 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:34, Mohamed Mediouni wrote: >> On 21 Jan 2021, at 14:22, 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. >> >> Thanks, >> > Because UART access adapters for the new M1 Macs aren’t plentiful > at all, I actually use this for development, with iPhones which have > much more easy to buy Lightning-to-UART adapters. > > (That’s why the old implementation is there too) > > Might be worth splitting the new one to a new commit though... This series is supposed to cover M1 only, and adding extra support as part of it is only likely to make the code harder to review. I'd rather you focus on a single IPI interface (fast or slow, I don't really care). Extra features can come in later. Thanks, M. -- Jazz is not dead. It just smells funny...