Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2007575rwb; Sat, 8 Oct 2022 00:09:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4WKiFTNLMj2BAgyhYjrafIrOefkLBwEQkVPkzKj9Ep2sa76HTeb6/+6P2nLt7h2xHtncce X-Received: by 2002:a17:90a:5308:b0:20b:1eae:c94e with SMTP id x8-20020a17090a530800b0020b1eaec94emr10685055pjh.88.1665212972795; Sat, 08 Oct 2022 00:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665212972; cv=none; d=google.com; s=arc-20160816; b=j6xGKxNmtdpPvS9+6HdrR1ZIlNRIwkvwoGkVuIHh1hNFiqrQmljlK2bq9QEArfPB7h GEhkX8Ol3dwiUtX7WdCmFB6zdV85D4Ug3ICPM/w88w4DrScaFqOQQ2vxbdao8J2teyc5 6D7N0VYf2ixUOHFz+kQm5cZAqJV8xWKhjiu+AnCxFQRpn/2VttZX9xr86eNEHPQnT+68 Wu7tpOUS4S6ozcSOq+lQ/R7DKg5FutGwa8AhAmsRg8WdoJFCW6lU9R5sYLWp1DV5rkGV 5ySRlXgYm5TQEvxPMvlEoFfvsjyvDcQhJHtI2eFwViHLouIePCWvtp87i7oZJJAej+Ai eJWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=adpqGEWYt2EYF3cm7tIeTzU7cA6b1uGQ3IH78Zl3NgE=; b=c3fSMUCrNQCtUwvkJqC6YnUcvZW+1mEx88L3t+YCTWy5UlJ9wMYXcrWKD2KOcfCAWs bfLhDDGOk/7ftQ5vsa3JoB/zw1cLiKn0A66cj1G7X0e24pPyBmr/Z7+s5hX/N81X926P lYj2o3+v+DsVQAmZXSGmSmSDdtgi8xg0CQqr6mGZltDYi3DjiaSoKPSNCMt8OWMQlGkI Bi+OKVA5yJVQV+JkS67Fz9CiuS0pcotJ8QRJjCj6vEqcD42tx0mGzfWREUXBo/rBqs/6 c9zVTs0DGEkIUXqVhzimyrRfx1iJ0EHV/W5YL7onKrKSzFaQ9uaZ4mEfwcja+7ITW9Im BRlQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qi16-20020a17090b275000b001fe41707a2esi10107279pjb.90.2022.10.08.00.09.19; Sat, 08 Oct 2022 00:09:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229655AbiJHHDa (ORCPT + 99 others); Sat, 8 Oct 2022 03:03:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbiJHHD2 (ORCPT ); Sat, 8 Oct 2022 03:03:28 -0400 Received: from relay05.th.seeweb.it (relay05.th.seeweb.it [IPv6:2001:4b7a:2000:18::166]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5599A7A98 for ; Sat, 8 Oct 2022 00:03:26 -0700 (PDT) Received: from [192.168.1.101] (95.49.30.201.neoplus.adsl.tpnet.pl [95.49.30.201]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 6AE3D3F265; Sat, 8 Oct 2022 09:03:24 +0200 (CEST) Message-ID: <06a1b6fa-d179-97c7-995e-91d93123a5de@somainline.org> Date: Sat, 8 Oct 2022 09:03:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH v4 2/2] irqchip/apple-aic: Add support for A7-A11 SoCs To: Marc Zyngier Cc: ~postmarketos/upstreaming@lists.sr.ht, asahi@lists.linux.dev, Hector Martin , Sven Peter , Alyssa Rosenzweig , martin.botka@somainline.org, angelogioacchino.delregno@somainline.org, marijn.suijten@somainline.org, jamipkettunen@somainline.org, Thomas Gleixner , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20221007200022.22844-1-konrad.dybcio@somainline.org> <20221007200022.22844-3-konrad.dybcio@somainline.org> <37c075fc9aa9624d65b8fdda3cb5ae96@kernel.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <37c075fc9aa9624d65b8fdda3cb5ae96@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8.10.2022 01:17, Marc Zyngier wrote: > On 2022-10-07 21:00, Konrad Dybcio wrote: >> Add support for A7-A11 SoCs by if-ing out some features only present >> on A11 & newer (implementation-defined IPI & UNCORE registers). >> >> Also, annotate IPI regs support in the aic struct so that the driver >> can tell whether the SoC supports these, as they are written to, >> even if fast IPI is disabled. This in turn causes a crash on older >> platforms, as the implemention-defined registers either do >> something else or are not supposed to be touched - definitely not a >> NOP though. >> >> Signed-off-by: Konrad Dybcio >> --- >> Changes since v3: >> - Replace use_fast_ipi with has_uncore_ipi_regs in aic_init_cpu >> (logic error, this was written to regardless of FIPI usage before, >> but touching Sn_... regs on SoCs that don't explicitly use them for >> IPIs makes them sepuku..) >> - Drop A11 compatible >> >>  drivers/irqchip/irq-apple-aic.c | 47 ++++++++++++++++++++++----------- >>  1 file changed, 32 insertions(+), 15 deletions(-) > > Since you cannot be bothered to read the review comments on > the previous versions of this series, I'll do the same with > these patches. Feel free to stop Cc-ing me. > >         M. I'm sorry, I'm working on a lot of stuff right now and I was almost sure your email only concerned adding a cover letter and affirming the discussion on the fallback compatible, so I did not go through it again - but that was obviously incorrect. If you don't mind, I can respin another version of this patchset, addressing your comments. Konrad