Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp50823pxb; Thu, 21 Apr 2022 16:45:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIQM8weYLrRjQkUagxFb4ke8U3VQ7PQk8jYQQPgdKkn1vY/abtDBMyKEcjPa7wxAVmuky1 X-Received: by 2002:a17:902:bf4c:b0:154:9f0f:fa42 with SMTP id u12-20020a170902bf4c00b001549f0ffa42mr1792290pls.120.1650584706879; Thu, 21 Apr 2022 16:45:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650584706; cv=none; d=google.com; s=arc-20160816; b=OUopEIPL8gXz0iGqYk96yq5meAH8mJuq4b52mumq3ZJDqRoBT7DU+ywdHdwUhLVnXP 6gEjXmuCY1lBulmWsr+3Jt401JhnwUPxrf9Z5/J+XQf83he+q3Dvzy/G3JoxTOBkoaEa 8vSaAMno+B1SctIZzwj9WUx/UDwoCYK1B0UMQkUbGVD+oxLiOnJ1yl5mPjjutCUturjQ cncusS0eutJbsKaHBtfxb+QHVKG/po91wyKjUYeil/StJ+jnjNiRLBZVcr60atQdkB6o Uhxx9xN/khBWpHdCL7ou7rFG7Z3vptg8+k7YtYYVH/Zuu4MaZOFHfjkRo9m8ebc4OWpp zzPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=p8P6IeNR1TwtrMg6RsrKfdY4Yo5Rygb5DfiPVUoKhK8=; b=vpuzsMsny7XGGHuq3v79nnyXByYpjjW3oYL9nQTCclcOQU3Q/Womu0FDQrac801BzU guhrWMpXR9+qqC6vhRa6R7+TDBhLGGQSg/CGQWy5zW1DtGaSOmnncpfa9mxB+ByE7iYA TdUvMP0OnOvCOBBII3So7S3aEdsU6GxmujctIHs+V7xLsFaO5xRjUWtAyJ0jp7Tv5NNE ADFefo+z6n67pjzthr/p2mK8+t4gkr7rS364Eot3HpiTnOWx3OqBcijvouiKAI+ET3Pb mdDq1o0w9NF0FZDaDOcPJ1QaEQ1DNntrhSWaywcPhyIVekj74k9b33nB//VztgEpODSy er/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=by0FVyX6; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mu11-20020a17090b388b00b001cba43173ebsi10308932pjb.94.2022.04.21.16.44.51; Thu, 21 Apr 2022 16:45:06 -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=@chromium.org header.s=google header.b=by0FVyX6; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350333AbiDSJZZ (ORCPT + 99 others); Tue, 19 Apr 2022 05:25:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232418AbiDSJZY (ORCPT ); Tue, 19 Apr 2022 05:25:24 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D16A92A24B for ; Tue, 19 Apr 2022 02:22:41 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id bv16so4419987wrb.9 for ; Tue, 19 Apr 2022 02:22:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=p8P6IeNR1TwtrMg6RsrKfdY4Yo5Rygb5DfiPVUoKhK8=; b=by0FVyX6p0zMcvlQP3Y+c8K8TzgSgvcE5pyCF1vetrjvKiBQtCgOwo2ZZWote70zYk o9LMkdzdoRmlCNb2amRWJGhf1KdRzvw+TmHMwSj3jdMJksgGdAr/RMXpGiMyCbL3wax2 91qaPs2u8lB9l4uXPjOarOfRvJX+DT5UFJGrw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=p8P6IeNR1TwtrMg6RsrKfdY4Yo5Rygb5DfiPVUoKhK8=; b=576a/lEcLGSvRbS7tWUKoRVCLNixeVTC83et7GqYYzOLG8HNEPahpy6gwT/k3LlLhO fhJApVHzuhNwZA0R8vyc+SloNo08FV3I4pZKy7Qn4HYok+/xw3O0f3NDn9oQvBU7M8z7 bSP1IKR6SrfzLiG30gBC0vHqgqmZ3hOHs+jN4hcsLu6AZbXtvB/HGgucJw+vGFJowuSJ e2Tq+AktvPzjX0waO9PR32pfQhFQXE16B/LNVxRrCnz7idhA3L846amWTBvtd0XRDUU9 aTbhC+QH1VmRZsdIXAIu3k7KmWauqyTb4vdC7S+Oq7xnH6ostJS3bW9chv22Pnw8iTrW jMFg== X-Gm-Message-State: AOAM532y8UZHahhNvAoNI2MOUPg2HJl7lN5mDX5PekON452LKElmC40h fO+wkjgRiL1DID8r34Wxht/K7xHjt+8a+xbHkbFQCg== X-Received: by 2002:a05:6000:18c1:b0:207:87dc:94b2 with SMTP id w1-20020a05600018c100b0020787dc94b2mr10927908wrq.437.1650360160433; Tue, 19 Apr 2022 02:22:40 -0700 (PDT) MIME-Version: 1.0 References: <1649844596-5264-1-git-send-email-quic_srivasam@quicinc.com> In-Reply-To: <1649844596-5264-1-git-send-email-quic_srivasam@quicinc.com> From: Judy Hsiao Date: Tue, 19 Apr 2022 17:22:29 +0800 Message-ID: Subject: Re: [PATCH] ASoC: qcom: lpass-platform: Update memremap flag to MEMREMAP_WC To: Srinivasa Rao Mandadapu Cc: agross@kernel.org, bjorn.andersson@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, quic_plai@quicinc.com, bgoswami@codeaurora.org, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org, quic_rohkumar@quicinc.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, swboyd@chromium.org, Venkata Prasad Potturu Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 > - buf->area = (unsigned char * __force)memremap(buf->addr, buf->bytes, MEMREMAP_WT); > + buf->area = (unsigned char * __force)memremap(buf->addr, buf->bytes, MEMREMAP_WC); Should we replace the memremap() with other standard DMA buffer allocation API like: snd_pcm_set_managed_buffer() ? Thanks! > > return 0; > } > -- > 2.7.4 >