Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E972EC54EED for ; Mon, 30 Jan 2023 08:52:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232637AbjA3IwA (ORCPT ); Mon, 30 Jan 2023 03:52:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235761AbjA3Iv6 (ORCPT ); Mon, 30 Jan 2023 03:51:58 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46B303C22; Mon, 30 Jan 2023 00:51:54 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id B890321998; Mon, 30 Jan 2023 08:51:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1675068712; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2QXjhkuIwbHarU1yfK2fMrK6Ps/IzEIQQVoPuYVsFQc=; b=sooiBTVJhSxWNN0x7xNwBMAD/x1iMou5JF0ahJcFGI6fy98TODwzFZJu/E7H39csn+QGRq ZUOCR0a3eLOZOoO6sVEHIUPhvj+53ai1ZHUOYwxam266Q8pjiwKLThYbEwRNSoMl9nNjtm u54fUUVyXprbB9dhcsLHqP/EtQ+TkKI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1675068712; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2QXjhkuIwbHarU1yfK2fMrK6Ps/IzEIQQVoPuYVsFQc=; b=jZ0qfspvZqO0mGnJFQwfQbHzTol9NGR7Mf4hehX/oF3cI1Fx9o9M3jpaj2IIyn1GiMWYxv 8o2Kjp2WXe0xGSCg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 70FED13A06; Mon, 30 Jan 2023 08:51:52 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id p4lFGiiF12OzWQAAMHmgww (envelope-from ); Mon, 30 Jan 2023 08:51:52 +0000 Date: Mon, 30 Jan 2023 09:51:51 +0100 From: Joerg Roedel To: Stephen Rothwell Cc: Bjorn Andersson , Mathieu Poirier , Joerg Roedel , Jason Gunthorpe , Jason Gunthorpe , Srinivasa Rao Mandadapu , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the rpmsg tree Message-ID: References: <20230127180226.783baf07@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230127180226.783baf07@canb.auug.org.au> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks for the report, Stephen. Bjorn, Mathieu, On Fri, Jan 27, 2023 at 06:02:26PM +1100, Stephen Rothwell wrote: > After merging the rpmsg tree, today's linux-next build (arm64 defconfig) > failed like this: > > drivers/remoteproc/qcom_q6v5_adsp.c: In function 'adsp_map_carveout': > drivers/remoteproc/qcom_q6v5_adsp.c:369:15: error: too few arguments to function 'iommu_map' > 369 | ret = iommu_map(rproc->domain, iova, adsp->mem_phys, > | ^~~~~~~~~ > In file included from drivers/remoteproc/qcom_q6v5_adsp.c:12: > include/linux/iommu.h:473:12: note: declared here > 473 | extern int iommu_map(struct iommu_domain *domain, unsigned long iova, > | ^~~~~~~~~ > > Caused by commit > > f22eedff28af ("remoteproc: qcom: Add support for memory sandbox") > > interacting with commit > > 1369459b2e21 ("iommu: Add a gfp parameter to iommu_map()") > > from the iommu tree. The patch-set causing this is in a separate branch in the IOMMU tree which you can be merged into the rpmsg tree for a fixup there: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git iommu-memory-accounting Regards, -- J?rg R?del jroedel@suse.de SUSE Software Solutions Germany GmbH Frankenstra?e 146 90461 N?rnberg Germany (HRB 36809, AG N?rnberg) Gesch?ftsf?hrer: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman