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=-11.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 6FCC6C433DB for ; Thu, 21 Jan 2021 13:02:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 103F523A00 for ; Thu, 21 Jan 2021 13:02:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731178AbhAUNB7 (ORCPT ); Thu, 21 Jan 2021 08:01:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:36304 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730328AbhAUNBR (ORCPT ); Thu, 21 Jan 2021 08:01:17 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 69B2023A00 for ; Thu, 21 Jan 2021 13:00:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611234036; bh=zOUmjTvjQhlXVBR+uCOUkYxo/5YaQKWmpamWU0MAFHE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=TD+WhK5gaLBMydUeK77ZWEe4YC1mV1T0Q6BJ4Ekr4xMdW0SI9sgxUfsVVOzaIL2H+ i0+jpSftYycNbUsafcMZTdOGsF1Q8G2WXOOOj8mPb6KpNwfhhiDVOc6PxEH9aTfPB1 y9wFUpphZEwt92K1c0TU3aqYM+V/0o42dUT8gLaYTtCF+RfHLpQs3/Md+kkDXq09Mj K1quJts27Dt3MSpoylnKHlH5BDQqUy64Kg+wR8YGtlqVlwpSOJYgpqRCrbZCyJB0Qc LFMbaiUIWBYbxRwTrLxhs/QjG12L9M2Ep9SmF7pP1s2eKvk0KNTethN80piU2HzARf HGPrBZ2NzFxGQ== Received: by mail-ot1-f42.google.com with SMTP id k8so1477570otr.8 for ; Thu, 21 Jan 2021 05:00:36 -0800 (PST) X-Gm-Message-State: AOAM5324+ZVtgLJs0P0BND9wH0/U7o4npU3H68pv6tdspTJCmKQrziOY Iu8HGvlyl2Q0Nl0ACZEpgq+CSUU4l/JkZuOJe+I= X-Google-Smtp-Source: ABdhPJzOCtzUf7ZFeL2yzxXslX5TLFUOOJcfbfAGG6M0QVElMOWoobgu655hMG0xg8qBkSm5mRl+iUjHXkYvXMfiqDs= X-Received: by 2002:a05:6830:139a:: with SMTP id d26mr10341889otq.305.1611234035653; Thu, 21 Jan 2021 05:00:35 -0800 (PST) MIME-Version: 1.0 References: <20210120132717.395873-1-mohamed.mediouni@caramail.com> <20210120132717.395873-8-mohamed.mediouni@caramail.com> In-Reply-To: From: Arnd Bergmann Date: Thu, 21 Jan 2021 14:00:19 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 7/7] irqchip/apple-aic: add SMP support to the Apple AIC driver. To: Mohamed Mediouni Cc: Linux ARM , Mark Rutland , Catalin Marinas , Hector Martin , "linux-kernel@vger.kernel.org" , Marc Zyngier , Will Deacon , Stan Skowronek Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 21, 2021 at 1:50 PM Mohamed Mediouni wrote: > > On 21 Jan 2021, at 13:44, Arnd Bergmann wrote: > >> @@ -186,8 +325,11 @@ static int __init apple_aic_init(struct device_no= de *node, > >> if (WARN(!aic.base, "unable to map aic registers\n")) > >> return -EINVAL; > >> > >> + aic.fast_ipi =3D of_property_read_bool(node, "fast-ipi"); > > > > Where is this property documented, and what decides which one to use? > It=E2=80=99s 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. Ok, makes sense. Does fast-ipi mean you cannot use the other mode at all, or is it just faster as implied by the name? If so, how much faster? Arnd 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=-9.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham 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 EFADCC433DB for ; Thu, 21 Jan 2021 13:02:27 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8581F239FF for ; Thu, 21 Jan 2021 13:02:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8581F239FF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kuwCdawmvIpE4YhBsm1DfHeoupYQi2xA2fTvI1Jy6IQ=; b=g7Utbevom8eMUJSmE5tLW84Jl vScvLy2iGqBHcw4mV1p86UNKSetnS7aB3e3g6dDVRSBgRLyBBmWaj1bd2OEt0zh1QwqXwhEq5S0tR y3jQTMODD+sAyL2McdDrZ68oDHiLkEnZqYcfR+rtdhllW44+4uLUEOlLKHFSwriSmCvjWPLtHqo8Q NgrxHsMr7rf8OQZYLNfdU8GrPt+6VN8NyqkRR6CHcC+r6mlxNCTlAyUcl7Vl1PGIvDDdW/Namu/zQ URga65cH5b2EUCwEzc9Ak8WxAbrZT+Tgffk6ZHudggtsCVNPPA2wRjSMBqe5jTqgL5EPfQHN5KqGW D9wkkE1mg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2ZZp-00046n-7h; Thu, 21 Jan 2021 13:00:41 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2ZZl-00046O-Nn for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 13:00:39 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 71BD723A04 for ; Thu, 21 Jan 2021 13:00:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611234036; bh=zOUmjTvjQhlXVBR+uCOUkYxo/5YaQKWmpamWU0MAFHE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=TD+WhK5gaLBMydUeK77ZWEe4YC1mV1T0Q6BJ4Ekr4xMdW0SI9sgxUfsVVOzaIL2H+ i0+jpSftYycNbUsafcMZTdOGsF1Q8G2WXOOOj8mPb6KpNwfhhiDVOc6PxEH9aTfPB1 y9wFUpphZEwt92K1c0TU3aqYM+V/0o42dUT8gLaYTtCF+RfHLpQs3/Md+kkDXq09Mj K1quJts27Dt3MSpoylnKHlH5BDQqUy64Kg+wR8YGtlqVlwpSOJYgpqRCrbZCyJB0Qc LFMbaiUIWBYbxRwTrLxhs/QjG12L9M2Ep9SmF7pP1s2eKvk0KNTethN80piU2HzARf HGPrBZ2NzFxGQ== Received: by mail-ot1-f53.google.com with SMTP id d1so1456123otl.13 for ; Thu, 21 Jan 2021 05:00:36 -0800 (PST) X-Gm-Message-State: AOAM531vVatcgEEdZGrrnjERQ9YRnzC/d85530G+NZyJ6Pakg/E8CeTZ lhjhHyo+sbrhi3F4DCANla57dbqqbsIylC8wjJc= X-Google-Smtp-Source: ABdhPJzOCtzUf7ZFeL2yzxXslX5TLFUOOJcfbfAGG6M0QVElMOWoobgu655hMG0xg8qBkSm5mRl+iUjHXkYvXMfiqDs= X-Received: by 2002:a05:6830:139a:: with SMTP id d26mr10341889otq.305.1611234035653; Thu, 21 Jan 2021 05:00:35 -0800 (PST) MIME-Version: 1.0 References: <20210120132717.395873-1-mohamed.mediouni@caramail.com> <20210120132717.395873-8-mohamed.mediouni@caramail.com> In-Reply-To: From: Arnd Bergmann Date: Thu, 21 Jan 2021 14:00:19 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 7/7] irqchip/apple-aic: add SMP support to the Apple AIC driver. To: Mohamed Mediouni X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210121_080037_934716_BC6F8BA4 X-CRM114-Status: GOOD ( 15.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Catalin Marinas , Hector Martin , "linux-kernel@vger.kernel.org" , Marc Zyngier , Will Deacon , Linux ARM , Stan Skowronek Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel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