Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp455645lqj; Sun, 2 Jun 2024 06:24:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWOESxOt+E/x9ram+af7jaMcXcy+1qpKAaFDiPhR3kqy90rkYIxPDi8oud9RyNSLzc74R3X5lSAP73DS1D960B69VBppbkTKQTekGB2Fg== X-Google-Smtp-Source: AGHT+IE03RJUHrtiwuRy3CKoGWApklV7XCgfnjRv6ujSTChumRspl2clG1jFXTUtekuPK8vlxMMz X-Received: by 2002:a05:6a21:19c:b0:1af:a35b:a34f with SMTP id adf61e73a8af0-1b26f13781bmr7704497637.25.1717334648324; Sun, 02 Jun 2024 06:24:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717334648; cv=pass; d=google.com; s=arc-20160816; b=IRvGMm2nGhTDOMSabsrWKPsQNpamOEnbWh9XS81sAzI/8vgMQAJTp8YfEKWLM1wDnW kbaH12YSydftKtpM+/hSLM4+q/Pm78ksmijBD0nIrbjMzin/i973PvBBgcKcZ1U+OF9/ 38idFRPCnUmDmcWd3Vb84/xGh2l7pXcpH7N7i4GJz6YT2mXnCBajEd37YP2VTutimt7c /rw1CzWRu/+dOoED/6YofL6oKuUKc9VV7u6NZWqw409c5ROo2yZMBlfFPXVt4zFg1nZQ ge1Wlk/nbx8EPzK15CJT0jkgzWFzJunatsoASGWZNWSqs40s3s+Q9ymzJqEt6BrwKNVr WNKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=kLqzVjLrq6hxp+JDJpVf8tQoG9jZMYyGVDIn8oS4rLg=; fh=dPLu+7JjIAJsMVydz5DDQYzkLDxxYQyZWLHg1VhD6zQ=; b=jajHLhhbvIfZHd2QWE3OdjFgpK5zmMHauH5sUrV3ToyS5MrHfHD3DJt6wfhrikMvqz 5icUmlb38m9BJNU7UhtxPad4mTnUDwjiotOw5sDe5veNAI+0kE2hvE19GHdfpQx7eAcW rAM9VnQChvou7AVGqFLsJnU/sBuHSZSPZIZnycnWZRTA6IPfR+du2XSdGtexBzmD2hmV yQo19VECuMPPeJTc1yRIqCRN19mMOD58E0giAW9H9TrDeg004yBPmLIOcmN1pb+nZZWb f1NyidER4wH+OSOG4xvhmdgwBUn7F7571Z8UN+5YeLIK1f1hgJF7kewQHl0ofVd3edL2 +C5w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eAZJ1R3W; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-198258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198258-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c359e09ebasi4891011a12.273.2024.06.02.06.24.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 06:24:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eAZJ1R3W; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-198258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198258-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 1A197B209B9 for ; Sun, 2 Jun 2024 13:24:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C1C553D387; Sun, 2 Jun 2024 13:23:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eAZJ1R3W" Received: from mail-vk1-f173.google.com (mail-vk1-f173.google.com [209.85.221.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A768B3C0D; Sun, 2 Jun 2024 13:23:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717334639; cv=none; b=KyKbJUe5jvD7rvfyId/MeK7wkmQOMhztMMMjUBcCddPMQlSP0FNm91v7pqSX89NrWTnTT4PN7l/hrrCWdZcBNc33SP1xTJBp8H/CGxRPS1NVmls5IWHCZYrgiTQR+VusSAH3pLmT0blgubpN9REpY+7a59PVUsDFyti1c+ekkcs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717334639; c=relaxed/simple; bh=ph9RRZ9fJodzXeGXNZy1+uDuFKkDxa+ngjNPyvjGTPk=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Cc+M8bom8wZHcEdwTFPqApELG0Xs1HKEAlYXNibRQV19wPrHuybGWlg+6vB04UcPwCe0VAw0RqW/CatX7GqOE4QP9j+YS8n4Dhg1oEAIj6F/mMRCmyU3ZgqkUoM8nCn7xDRQ+b9lWZDEE1ZxnVsY7UBBTWuP5kFMT58rBdsOp44= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eAZJ1R3W; arc=none smtp.client-ip=209.85.221.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vk1-f173.google.com with SMTP id 71dfb90a1353d-4e93a260becso1405685e0c.1; Sun, 02 Jun 2024 06:23:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717334636; x=1717939436; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=kLqzVjLrq6hxp+JDJpVf8tQoG9jZMYyGVDIn8oS4rLg=; b=eAZJ1R3WrOGewNqSWAbtVCnTWkWn/hvqYvYbHKQnaSHJP/KrUWJ2UfPErMJyg68T/l hekM05M5JAGwa2V7ictHoXsmoCJq9WdUntnGU2peX9nE5x9R/e62W5tk6uXGuY032CVg g8wbOBSfq5uYPMJAO7u1UbbHoZw/o+5hk+9zoEjpzxBwxDOBHOTWdYz6lHwfL/hAOjTK AEQjMzq1wfeYUftL1t+RrmA2+35ZBwt/JOlRko++0K9sad5cbI8QRBH/IiP0vQG8qcNC 2yc/Df4ltGBI0LtTYjWyRWtPIx4efMZJxaTkkLkcNMuOVHOZudklslSU4hL+4UT/MB/4 sF5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717334636; x=1717939436; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kLqzVjLrq6hxp+JDJpVf8tQoG9jZMYyGVDIn8oS4rLg=; b=YQHdRcQ17fm1h/5NiUugH/+13357BQFy1oFTkxrL/ytnnayaaB8lYRgHnaVisbbSlh ZU2jjR6Dzhwq1YOGt43M0xCswrLf4eWd6cWdv41IvV1aUDR0dj7vzG48xnOJVHVkDWbi ttlqqjD3sTnBhz2WEUxPzb6mxStnwZ6wfWYZOZhiUfSoozzB2gMFbOyAh1v8/wP4xWRE fRG4IuAk/84T6mkGgb5EBp+vnc6NxsulKnkBPHB3kfQBTh91iS7zpZwxWUWhXGbwCIzh OrGgB20Fd120qCLSOu6KewFLm2wM6vA0Tqzvwiv/aQYrUvJio5kDu9lWwEFFPPjMZTH4 ouiQ== X-Forwarded-Encrypted: i=1; AJvYcCVxuSoaTxCAiq+inwxG9T3v12XS/8fsI5JKow6gBGt1KR7X4VRv6wu6sXJEWKhItg5E31O+dnhK9JosofBJJl/YMX8QxLqpRk6hn4BeEWNxlW8ktuS2TEzCtKFxh/xNSD0s+YRqO8VQ X-Gm-Message-State: AOJu0YzCNcxzwlQfywEI5dBDe43hkaCUdWqTFtBNvV5PWZJzvztPmTEk 9cfEEyFz7de2bDczhj9HjxgzGIk4m2oSJ8WgZ51m+wxFCW55ERXTYbQRBXZWxxKp/8R7ZEuNxBo FOGv+qxHilWc+BaV47xN2bEjgwMA= X-Received: by 2002:a05:6122:380c:b0:4df:281d:905 with SMTP id 71dfb90a1353d-4eb02f37194mr6556291e0c.16.1717334636547; Sun, 02 Jun 2024 06:23:56 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240602071058.6405-1-harry.yu185@gmail.com> <86o78jlms2.wl-maz@kernel.org> In-Reply-To: <86o78jlms2.wl-maz@kernel.org> From: yu harry Date: Sun, 2 Jun 2024 21:23:43 +0800 Message-ID: Subject: Re: [PATCH] irqchip/gic-v3: Add Allwinner sunxi001 erratum workaround To: Marc Zyngier Cc: corbet@lwn.net, catalin.marinas@arm.com, will@kernel.org, tglx@linutronix.de, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Jun 2, 2024 at 5:25=E2=80=AFPM Marc Zyngier wrote: > > On Sun, 02 Jun 2024 08:10:58 +0100, > "harry.yu185" wrote: > > > > Allwinner A523 GIC600 integration does not support the > > sharability feature. So assigned Erratum ID #sunxi001 for this > > issue. > > > > That the 0x0201643b ID is not Allwinner specific and thus > > there is an extra of_machine_is_compatible() check. > > > > Note, because more than one soc may have this problem, the 'sunxi' > > name is used instead of a fixed soc name like A523. > > > > Signed-off-by: harry.yu185 > > No, this is all already handled by the driver already (since 6.6). > > Please fix your DT to include the "dma-noncoherent" property in the > GIC and ITS nodes, which should paper over the integration bug. > > Thanks, > > M. > > -- > Without deviation from the norm, progress is not possible. Thank you for your reply, the method you said may not be suitable, because this SOC also needs RDIST_FLAGS_FORCE_NON_SHAREABLE, just like RK3588, but it is different from the RK3588 version.