Message ID | 20231016164958.1191529-1-sunilvl@ventanamicro.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3601381vqb; Mon, 16 Oct 2023 10:04:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IELRnF5ZoscoZ8BwZDygHGmLVVBBqO4Fujvqs1R4LBqHkB/+F9DZV6fR0HzW3SbjEQnn1PV X-Received: by 2002:a17:902:e042:b0:1ca:1ce1:bfac with SMTP id x2-20020a170902e04200b001ca1ce1bfacmr8208770plx.1.1697475894243; Mon, 16 Oct 2023 10:04:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697475894; cv=none; d=google.com; s=arc-20160816; b=sh61gNQIenTCK5qNdE4rZlo1pw0TwCx+Z/dC5ig0ICTJA0OcJcAop3xpTd3BeQKPYe TQ6i2tqZhFtBEOB2n7VWGLRuN9GBRarBRSKrYjR9vMoGoAQ6y0A/xkayobip7rrNF5qf yky26yS/BVLR3n3wf7OIq81vmPDUrg3ZiXWvRzHWPu5T3UMuUvXGOS9tgAyd//dyoYr8 Eg8V9cgTiOzm75gza9WbryU5XSMKF3NMJjbb3qlwdVPnG4kSS9uXrtmrs7rniH/gL2OG 6HN0LmtB3QH6uFwBva02UT9UhB9WkoXQvZzuGSkush2tIQcY2Qsn+zrRUfSu0uX/wRJ9 7RnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=nj4mUrtXg+jVZ5VMP/KIsH/QVzXK0fH/Er20bgBIeBo=; fh=GSUzFmVoxnIYRJr2qxP5oVP2HvI7gxdu+Sv/xWUv4xo=; b=SzbBPvJ10RSY91jxN1VonnwYMeGCvSt8Jgqg+YtTZMX+tr8wlEKVHx+RgaN7WmTRL0 l1gfH86Y1vb3Sqivxl8Yn0YMo0lCTQidRQ3t+upwSO3T3Mh6FwcNcv+rd2rVS9bjJhV3 013TF/NaYGaYcFkb1jg+cAH2gBzJRvaxktW+aLlwuLpAcQsVPg8z0NpvPUBBgNPkQCUk AJxbQh7aciRkHWExHD2sooHhLDOFdX+EF6GQ9H0+hwfDOQ8jptS84/SZ/iO76oo7Vwfn rdXX/Mnx9quqBbNghsEoqJmUDRrIjszWRq5agQYY8Bjn4ytxBjghDL7w6kIreSnY1NFC UnHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=Sm8py3Yd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id k1-20020a170902c40100b001ab29e00303si12249255plk.426.2023.10.16.10.04.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 10:04:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=Sm8py3Yd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 45DD1802D17C; Mon, 16 Oct 2023 10:04:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232936AbjJPREV (ORCPT <rfc822;hjfbswb@gmail.com> + 18 others); Mon, 16 Oct 2023 13:04:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234755AbjJPREC (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 16 Oct 2023 13:04:02 -0400 Received: from mail-oo1-xc31.google.com (mail-oo1-xc31.google.com [IPv6:2607:f8b0:4864:20::c31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 963B835DD for <linux-kernel@vger.kernel.org>; Mon, 16 Oct 2023 09:50:07 -0700 (PDT) Received: by mail-oo1-xc31.google.com with SMTP id 006d021491bc7-57bc2c2f13dso2731728eaf.2 for <linux-kernel@vger.kernel.org>; Mon, 16 Oct 2023 09:50:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1697475007; x=1698079807; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=nj4mUrtXg+jVZ5VMP/KIsH/QVzXK0fH/Er20bgBIeBo=; b=Sm8py3YdeZ4DE4sj4eXMg12/Bm7rzDdAxPAMfc9m+6yP6sqVgpg8MtsUpe4ysMye88 aL/nZeV9gqmgPCLOsqXjNfeOCLWTx7+CP0A9rwre84WA6jHMEnp9qmRmVig3cwvZyhM5 13p0DvHtW7kyYOQDOazeoj2TntccFw49PqdfrqFZIR9MxrBX+2MMyE9atajNGgevh5o5 6XYmIRBUfSMOt5PMFmkiSD/YSuMnxciBzxCywxkmlxbWEySguYffQUQIS1YSvFaYWvKz u2eYMEpYWfIbwfXD87546Z3js8M+kwEGi2Diu+5VWYvis0MiBPzvzdhChO7JJDTWjoRq bRRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697475007; x=1698079807; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nj4mUrtXg+jVZ5VMP/KIsH/QVzXK0fH/Er20bgBIeBo=; b=fHviqsW81/n+OC48Ykcdb5bQi+CZQ+v33kSqz3Hu2l/IorA+6UyGy1p69Gn5frnLdk PAOwv0dpM0fK2H58E/G9rFFoaJkrFkSWBJkm+YBILIA/fkoEfI6hgBlH6Yqg4wF2FnpS lyZaCvJ83J22+0qx7uWGYFsTVEcZpVb1/aU58W8fxPjW+Q7SqE86qSw1uL3aHSE+c/QY EwsXQPUbACzIrsxMjVfD5Qh9qUbuufxDCAqZQg8+0VMTAY51ABdi8kK5rojzLU9um0Ed yLqQzkbkfzTr9izGLaC79BL8o1wrvguBNsidLmEukDWwnrRUjtPLTW0yawklRwxsLNnn mjEg== X-Gm-Message-State: AOJu0YxbK5AgbbF4yz8BeJ3KXYr0cvX6VacyE2EvYut4R80snfMQtBLl AcHvDznxVLVxbp1OIWM+n1SSNg== X-Received: by 2002:a05:6358:9691:b0:164:8742:525 with SMTP id o17-20020a056358969100b0016487420525mr33127726rwa.17.1697475006528; Mon, 16 Oct 2023 09:50:06 -0700 (PDT) Received: from sunil-pc.Dlink ([106.51.188.78]) by smtp.gmail.com with ESMTPSA id t21-20020a056a0021d500b006b1e8f17b85sm111252pfj.201.2023.10.16.09.50.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 09:50:05 -0700 (PDT) From: Sunil V L <sunilvl@ventanamicro.com> To: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Cc: Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, "Rafael J . Wysocki" <rafael@kernel.org>, Len Brown <lenb@kernel.org>, Andrew Jones <ajones@ventanamicro.com>, Conor Dooley <conor.dooley@microchip.com>, Anup Patel <apatel@ventanamicro.com>, Ard Biesheuvel <ardb@kernel.org>, Atish Kumar Patra <atishp@rivosinc.com>, Sunil V L <sunilvl@ventanamicro.com> Subject: [PATCH v3 -next 0/3] RISC-V: ACPI improvements Date: Mon, 16 Oct 2023 22:19:55 +0530 Message-Id: <20231016164958.1191529-1-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 16 Oct 2023 10:04:51 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779932483201041087 X-GMAIL-MSGID: 1779932483201041087 |
Series | RISC-V: ACPI improvements | |
Message
Sunil V L
Oct. 16, 2023, 4:49 p.m. UTC
This series is a set of patches which were originally part of RFC v1 series [1] to add ACPI support in RISC-V interrupt controllers. Since these patches are independent of the interrupt controllers, creating this new series which helps to merge instead of waiting for big series. This set of patches primarily adds support below ECR [2] which is approved by the ASWG and adds below features. - Get CBO block sizes from RHCT on ACPI based systems. Additionally, the series contains a patch to improve acpi_os_ioremap(). [1] - https://lore.kernel.org/lkml/20230803175202.3173957-1-sunilvl@ventanamicro.com/ [2] - https://drive.google.com/file/d/1sKbOa8m1UZw1JkquZYe3F1zQBN1xXsaf/view?usp=sharing Changes since v2: 1) Modified acpi_get_cbo_block_size() not to take cpu parameter but follow same pattern as DT (Feedback from Samuel and Drew) 2) Dropped timer patch from the series since it is already applied. 3) Selected ARCH_KEEP_MEMBLOCK only if ACPI (Feedback from Alex). 4) Added RB tags received so far except RHCT patch which has changed quite significantly from previous version. Changes since RFC v1: 1) Separated the patches from interrupt controller support series. 2) Addressed feedback from Andy and Drew. 3) Rebased to Palmer's for-next tree. 4) Added RB tags received on RFC v1. Sunil V L (3): RISC-V: ACPI: Enhance acpi_os_ioremap with MMIO remapping RISC-V: ACPI: RHCT: Add function to get CBO block sizes RISC-V: cacheflush: Initialize CBO variables on ACPI systems arch/riscv/Kconfig | 1 + arch/riscv/include/asm/acpi.h | 6 +++ arch/riscv/kernel/acpi.c | 87 +++++++++++++++++++++++++++++++- arch/riscv/mm/cacheflush.c | 25 +++++++--- drivers/acpi/riscv/rhct.c | 93 +++++++++++++++++++++++++++++++++++ 5 files changed, 204 insertions(+), 8 deletions(-)