Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp593831lqd; Wed, 24 Apr 2024 10:56:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVuTw2vC/265PGZXlcSsPvsotElC1nHcksnp9gTRCWBBDkFJchvip0um21+U0krYKryEOeaPma84PA+se1fTqWy8S7psyd5MnjbDuLQtQ== X-Google-Smtp-Source: AGHT+IElJ4B25Fk+VPdgX/g0VY4+rxkfyIO0jU4vX+069dBi8wNSCEkv2bgVhEdzW+vmEXYlP+j7 X-Received: by 2002:a05:6a00:3a27:b0:6ed:21d5:fbdb with SMTP id fj39-20020a056a003a2700b006ed21d5fbdbmr607974pfb.8.1713981362815; Wed, 24 Apr 2024 10:56:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713981362; cv=pass; d=google.com; s=arc-20160816; b=De96hLr6QWRdjYi9L3b6yDwmivH5PAyzuZAuI2fUfng73u6IrZ/FdQ0FfrTmMQNN8B Pp+CREPqRrIejSd60Zf1cBMCyQwArVvQVz7LlLktGBHFSBatpJ+k1cnN6tl7KwlWL4s4 Ga09qV2sgKQcFmzG8wMpP/mAXBHrkjyz6G/HiARbLLRihpWxUyFEZoyK0l5v3dqePcK/ kZKgtkRMmpo2pI3OZj8u+y0tUV92SW7h70OBKdB9c1kfUa5zeoJ8h4w6OgU0sOdT0cvP /10F7hxJGo0etNqzMFK5NZnLNIjv3iMt9LNs/E12q+DCO1dT3nNKR8yoK1BogQj8PoGO yleQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=R4CYpHlj8jEVfIevCJyMoADNlNhxgxYKx+hnKC/6ZHQ=; fh=1HuS9f7qZTLokDv1BgSk2cvUUSEtIrk4DbD56ULaeFY=; b=imJ4lQXGo9/HglsJOlDdTZ/F7HkVWLPZjSOWuvQlzMTclrAVDKVU6nUzwaDSrIAOt0 nptYO+m5j6K/b9c4r/i1du1lctrJKX5wzHuv1datEehOcL6DawPPHGuG/L2XWC/mdd6h afscTLtM8JbTJLKqzdWi3ubYyJPxS3/jO/NWBYgL8Nym1fq5+Fk6Yc1ZtyFl2Wla8n6/ nTbO9nT3gkL9e5dU424wcRxJYZLgQFF6bOQJ5z9gEmcMYZ3ahuy1asOvMR2M3Pw3GBHC Xx+O9iebAJyWJqIVOBIbFq++cl2PlsCjZbqt5dFq0AXDgXzhauzqsA98L33B/hMwStH+ p9AA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=o90A0dji; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-157425-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157425-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id f20-20020a056a0022d400b006ead3c1ded8si9811767pfj.11.2024.04.24.10.56.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 10:56:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157425-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=o90A0dji; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-157425-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157425-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 72C5A284699 for ; Wed, 24 Apr 2024 17:56:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F1A416D9A5; Wed, 24 Apr 2024 17:55:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="o90A0dji" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2974E16C855; Wed, 24 Apr 2024 17:55:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713981354; cv=none; b=IOitGWHCEauCEapJ3QgR7cpa6r4d6WUq5SlU/VBJ5TLBJxe3dMUAWtZCzQ5qWp/wc0X2sCJGQobijC4QDY6jnoGM4HsIaPxf0mTfEM21Jo/IG07xCJ4W+RkA1FPHJ3LJIwCMsbEGd0k1lWiJnGFNHQTwlgVJPyVWKz3ErhUqasc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713981354; c=relaxed/simple; bh=R4CYpHlj8jEVfIevCJyMoADNlNhxgxYKx+hnKC/6ZHQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=GWh5QbQceOg18/LjGMJfMmAPLs92RJNn9a0knv04ZTVSRomN2R1ncPU3orQoc3Burkqs2LLG+IcT6xUFLujR1dj9Q88R1Qg4Hx2b9cT0R4SDzOAP/dK6H/OU1Vbb+1TCs9hHYAV/esYhriih8ZLJe6Y6J1uu/gjO8W0M68Th/PU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=o90A0dji; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 237D7C2BD10; Wed, 24 Apr 2024 17:55:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713981353; bh=R4CYpHlj8jEVfIevCJyMoADNlNhxgxYKx+hnKC/6ZHQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=o90A0dji/1C/nj8o2so91Qf2gUBarrMOTde/k9C3QoyX+SPqyPj5Rl0J4CAjtDPFv ubbWx4NO7WFN5DxKr7dtMjXqL3ifQV9ZDEk9/E1heWe6mZNCR3tAkbzNz+d03g+0BC zhW5Qh+mMI/dbfxC5jak+61K8KAWmZm2QipBZDFOJaxHU3oYUnGE53WJHMqiMA8Wln CZnyVTlkM6DAQ/XVxoGGhSPFJKd5LRyybY0tP5A/QZNStYy/3YS1hDvFw4EGJg1UXu Z8G/GpZzpGRZNQ88h30w7vNI+z8rhH0gNd5Or4YxleSamM9mFDlFo1Y4rW+NQiv4rm upnSXlJDq9F+g== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: "Rafael J. Wysocki" , Sunil V L Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, acpica-devel@lists.linux.dev, Catalin Marinas , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou , "Rafael J . Wysocki" , Len Brown , Bjorn Helgaas , Anup Patel , Thomas Gleixner , Samuel Holland , Robert Moore , Haibo1 Xu , Conor Dooley , Andrew Jones , Atish Kumar Patra , Andrei Warkentin , Marc Zyngier Subject: Re: [RFC PATCH v4 00/20] RISC-V: ACPI: Add external interrupt controller support In-Reply-To: References: <20240415170113.662318-1-sunilvl@ventanamicro.com> Date: Wed, 24 Apr 2024 19:55:50 +0200 Message-ID: <871q6uir15.fsf@all.your.base.are.belong.to.us> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "Rafael J. Wysocki" writes: > On Mon, Apr 15, 2024 at 7:01=E2=80=AFPM Sunil V L wrote: >> >> This series adds support for the below ECR approved by ASWG. >> 1) MADT - https://drive.google.com/file/d/1oMGPyOD58JaPgMl1pKasT-VKsIKia= 7zR/view?usp=3Dsharing >> >> The series primarily enables irqchip drivers for RISC-V ACPI based >> platforms. >> >> The series can be broadly categorized like below. >> >> 1) PCI ACPI related functions are migrated from arm64 to common file so >> that we don't need to duplicate them for RISC-V. >> >> 2) Added support for re-ordering the probe of interrupt controllers when >> IRQCHIP_ACPI_DECLARE is used. >> >> 3) To ensure probe order between interrupt controllers and devices, >> implicit dependency is created similar to when _DEP is present. >> >> 4) When PNP devices like Generic 16550A UART, have the dependency on the >> interrupt controller, they will not be added to PNP data structures. So, >> added second phase of pnpacpi_init to handle this. >> >> 5) ACPI support added in RISC-V interrupt controller drivers. >> >> This series is still kept as RFC to seek feedback on above design >> changes. Looking forward for the feedback! > > I've looked at the patches and I don't see anything deeply concerning > in them from the ACPI core code perspective. > > The changes look reasonably straightforward to me. Sunil, given Rafael's input, it sounds like it's time for a patch proper. This is really the missing piece to make ACPI usable on RISC-V! Thanks for the nice work! Bj=C3=B6rn FWIW, Tested-by: Bj=C3=B6rn T=C3=B6pel