Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1398481pxb; Fri, 21 Jan 2022 17:39:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJyfTHnZ+EEjGcgcCPfivZomwsFcW4OmIv2RO5bbHS+iD+pu+O+OZZux7n5k3S7nxZN2TuYs X-Received: by 2002:a17:902:ec83:b0:14a:3c28:6820 with SMTP id x3-20020a170902ec8300b0014a3c286820mr6120406plg.43.1642815578340; Fri, 21 Jan 2022 17:39:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642815578; cv=none; d=google.com; s=arc-20160816; b=c12Es4gCuhVvFjJ2i45L7j6wvblpbDT7Nt4+nTjr4d9Xbmpf2+CRBHgwrL26VK17io +4I6aKn29ecV8tJ715qKI9TgjcVOGWVkgVKQUulwRoXVxoMYxH+b9vpB6Yv24T6n+wb8 Q3RAxAmt4iYE/5WnJ1yyfEu08X2oYssHs27vcOI3CQtW/E90nDAdN9SUoJEvmPj17G6r 5JXlq/2DN1/Fz573twe6oWzTiyrefQStrIlhmUeWho79pfX/QTANez9AdaiWmchOz7oQ 1MjvZ3Jq/EQGxltGhrAk5SoycGeXjcHx05wPE1iXL+Cq0ihxpeD+YMUfoG3vkz8xUIx4 Kjmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=9LTBp5vkY79duEpNu6aTdNwyNfzwBSGPXSUUTrcyFG4=; b=sQymzpNapw5psPIcI6bAT9KVyBSPdqG/B51n8jMITtMjRbD+ogGbXvFLGUCcWxEULv ftnI9oF7p17ZlNUW7gRyvB/HNDT/eQfXCEvojO9O2HUVyCmN1BjgUU5HMb+V3eBFzuY6 LHuux+EJxYNGhg/nsAWtKzChA7ICxe3+M0994gqdW19RcEFY//VDzw8QLcXraVpCQpfL dgoVdXebZ97Zu/5Peh4xjeTUMRnFEXGj1u6tCtOAguGWJwnF6mtSQW7IJgJsQCANP94K FLhL+nRhFEUbz0fCEGbrMcKCMxHQcWp+WLS6p38PDM+NNHdENZnfv1WfQjb0YKwSAEw/ S8iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=F4JVFEjg; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v2si8005998plg.530.2022.01.21.17.39.27; Fri, 21 Jan 2022 17:39:38 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=F4JVFEjg; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380808AbiAUOBg (ORCPT + 99 others); Fri, 21 Jan 2022 09:01:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350404AbiAUOBe (ORCPT ); Fri, 21 Jan 2022 09:01:34 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B847DC061574; Fri, 21 Jan 2022 06:01:33 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id a18so43027442edj.7; Fri, 21 Jan 2022 06:01:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9LTBp5vkY79duEpNu6aTdNwyNfzwBSGPXSUUTrcyFG4=; b=F4JVFEjginla84nSrVB5uLEpIThaFDl+gxjJZP32sGhdXxF0CJ0zBG29I4Pfg7QO/2 AhC02R1HSQVVhAAvzpR8X/IZxL22pEba5A+HRJ3L6oCFcv/khgsGTvdXZ+b3dbBlvOYF EcQVUfKvxJGtbRBze/jzV9xjPoWoHYp41nghMF/jt6/nhpZ+3b87rr38gAtSJ4f5B+PU 15R/gli/wB4At9nacP5l533FDvnseTYLVchxBjGvI5MKEPy+EpMXIVf3M/jy9kMYYETq nQfx1GKb3WBGnkPXg85sy7irQGVXf2izbquIGulEa2XzgpjSwbxHKNatbWUchNQQhwES reLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9LTBp5vkY79duEpNu6aTdNwyNfzwBSGPXSUUTrcyFG4=; b=2bmxfFjuTvYqwojtFo97G4pYBm3/Y//9ruS1EZusf2u2RgZDPm32a6PZWwdyf23C/e +biw+kcIqzOydIGLLmjTADKUkzxJpfc2gx234bCxpUXVFrkAx9GG3lktm5Lc3h8kih1t oHV+wF1eMseiKqPkspZcj2RqFvcX9viBLcsFJ4iJKB3FnijINUGVVLLdo96qD/04z6wv GV9ggaq0VP7RwC6c3X2R2ln0BfMSPBi+jlDYVZgN3CB3F3Ll5/QwiAVN045CGIhmIMLv 070s7/71va737uJ/Gu5SY2qYARefY2VDATYm38RRwa9Y2NBKqpuJ9JhYZErLODREWq5i qshQ== X-Gm-Message-State: AOAM532rhfSi/kh0lF87J2/GJqrEwtQWy1cpnpjFFM3McWhrHWcbNXsi 04RdPxJ6CI4pLSVpKa/1pmFlc3Z7+rKDIrq2DBU= X-Received: by 2002:aa7:c0c9:: with SMTP id j9mr4307547edp.270.1642773692183; Fri, 21 Jan 2022 06:01:32 -0800 (PST) MIME-Version: 1.0 References: <1642686255-25951-1-git-send-email-akhilrajeev@nvidia.com> <1642686255-25951-3-git-send-email-akhilrajeev@nvidia.com> In-Reply-To: From: Andy Shevchenko Date: Fri, 21 Jan 2022 16:00:56 +0200 Message-ID: Subject: Re: [PATCH v3 2/3] docs: firmware-guide: ACPI: Add named interrupt doc To: Akhil R Cc: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Christian Koenig , Dmitry Osipenko , Greg Kroah-Hartman , Jonathan Hunter , Laxman Dewangan , Len Brown , ACPI Devel Maling List , linux-i2c , Linux Kernel Mailing List , linux-tegra , "Rafael J. Wysocki" , Sumit Semwal , Thierry Reding , Wolfram Sang Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 21, 2022 at 2:50 PM Akhil R wrote: > > > > Added details and example for named interrupts in the ACPI table. > > > > Added details and example for --> Add a detailed example of the > > > > ... > > > > > + Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) { > > > + 0x20, > > > > I would think of splitting this to two separate entries in between of which the > > GpioInt() resource is provided. It will explicitly show that you describe the case > > only for Interrupt(). Something like > > > > Interrupt (...) { 0x20 } > > GpioInt(...) { ... } > > Interrupt (...) { 0x24 } > > > > But it's up to you. > Instead, would it be good to add a statement mentioning this explicitly. Something > like - > > The interrupt name 'default' will correspond to 0x20 in Interrupt() > resource and 'alert' to 0x24. Note that only the Interrupt() resource > is mapped and not GpioInt() or similar. > > I feel mixing these in the example would add a bit of confusion to the reader. That's why I added "up to you" in my previous reply. I also thought about the example being a bit confusing for a reader who is non-familiar with the ACPI. -- With Best Regards, Andy Shevchenko