Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3356253pxj; Tue, 1 Jun 2021 03:29:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyaLJ/tHl/+SIh5SobBUJneZp+S5nzOpsbTGpwf3Nnm62Eqgxj0lhh6y34B6iKuxwKfz/X4 X-Received: by 2002:a05:6402:3587:: with SMTP id y7mr30604509edc.360.1622543386830; Tue, 01 Jun 2021 03:29:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622543386; cv=none; d=google.com; s=arc-20160816; b=y9WXB1ks9NjR/bTOBuuPKngnJ+dud0fpX4vUh/8aYvJMXUAh+ADwwCGN7EIOWPQe+K AfD18SFIIEiNrvSp+6uG99isJ7WGwlO3IvQDVmC6CYPwx1xvo6RkBGhuSrYSXRmh6TH7 wYH5Mj7BwlKXL1nru5T1uMt0z88wNtEjLORFhdtM3GKwyGxFnvhbMxW5GCpSiSb47RgY 6OxG+vAqI12FS2jiAqstVxQKj2czrgJeKnAiOyDdtB3WHEa6fkRXndBPkpbPnpiXm0Ct GAU5wOfVnA0RjY5bhhDlrO8nD0Sv+45UDssWVa9Y7L+Zqn8xFdavoyL9Rc5nktkN79jq xjPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=HtWRO+MEe4xlAO9ffZ6hrVZex4TXe1FHBG1j5jr92tc=; b=bRk2UPr5v2Gyt00QKr8/WWEvlKP5QsffvGjCUX0nIzCM2AexuetRoMWSnHcMlOtdgR hujzQGyaClHOvitNkiZq8gDtTkV3HtRzf7ub0TCPsYh4cRlH6XZLU/UvF8/R/JjM7StW mP/saH5WlPBbM7o7Hrl20eLfiKISmzmcSWVTZE8vCvfXdmM/ytZR2MntMk6ahVoVT0bJ FInUr5VKJKVHOAAKk0gYxiHLqw82qIw2FPxnrrkM1mn56Jge4RZ6Cy4kWqK4cvFXux2p Ze4o6DJ5irmV1OV9IubJKxAGTI+V8bEalV8KvOTKjzlby5ynsVlsd2RdCo8+C017/UrW Lp8g== 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 d4si15465511eja.217.2021.06.01.03.29.24; Tue, 01 Jun 2021 03:29:46 -0700 (PDT) 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 S232546AbhFAK1S (ORCPT + 99 others); Tue, 1 Jun 2021 06:27:18 -0400 Received: from foss.arm.com ([217.140.110.172]:46460 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231610AbhFAK1S (ORCPT ); Tue, 1 Jun 2021 06:27:18 -0400 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 1164311FB; Tue, 1 Jun 2021 03:25:37 -0700 (PDT) Received: from e113632-lin (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 269123F73D; Tue, 1 Jun 2021 03:25:36 -0700 (PDT) From: Valentin Schneider To: Marc Zyngier Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Thomas Gleixner , Lorenzo Pieralisi , Vincenzo Frascino Subject: Re: [RFC PATCH v2 08/10] irqchip/gic-v3-its: Use irq_chip_ack_parent() In-Reply-To: <87y2c0s748.wl-maz@kernel.org> References: <20210525173255.620606-1-valentin.schneider@arm.com> <20210525173255.620606-9-valentin.schneider@arm.com> <87y2c0s748.wl-maz@kernel.org> Date: Tue, 01 Jun 2021 11:25:33 +0100 Message-ID: <87r1hlg9uq.mognet@arm.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/05/21 13:17, Marc Zyngier wrote: > On Tue, 25 May 2021 18:32:53 +0100, > Valentin Schneider wrote: >> o make irq_chip_ack_parent() the default chip->irq_ack() via >> MSI_FLAG_USE_DEF_CHIP_OPS. > > Seem like a reasonable approach: how about a custom irq_ack() callback > that iterates over the hierarchy until it finds an a non-NULL entry? > Flows that don't use ack won't be impacted, users that need ack will > provide one if they want, and the default will do something slightly > slower, but at least unsurprising. > Sounds about right! >> XXX: what about pMSI and fMSI ? > > Same thing. They are just bus-specific domains on top of the ITS > domain, and must follow the same convention. > > However, this patch is perfectly acceptable to me (as long as you take > care of platform and fsl -MSI). > Noted. > Thanks, > > M. > > -- > Without deviation from the norm, progress is not possible.