Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp313345lqo; Tue, 7 May 2024 23:51:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVvI0kjrqbzryADYd+6eqGbpx+Ds9d4lxgJh4iWwoY2Uq1EBJFtDmxL6Als1k/50WS4Np9m4MYfSKr4sS8//1jw+oXyQDJGNQortbo9vQ== X-Google-Smtp-Source: AGHT+IE2W0fE50EpxtrDhrHPt2gpJ/BBwvLcK1IiXkm+kv5QbI5zkL8nuKQQDgKcFWUkQhoKdlHG X-Received: by 2002:a17:906:c44f:b0:a59:cf38:5339 with SMTP id a640c23a62f3a-a59fb94b04fmr101070966b.6.1715151075803; Tue, 07 May 2024 23:51:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715151075; cv=pass; d=google.com; s=arc-20160816; b=uWXgzbHuYy50jXIEoY2MuDhfU7t8Q7dyUsReBWTfKL+nAbb46aIiWq8V1DnZ6Y6qB1 6iOCSA1/dNNjaGFPuKi752o3vTvwX5GLQUz2ryzaH3Gl9hANvhuZ3/+00BJ5LKrkIDs5 lf/n2E1pgQxbkE+1Q52zt4YAwYeTGHxavsCPwF8JmVHcuBOhfk5DzbIG7/e6XJMeavu5 Nh1P779H3jE/ezp/kG4itK0wV55QfVUsgko2LDYsy0MT7zPPqF+iGMHJBJrxDqCIjDiC dr0NUQlA+sRzXlKTSDo9eujzwfdaJNvDGb2wYTkdnPXn6rl5OXonzgpCVxibYTJWjMw+ IVsg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=ZSDmAuNfKuACtO87tdZ8AF0Edj0tsaBdhBzEsF/0xwc=; fh=iN2iTHAIZ/Gv+2eEPIs/vm/KxWpCYe8XStEmK9/0Qh4=; b=zQMymUZWYdGIjvogH+A9OmbFGiPoOYnxgb+KQVrmYEug4grhqYDzldgmbMWfrXerR7 a8B4pjRfZKOQd4wITyxk/6OApEAWAZIGFWzdvFZO4QMRe9f86VnwougFf0WlaXjoLFb+ /kVpx0yX8cNSEtiUg+MRA7ZolFgE/duFU77DJqEKzFUL2I1BPJ3LVn5dkcsmoIt7MB8O EIGuiDij5RBNzfWR5Fu886nsHpqFXv6qd/m47GG9hSvC3cG5E9i+h6YbsC9x7/YBOGvu 0hT1gY9Iklx4+UTL6944/RxJtMY5BzKw6jiBvpGHRfpbZ+8SJBnkbVLHxHOSy61BJo7b FR8Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-172770-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172770-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x3-20020a170906134300b00a5564a2deb4si6909751ejb.790.2024.05.07.23.51.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 23:51:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172770-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-172770-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172770-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 87B961F23C4D for ; Wed, 8 May 2024 06:51:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7B62A22EF8; Wed, 8 May 2024 06:51:08 +0000 (UTC) Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 95DBE17C72; Wed, 8 May 2024 06:51:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715151068; cv=none; b=fwWrOTV1/ORI7L2Fw0W/lKow3v0kWMLczAeANzOO18p2Ie2me5uDqZFHE6T6h7K5wyFtsJjCmHwmZB9Ze9fEcfDDaSA0AkdvROh6a0oi+Pmws8nS4/VVx+yJO7EGajrUv9JAwXnb50W75Sj6xP0nXUZVAo6w5lDS6vbwxqp3PvU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715151068; c=relaxed/simple; bh=mH6Ta67pzIKfr9LQlHdbLh2ohB48rnPzvsQeQ9X0ej0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=By1hzqY/0lm7uqdLJWspAWLlhmMPW2r8WKIhXeqajXZxDS7BDY2r6W0/5DunT4D/al5Ml69H0RhH5RBiXJ2znEfO/IHP5nbJpGz8sYSZssn6ox+rfitAcsze+nFz7wSEQDrsrLwj7FMyBNG0hVcPn4cVLIHLL+5CvuepMrXPbnY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id ED20568AFE; Wed, 8 May 2024 08:51:02 +0200 (CEST) Date: Wed, 8 May 2024 08:51:02 +0200 From: Christoph Hellwig To: Stephen Rothwell Cc: Christoph Hellwig , Alexander Lobakin , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the dma-mapping tree Message-ID: <20240508065102.GC10736@lst.de> References: <20240508091631.1ec34a25@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240508091631.1ec34a25@canb.auug.org.au> User-Agent: Mutt/1.5.17 (2007-11-01) On Wed, May 08, 2024 at 09:16:31AM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the dma-mapping tree, today's linux-next build (x86_64 > allmodconfig) failed like this: Thanks. I'll fold in the patch below to drop two consts for now. Alexander, if you want to pass the consts through we'll also need to modify page_pool_get_dma_addr, which looks doable. If you want that, please send an incremental patch. diff --git a/net/core/page_pool.c b/net/core/page_pool.c index 8836aaaf23855f..4f9d1bd7f4d187 100644 --- a/net/core/page_pool.c +++ b/net/core/page_pool.c @@ -399,7 +399,7 @@ static struct page *__page_pool_get_cached(struct page_pool *pool) } static void __page_pool_dma_sync_for_device(const struct page_pool *pool, - const struct page *page, + struct page *page, u32 dma_sync_size) { #if defined(CONFIG_HAS_DMA) && defined(CONFIG_DMA_NEED_SYNC) @@ -413,7 +413,7 @@ static void __page_pool_dma_sync_for_device(const struct page_pool *pool, static __always_inline void page_pool_dma_sync_for_device(const struct page_pool *pool, - const struct page *page, + struct page *page, u32 dma_sync_size) { if (pool->dma_sync && dma_dev_need_sync(pool->p.dev))