Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp511427rwr; Thu, 27 Apr 2023 04:48:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ79PkGJ0IaF60+GkznBa4dISVvPjpjwozI7+bTmlIet2FlV3f+z7vk6ZWg06nXs/SkcPA90 X-Received: by 2002:a17:90a:1d3:b0:246:fa2b:91be with SMTP id 19-20020a17090a01d300b00246fa2b91bemr1373199pjd.3.1682596082153; Thu, 27 Apr 2023 04:48:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682596082; cv=none; d=google.com; s=arc-20160816; b=AlI35ZFw/7SxF/k535l90XMB7q/xXy1d+w334zcyDEMFyp+IYQJ8WFJFBBKet0KIXF TYp5UGpVDZD0CLynGG+Z0Zw+xlSRw234VfAaKmZBpMqLobaZ6Vy4Rdyl7ELgmyfkRqu1 nabTEAWJtJKZPbo2Xonm5OxGtpxDAwf6zRoAOYEKJisD/wB2xbweyLXYUlfhpznGRXoN S3X+EsP1nVlgjzEveKw4lFT0Pu3JY3e6sTO3T0nTdO8c+PnGIULLR8TQO41bwAhi4XGp SMd9btI2wlYJjrIyI+bkwglkakrpn30HQCZ5CvJpl+r0J1x8qpgSGKw90QHLhvKRuBoj CwXA== 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:dkim-signature; bh=6Ui4GgbNnrKZVUCUURrDUqjbgCvNNMf+qKHHdpKyr9k=; b=mMfUnwaT3NHFbR00CtS6WCKdciHaePt0EHNc9e2XlUp5r/2cQ7boV6KIE5GCwHYaay vF0pNbzgprXDWiVHxQB6KjFr+ae73lrVGuOynURCQmD+U79vOw94HB67GEVYMAGpXG9G MUhpY7JR0x8k+EeewGBXgUZplW7eH+Ai1HtjmXIq67BKhrIuIeQSrFpwePNoqpkFAzrG +jfHNC8R0AmtTPIndoxyPmenKJ8+reciiTea8cbnXNHJHMZv1SG01Ve2O/QkmH44wlNs dd4y2djfl8CxzN1Th27xfGy7X/FZxKs6/fHQ3cg6SEMeokZcFk/0OfznpKpIbm+/6TdH 15pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aJPmoZ17; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n20-20020a17090ade9400b0024673e20957si4061980pjv.35.2023.04.27.04.47.40; Thu, 27 Apr 2023 04:48:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=@kernel.org header.s=k20201202 header.b=aJPmoZ17; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243694AbjD0LZh (ORCPT + 99 others); Thu, 27 Apr 2023 07:25:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243722AbjD0LZf (ORCPT ); Thu, 27 Apr 2023 07:25:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E08A5FDB; Thu, 27 Apr 2023 04:25:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D081563BC6; Thu, 27 Apr 2023 11:25:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 904A4C433EF; Thu, 27 Apr 2023 11:25:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682594701; bh=OzHT2qTnSZ/6rYXPLMQadBazAPcPJebviyobz9E7whE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=aJPmoZ17dQ73Ug2IUwCqoxjDTxPx9zMuQsrD9UBTnRHOXJrPMnB7IJBSleExAS1IN NXYePCad8txcaRNN+9Kk/gc79S7QdE8Z1ddbQ4GvBYwaJ0P0lyZ+5wRlNHK20+YP7y PZsASASJEsd01fDIwGh6x8ImfhrftlDGDom4jBDdFm80zq8faeriS8VVnmwld1iEHr xwmqGDzFeXl8UaD5VlwsGlq/5XUD0HmybYIQo/XOc4gYG5R3yCyBeeETNPXHeKH3Ya b5iqyCc1BGcTwbwtKjk323DB8VOBBHW/u4wehct6e2PUm75ajivs3ESk8JxR2OWRyK PFM55Tzy/LI+A== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: Sunil V L Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org, linux-crypto@vger.kernel.org, platform-driver-x86@vger.kernel.org, llvm@lists.linux.dev, Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Albert Ou , Len Brown , Daniel Lezcano , Thomas Gleixner , Weili Qian , Zhou Wang , Herbert Xu , Marc Zyngier , Maximilian Luz , Hans de Goede , Mark Gross , Nathan Chancellor , Nick Desaulniers , Tom Rix , "Rafael J . Wysocki" , "David S . Miller" , "Rafael J . Wysocki" Subject: Re: [PATCH V4 05/23] ACPI: OSL: Make should_use_kmap() 0 for RISC-V In-Reply-To: References: <20230404182037.863533-1-sunilvl@ventanamicro.com> <20230404182037.863533-6-sunilvl@ventanamicro.com> <87a5yua8vb.fsf@all.your.base.are.belong.to.us> Date: Thu, 27 Apr 2023 13:24:58 +0200 Message-ID: <87leidtvn9.fsf@all.your.base.are.belong.to.us> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-crypto@vger.kernel.org Sunil V L writes: >> An observation, which can be addressed later; The acpi_os_ioremap() >> (called when the config above is enabled for RV), does not have an arch >> specific implementation for RISC-V. The generic one calls >> ioremap_cached(), which on RISC-V defaults to ioremap() -- caching >> disabled/_PAGE_IO. >> >> That is probably not what we want, but rather something similar that >> arm64 does. >> > Actually, for RISC-V acpi_os_ioremap() is currently a wrapper around > memremap(). Sure, this can be enhanced in future if required. Yeah, realized that when I continued thru the series! Thanks for clearing it up!