Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp692136pxb; Wed, 13 Apr 2022 10:12:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8vHX6FYLFJMTy6uwKQnsvEDOa2oQS03zR4LKum/9LJQFPJV2csdU0byPK2ZppoLRYxIto X-Received: by 2002:a63:f452:0:b0:382:7af1:6ad6 with SMTP id p18-20020a63f452000000b003827af16ad6mr35452022pgk.500.1649869977634; Wed, 13 Apr 2022 10:12:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649869977; cv=none; d=google.com; s=arc-20160816; b=vTqVwKxc+u5+tsg75GToocARMxiQMaJ27Wc62G463pxyTqpYTo3CmyWYw/Ni5pFb2Z ajCvuCj5aVn4wSL7mlLsnuA5FhkvFOBODHc+QH2233SEemPiMIDMEr1xaAaTCrRUW7Lm krxyyT75BP5NorCt0ZUhO2tWETrfuAbhjx5K9+9AeoHIugV/2EktkSgib/sZycAxFd3B 6Uv90EWo5bExbQW6xBAL3XGvXgqD87vitg2fYlMnI8tTDHGc0hmjSd3BTJ7/Tu5WiDbe RDl+3ar+8VeJ0/xs2UR0oGmVaLHi0TfdUEdvk+NcjxqZMBRhTvvfmXF+RMrV4bxAKuMk ZoNQ== 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:subject:cc:to:from :dkim-signature; bh=mXEo1vMbCQhz7IIKv1PA2DXOYacKulksQjxVdLQuTL8=; b=NdSUwsP8tHXvPqiyU2xUJHso8AI3DYfCXB2k/y/3C66k2Tanla19tlLSwT7OrIEHSK gcLba0BJaNWTs0FO/z37/r5FpyuTQZ2DUa+XWhZ1fmK9pwcA11BCggg6V+jcrxwwBoZq 4x6qUufQrWeJG3Dy07DWNgWK/uD6nLMx7Hn6wWOdu2p+5kCP25Z5yrIsCh9DhR+cYKbe mHjyOK6CXfyj0ARFYFy51R839X1i89EePIxaT1t739jvJR48cxG2XbNtadDfCLFUWH2D IIB827q62J7mkeFZB3Km/NwP5eyKr75J1ngPa04O7vIvTChXepoQRiWsfl4VOQaQGELK UrXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=dxuCIc2H; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z16-20020a63d010000000b003816043f0bfsi5921644pgf.692.2022.04.13.10.12.42; Wed, 13 Apr 2022 10:12:57 -0700 (PDT) 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=@quicinc.com header.s=qcdkim header.b=dxuCIc2H; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234760AbiDMKMu (ORCPT + 99 others); Wed, 13 Apr 2022 06:12:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231593AbiDMKMp (ORCPT ); Wed, 13 Apr 2022 06:12:45 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46B651FA5C; Wed, 13 Apr 2022 03:10:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1649844624; x=1681380624; h=from:to:cc:subject:date:message-id:mime-version; bh=mXEo1vMbCQhz7IIKv1PA2DXOYacKulksQjxVdLQuTL8=; b=dxuCIc2HdkPW2o+c1kKtvF1cVybbR4y8jZJ+Pk1fZmmhnA2GKalrIprk r7oFv9Vs5mRDy1LgtTYHCO13JTZCsBv1ISaTXDIvgduQIts50VLj8E0MB wZIfb8ZeOuILIwvaYigAj7EKMQ8OxyaVLHdjS3/CaNqB4RJdqoswvAjoW s=; Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 13 Apr 2022 03:10:24 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2022 03:10:23 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 13 Apr 2022 03:10:22 -0700 Received: from hu-srivasam-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 13 Apr 2022 03:10:16 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH] ASoC: qcom: lpass-platform: Update memremap flag to MEMREMAP_WC Date: Wed, 13 Apr 2022 15:39:56 +0530 Message-ID: <1649844596-5264-1-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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-kernel@vger.kernel.org Update memremap flag from MEMREMAP_WT to MEMREMAP_WC for better performance. Signed-off-by: Srinivasa Rao Mandadapu Co-developed-by: Venkata Prasad Potturu Signed-off-by: Venkata Prasad Potturu --- sound/soc/qcom/lpass-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/qcom/lpass-platform.c b/sound/soc/qcom/lpass-platform.c index a7c677f..2590d65 100644 --- a/sound/soc/qcom/lpass-platform.c +++ b/sound/soc/qcom/lpass-platform.c @@ -1160,7 +1160,7 @@ static int lpass_platform_prealloc_cdc_dma_buffer(struct snd_soc_component *comp break; } - buf->area = (unsigned char * __force)memremap(buf->addr, buf->bytes, MEMREMAP_WT); + buf->area = (unsigned char * __force)memremap(buf->addr, buf->bytes, MEMREMAP_WC); return 0; } -- 2.7.4