Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1530328rwb; Fri, 13 Jan 2023 13:40:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXugTeSSISNl7JjPB/ptq9xXXciXe0eALz4C7L8d1ynY10N4AugOzi5TogO/oHnnlkWMayTQ X-Received: by 2002:a05:6a21:1649:b0:ad:d197:59c7 with SMTP id no9-20020a056a21164900b000add19759c7mr93958955pzb.46.1673646036396; Fri, 13 Jan 2023 13:40:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673646036; cv=none; d=google.com; s=arc-20160816; b=Ws2x3vrgqRjIxiFx3P8N4CEye/9lOxHc0A9pBGyOj2sVHIses/lSUKLKfCISFhL3zu ywaj3TsR47pArpN6ESo/a7KdkcBqQl7Q4qPCstSIhzLU036L0H52Wxo/iMOU7F6KRu4x gv0wbEVWirowQMmNRNEE2wo4UuhEpaWfUphLBQiA3DzzOZZu5GWA9YpfRrQadH7uVY7V h9X0ec4suxQYuLSM4Bu7suLSsS+N4HpG5Oy4FZcFCcSzRaDbQd7G0JybsCNuilav1spe xihiLbAW212NFSvoW3fIbUcL2UrtFXLfSoq5R0NdH3iq+12wOVy42N746YZYPhwScSR3 WNZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=AAUkWzgg0QnPjRJeJ5T4AyBqRd0K48vy/muCTI5e0qQ=; b=jSjaOBelziN4ectQkN84EUXyB8x73R7vGuopudGp5TOCMFOuhN8n/74kXMKkuqwmAC AiJeOvM88cdkfL4EKdLEzPSYqLo8CILFm5cxlM+QlhrkWslTW+iIJIknyas3ZKt93jZ5 59KQxN5nVIB2LGVhbWMYBnrEfo37NdG9OT7UAsOjeniPIk2Nqo58Adj/PQkOGLfip4Xj 85L6wbIzJav+ejB7Vd9BQHRJgBpqD/zLU9kAvZkc5lTQIRzJ1Js0yYWayV4PhXD98mBs WEvW0mWUFSt5/YpyRF25Gbq7HGYBTwevJUe1HHUH/ngM4NZdGHZqskjCDrXEpSJb0Nko cFFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@8bytes.org header.s=default header.b=qHPgiBWY; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k190-20020a6384c7000000b004b439eefdc7si14441953pgd.4.2023.01.13.13.40.29; Fri, 13 Jan 2023 13:40:36 -0800 (PST) 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=@8bytes.org header.s=default header.b=qHPgiBWY; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230144AbjAMV3P (ORCPT + 52 others); Fri, 13 Jan 2023 16:29:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229706AbjAMV3N (ORCPT ); Fri, 13 Jan 2023 16:29:13 -0500 Received: from mail.8bytes.org (mail.8bytes.org [85.214.250.239]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4FB60B4B6 for ; Fri, 13 Jan 2023 13:29:12 -0800 (PST) Received: from 8bytes.org (p549ad69d.dip0.t-ipconnect.de [84.154.214.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.8bytes.org (Postfix) with ESMTPSA id E179E261BE3; Fri, 13 Jan 2023 22:29:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=8bytes.org; s=default; t=1673645351; bh=tzuJaJssUMjZZ7WLqNeP+q104UEKVHyeooMwQQif+MY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qHPgiBWYU81GJ5qhc+lVhSrETIETFKjlBhBkoCRCPDaUfDtrFXBnJRws7ZU0vdcte EVW68474RhBEjBV/l5J4NQJ+k07UVdL0g0iyUU5Vh/FEUXw3rlbYANAwnIhP2xdr4W IzODCxuPkH8q8GnRuLbZ1rwcP0HvRlUtXGEZQJhuKpQAx0jhx3TEORgqL3YyLO5otX R/kjFSbQkBCuErp402mUDSQG3Jb2BW9y+2Sfp+wb8dGxlzzt+wVunAReuSfJIfklb6 XDXUL6q3DHsml+OxtPu1+1dAJWzrEn+WyEM6QY+rU3IlYuBazzuHRkE1ecOxplH1C+ VdPJHghUzaabA== Date: Fri, 13 Jan 2023 22:29:09 +0100 From: Joerg Roedel To: Jason Gunthorpe Cc: Lu Baolu , Will Deacon , Robin Murphy , Vasant Hegde , Chunyan Zhang , Sven Peter , iommu@lists.linux.dev, linux-kernel@vger.kernel.org, Joerg Roedel Subject: Re: [PATCH] iommu/ipmmu-vmsa: Remove ipmmu_utlb_disable() Message-ID: References: <20230113185640.8050-1-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 On Fri, Jan 13, 2023 at 03:45:46PM -0400, Jason Gunthorpe wrote: > On Fri, Jan 13, 2023 at 08:25:17PM +0100, Joerg Roedel wrote: > > In general it is a good idea to at least compile-test every file that is > > changed in a patch-set before sending it out and not rely on 0-day bot > > for that. > > Against every arch combination? This is why we have automation bots :( No, not every combination. But if possible please compile-test each changed file with a .config that pulls that source file in. Lots of drivers can be enabled just with COMPILE_TEST on x86 or be catched with a generic ARM/ARM64 config which enables all IOMMU drivers. PAMU is a bit more difficult as it requires a PPC-32 bit config, but that is the exception. A full kernel build is usually also not necessary, often a 'make drivers/iommu/' with a given config is enough. That is also how I compile-test the IOMMU tree before I push changes out. There are per-arch configurations which select all IOMMU drivers on that arch. Only for X86 I do the full allnoconfig, defconfig, allmodconfig and allyesconfig cycle (each for 32 and 64 bit). That certainly does not catch everything, but a lot of compile issues can be found that way. And for patch-sets only touching, for example, VT-d it is still enough to only compile-test on x86. A patch-set touching that much drivers is rather the exception. Regards, Joerg