Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1087371pxu; Thu, 17 Dec 2020 01:40:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTWRF/iZ9ZraZQ18GT0eWhK0HktsRuuQuK6hdw9fFqvzkNtrE9SvsRvC9BxsMBqxcOfzWP X-Received: by 2002:a17:906:578e:: with SMTP id k14mr13848518ejq.90.1608198011920; Thu, 17 Dec 2020 01:40:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608198011; cv=none; d=google.com; s=arc-20160816; b=gHrDX7saXcMieKQxYGP3FMeoODfAWGgf5Qqymf+6ejJXVB0VCyDY6LiaaCU/ojI80N zo18TJwfYIZEk5eSl7ll1fgH0L8GoGCZHHqd1BJtpIX9ssYFE9y30yeEtkDjb3s3/L5x 1t+7I7/eRkG/ScmwhJ2qHHqbJD497wPdLjaDtk4DaHwfNw960BoKNy/VHLCWWuw1u6k8 yu+c0CK1h9e7AfP4Q6IuD6pE9D2cVuD0qpih4CvBAJJFS/VFi4yhsjp4GMVRUlLyeTeW duxjuBfO31ev0VGfa0JZZmcsHfU3DFsFATzeTbvucqxUFELcZBGUm48Mzj4HGH1ihsnO Sm8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date; bh=u6fghp4KNGuMv4d6IzmsfO5gpHWMH639cWEGMqF8yG8=; b=NzEA5mqedZAoUKWz6BRhpHGxNqvx3/XwoQviOnMUGpCkyBesU2PGgCR/lQbIPXs8Jg 39Mzk2O6a+tPUXY3RdqJNZ6PblEOp08pZD9hBm70xldXoM6upnsvNOSIhWusUOO8fM1j /asCJTKjnrFkVcAg1Dhv3psEyXhwhoeqfQKKAHzHa0GWmG9iQJM+ZD5CCC7+E00VZlR8 06AjwACDZdYDscC/ExEaNZNIAU1KRGdftsOAd1Y0hE6n4H/7J0pcaFb4moo4W8q4bVIw akxEwYGTls+Y8SYmq1SJbcMHYCBb8lHIa1QMO9cbLXmVQXQSKIWlaURtcSz7LgM9qIda 0pLw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b1si3944704edy.429.2020.12.17.01.39.49; Thu, 17 Dec 2020 01:40:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726595AbgLQJjM (ORCPT + 99 others); Thu, 17 Dec 2020 04:39:12 -0500 Received: from mx2.suse.de ([195.135.220.15]:46300 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725871AbgLQJjL (ORCPT ); Thu, 17 Dec 2020 04:39:11 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 64863AC7B; Thu, 17 Dec 2020 09:38:29 +0000 (UTC) Date: Thu, 17 Dec 2020 10:38:29 +0100 Message-ID: From: Takashi Iwai To: Robin Gong Cc: perex@perex.cz, tiwai@suse.com, akpm@linux-foundation.org, xiang@kernel.org, pierre-louis.bossart@linux.intel.com, gustavoars@kernel.org, shengjiu.wang@nxp.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 ] ALSA: core: memalloc: add page alignment for iram In-Reply-To: <1608221747-3474-1-git-send-email-yibin.gong@nxp.com> References: <1608221747-3474-1-git-send-email-yibin.gong@nxp.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 17 Dec 2020 17:15:47 +0100, Robin Gong wrote: > > Since mmap for userspace is based on page alignment, add page alignment > for iram alloc from pool, otherwise, some good data located in the same > page of dmab->area maybe touched wrongly by userspace like pulseaudio. > > Signed-off-by: Robin Gong Thanks, applied now with Cc-to-stable. Takashi