Message ID | 20230303133647.845095-6-sunilvl@ventanamicro.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp412122wrd; Fri, 3 Mar 2023 05:38:40 -0800 (PST) X-Google-Smtp-Source: AK7set8B3jw+12OPl6k/XZRWvaO/eqH/Et/1OViFvFdupH6AskK3SwQb+55RY8jsjyyiKQO0MXOY X-Received: by 2002:a17:90b:4c50:b0:236:73e8:f53 with SMTP id np16-20020a17090b4c5000b0023673e80f53mr5882105pjb.19.1677850720390; Fri, 03 Mar 2023 05:38:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677850720; cv=none; d=google.com; s=arc-20160816; b=seqgYvLrqxTH44tWIrDL4KPgdtM0a4+b9hB7IpuLaWpqrl+jChdIx1ygHixjYm8Y/3 K+u5k9LFazyL2Otluas1wVM9hrU8JPa2J67mHI7r43Qe3l/gEViR0cj3SK9q+2dP7yAN 7sWIhXNbv8Abtc3CFAdnMHN96F+sdGI44aEnG7gX9rsUoncOzxJ2jiWnPABP/g18s+Jw rPy95eLZEwzN7Z3ve/hT+kYc4I0CLiA+4d49sdQGouUT1gKTyp1UsvAxnyELs24UoYhC Hm04awIvJm2m1YY/DN3aN2+3IWdcgVeNV5zpbk1Ycos3fiGRnsVKr4z4w37nfPaWeQ4j CHoQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=g9sxg5LZ/1sJSiDItv56ESM72UWoohRRXZed1vK0StQ=; b=KlCSrPOPPsQajVV4m1mHRjsv3IGdlG9bs3GXVr1tbvyuRx/Zj9uPrv+kiy1VxBpz/g Xq7VJEBo+2Tj/JwvKPzMM81pghi0Xo75XcaIDZs346+SIiSVyZxi5miW0IrxIjEdc2QG aAnsFuod8wDphn4wBGHM2RJIV0zlB2nrK4DV0kFSdklKz36HVC12sPHWPUbc8AUEcqPi FFhK8b5tcgeHeTmNkM8gDVkHEkFWPkUtr53QcNz99V/kFho2vEZpt6EcLsG4tRtMySPN YskON8Yezp37LGLwbt0MM0UR1vLE/wSeQJVGd/WROJVRitvMkvCncKfPJCV8VF+1pJbU 6vIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=Zsc6LaeJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id me6-20020a17090b17c600b0023a30502979si2584862pjb.155.2023.03.03.05.38.26; Fri, 03 Mar 2023 05:38:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=Zsc6LaeJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231299AbjCCNhx (ORCPT <rfc822;davidbtadokoro@gmail.com> + 99 others); Fri, 3 Mar 2023 08:37:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231248AbjCCNhd (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 3 Mar 2023 08:37:33 -0500 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3868E4393D for <linux-kernel@vger.kernel.org>; Fri, 3 Mar 2023 05:37:20 -0800 (PST) Received: by mail-pl1-x62a.google.com with SMTP id y11so2700873plg.1 for <linux-kernel@vger.kernel.org>; Fri, 03 Mar 2023 05:37:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1677850640; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=g9sxg5LZ/1sJSiDItv56ESM72UWoohRRXZed1vK0StQ=; b=Zsc6LaeJTpGX1sgtByVE6O8d9udmKb3fR8oUsq0FNYih6Tsi4uKgSRk6XDvsBjOfbl 1KTWbpwaFjpI21q3iRGZkju0DVreKkZJb5upDlXkI5pllv+9x5Hq7n7Zaol2tB6zq5El zE7YMzWWP8RP8qm7jM/VyT4r+BHa1khQw75ZNQ+RCFrXbe9POTWcDU31NAc6erzEcWWp iXD/utPdJrbpDyEWHIy3hEvtWAnybAALp0Di7/6PkNLP0Kv4NpxQEz41nUnD9jHjZ7lB ynYP6TOiOHbSCvvXMA4pBxnLBS0SqnPSPI5mcnsUgiR9U0N8YmEuuWMQ5J/sNa6nt/Pe G+Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677850640; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=g9sxg5LZ/1sJSiDItv56ESM72UWoohRRXZed1vK0StQ=; b=SX4sqLh7A8CiNQnoxgkbk4MUPvRiPSdXQBkSGu19okVgxXMSTv6s5k7EKdJnI2UAcv ualpHXwI2hS4dKCWHpX7GrRMw32vUO89rQyWIbyAe0XtTnK63MYxxax/rv0+0Q6BMVNl OKR24DyTqwqCRY5kjVOQ3ewSXBLkkoDgSYdpHqgsQ183ktAnM58GkZHjDnCJhlJ6+Le2 Yn+TkbTVzINVmIU1ZEBpFBuMMTWw/ZXbg+mc/MLHkCqAIu5H18SvaxbPIqqeYAXzmYA0 JOFXA45RH+h2K06pHt098zrzSGVMxv4LUqgRw7b6RbATVDiWb6NGfFgIr/14yaKuGYY5 x3NQ== X-Gm-Message-State: AO0yUKXAZP7/WX2ZWJ+iF+LDBhu7BqXtZoKvJHpIaa1VeFGvkS3vA0K4 huKUSSQW4fZinJQPivTcHIlvqA== X-Received: by 2002:a17:902:e80a:b0:19d:243:d5d3 with SMTP id u10-20020a170902e80a00b0019d0243d5d3mr1978853plg.33.1677850639872; Fri, 03 Mar 2023 05:37:19 -0800 (PST) Received: from localhost.localdomain ([49.206.14.226]) by smtp.gmail.com with ESMTPSA id m9-20020a170902768900b0019ac5d3ee9dsm1533125pll.157.2023.03.03.05.37.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 05:37:19 -0800 (PST) From: Sunil V L <sunilvl@ventanamicro.com> To: linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Cc: Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, "Rafael J . Wysocki" <rafael@kernel.org>, Len Brown <lenb@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Marc Zyngier <maz@kernel.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Jonathan Corbet <corbet@lwn.net>, Anup Patel <apatel@ventanamicro.com>, Andrew Jones <ajones@ventanamicro.com>, Atish Patra <atishp@rivosinc.com>, 'Conor Dooley ' <conor.dooley@microchip.com>, Sunil V L <sunilvl@ventanamicro.com>, "Rafael J . Wysocki" <rafael.j.wysocki@intel.com> Subject: [PATCH V3 05/20] ACPI: OSL: Make should_use_kmap() 0 for RISC-V Date: Fri, 3 Mar 2023 19:06:32 +0530 Message-Id: <20230303133647.845095-6-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230303133647.845095-1-sunilvl@ventanamicro.com> References: <20230303133647.845095-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759353996847644728?= X-GMAIL-MSGID: =?utf-8?q?1759353996847644728?= |
Series |
Add basic ACPI support for RISC-V
|
|
Commit Message
Sunil V L
March 3, 2023, 1:36 p.m. UTC
Without this, if the tables are larger than 4K, acpi_map() will fail. Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> --- drivers/acpi/osl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 3269a888fb7a..f725813d0cce 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -276,7 +276,7 @@ acpi_map_lookup_virt(void __iomem *virt, acpi_size size) return NULL; } -#if defined(CONFIG_IA64) || defined(CONFIG_ARM64) +#if defined(CONFIG_IA64) || defined(CONFIG_ARM64) || defined(CONFIG_RISCV) /* ioremap will take care of cache attributes */ #define should_use_kmap(pfn) 0 #else