From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B87ADC43334 for ; Fri, 8 Jul 2022 10:34:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vFbIYIS7pc2qytdvYZCqWF+8D9/7SlS5YWRsiUBbk28=; b=FuUY5zOFtWV9Np uA66Y8wDhna5IzSq8wzhVdHaujChPCpbkkuZWQ/+wF6mgGWXCI/fJ89B3dkwstQzruEtAJlBbPZC5 Z0uZ3CrFQ7c2po+RuT7kHhSY4ojv/yVZf8C5DDHJ0VnCPZonM/5tuXtP8qaTE2UmSlU4GG8UNHapz Sc2iEkpoetdjXjl55AjqvZJt+ED0tq3CvlmudmkqUzWurJ7Wn4F/mpaqHpMMn87zevw2xXSlsbqh4 Y/WOZQjPXjYV81ISaNZ1b7rrl5cRr8baemA9/tpSLvDhgLIGdE4mRlBGDLuhTt0r1zekz0oT++l6a NKA1uCQUrbWHUFocPXbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9lIl-003D7M-Ak; Fri, 08 Jul 2022 10:33:35 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9lIh-003D57-IL for linux-arm-kernel@lists.infradead.org; Fri, 08 Jul 2022 10:33:32 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D34C8B825BC; Fri, 8 Jul 2022 10:33:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABC54C341C0; Fri, 8 Jul 2022 10:33:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657276406; bh=/+DcsYT34C0mFnuO4YTEFLX8753VES4tr0IjtszpEJo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KWVqfoRQu2fJsC+Z2vRfeEdzizbw9iBK5JqQzJ0Re3nEWORyYlqggTUfD8VTkjpqs LF7nz/IjqfoVCLryWNPfi9F/VHt+b7AkKBw2WnTlP1HN1jpVh4Ct0KS6R/tlPiZPZS Xy81ZtAxrYhMV48hUXuyhnf1JjDdWOQT8mDCR72d6tIkV1Fq5TrmDO7TNzFywj5eqU dfAovZgelJWNDuQsX0uK7591gsrgRkW9F33Dph0Tj/0LasBvHtDjUKnI2+EBeUIgEX vgCoGia3+5Ma+j/8z7pue9pc7pLb1ocK79MOftmIaTaSNg28DQNJTn+WzQchwjKuMb eQwLFknRSaHPw== Date: Fri, 8 Jul 2022 11:33:21 +0100 From: Will Deacon To: Christoph Hellwig Cc: Joerg Roedel , Sven Peter , David Woodhouse , Robin Murphy , Lu Baolu , Yong Wu , Jean-Philippe Brucker , iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 4/4] iommu/arm-smmu-v3: cleanup arm_smmu_dev_{enable,disable}_feature Message-ID: <20220708103320.GB5744@willie-the-truck> References: <20220708080616.238833-1-hch@lst.de> <20220708080616.238833-5-hch@lst.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220708080616.238833-5-hch@lst.de> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220708_033331_774401_A315646E X-CRM114-Status: GOOD ( 13.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Jul 08, 2022 at 10:06:16AM +0200, Christoph Hellwig wrote: > Fold the arm_smmu_dev_has_feature arm_smmu_dev_feature_enabled into > the main methods. > > Signed-off-by: Christoph Hellwig > --- > drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 55 ++++++--------------- > 1 file changed, 14 insertions(+), 41 deletions(-) Thanks for the cleanup: Acked-by: Will Deacon Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel