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 X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 198C5C35280 for ; Fri, 8 May 2020 00:24:20 +0000 (UTC) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DD74E208DB for ; Fri, 8 May 2020 00:24:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DD74E208DB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 8F63A204E8; Fri, 8 May 2020 00:24:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gX3PRIOzso7S; Fri, 8 May 2020 00:24:18 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by silver.osuosl.org (Postfix) with ESMTP id 93EEF20427; Fri, 8 May 2020 00:24:18 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 70DD7C0865; Fri, 8 May 2020 00:24:18 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 9E8E7C07FF for ; Fri, 8 May 2020 00:24:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9B52086AA1 for ; Fri, 8 May 2020 00:24:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y9g1PV3pFC47 for ; Fri, 8 May 2020 00:24:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5E6CE86A70 for ; Fri, 8 May 2020 00:24:15 +0000 (UTC) IronPort-SDR: 7fSUoBrZLueb8n18Ul407Lw6NHu0f/auyvyyKfZOkltk6YGfxjnERpqxC9AP959aaemLfIsJC1 BVX2ASWeYTLA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2020 17:24:13 -0700 IronPort-SDR: 1Zi4Qd9E+Nx450xCX3ZsSeJlDW74I7iDz3F9hHvwI6LaRKJdUcFthkQlo2jlp8sYLZBoi5Tnhw 06mZx0TFm6Ig== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,365,1583222400"; d="scan'208";a="278777604" Received: from allen-box.sh.intel.com (HELO [10.239.159.139]) ([10.239.159.139]) by orsmga002.jf.intel.com with ESMTP; 07 May 2020 17:24:12 -0700 Subject: Re: [PATCH v1 1/3] iommu/vt-d: Unify format of the printed messages To: Andy Shevchenko , Joerg Roedel , David Woodhouse , iommu@lists.linux-foundation.org References: <20200507161804.13275-1-andriy.shevchenko@linux.intel.com> From: Lu Baolu Message-ID: <07742be4-1c71-bd72-adea-29ab51e67a70@linux.intel.com> Date: Fri, 8 May 2020 08:20:53 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200507161804.13275-1-andriy.shevchenko@linux.intel.com> Content-Language: en-US X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" On 5/8/20 12:18 AM, Andy Shevchenko wrote: > Unify format of the printed messages, i.e. replace printk(LEVEL ... ) > with pr_level(...). Thanks! Reviewed-by: Lu Baolu > > Signed-off-by: Andy Shevchenko > --- > drivers/iommu/intel-iommu.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c > index 0182cff2c7ac7..624831e5a583c 100644 > --- a/drivers/iommu/intel-iommu.c > +++ b/drivers/iommu/intel-iommu.c > @@ -480,8 +480,7 @@ static int __init intel_iommu_setup(char *str) > pr_info("Intel-IOMMU: scalable mode supported\n"); > intel_iommu_sm = 1; > } else if (!strncmp(str, "tboot_noforce", 13)) { > - printk(KERN_INFO > - "Intel-IOMMU: not forcing on after tboot. This could expose security risk for tboot\n"); > + pr_info("Intel-IOMMU: not forcing on after tboot. This could expose security risk for tboot\n"); > intel_iommu_tboot_noforce = 1; > } else if (!strncmp(str, "nobounce", 8)) { > pr_info("Intel-IOMMU: No bounce buffer. This could expose security risks of DMA attacks\n"); > _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu