Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp689688ybl; Wed, 28 Aug 2019 04:01:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzBZ+FWIH3Khru6mrQWhQD/3COlRJIqR0Mcp0dh3uk8xhTJuuK5Zp4gYjuxFZW3gMv3sJcp X-Received: by 2002:a63:5b52:: with SMTP id l18mr2919191pgm.21.1566990067395; Wed, 28 Aug 2019 04:01:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566990067; cv=none; d=google.com; s=arc-20160816; b=LEQJT7elb2GQv3Nf91JJY9TgPrUdddtXDh1YglDHPSR8JwyVdiOCcBbVs9mDqJuB3j R2TzPgLvpQF6UGF7n2Xoc2wdrR/I0DD+DIhg4ubRviHGV7RkT6n0Ai/jNEOPr2ILPUYZ plvSca8UC1/5NHtbUmWZBPowqkT+w7RX1WV024OQVtmw6RCJBPd2CK30q/m5QI5cW1jI u9lq9QM75l5bartFFvaC6bNyZv3sEZwX3ZsQHZg4hoqDFP0lwGmOpjdeP9aRgA4fnz52 SczpvGg9VRC5YuV6WN5Le0LvRE36VJdIS7fyplfSuHR3RYzC7sEDYyWRuhrwOx6eJQLq dL7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:cc:to:subject:from:date:dkim-signature; bh=4e6dKncyC8lppPWJvFlONYDFtBQAbbnYiHIeSIDNvNo=; b=V7Ry54flDaBzBf6kLEw762jSOTOrYrj1004vgV7vTXl78+j2hv5Mm+9YrjgAuPvZ8c DWWWee2JRUhYfyjlOyEMVwi76w7hn/KLomtP0biHSViPiR7ioOKGPS9g/Fe+6dAZIhwh qUyL8eayYjfD+4b3KGcR7xq4FnDKRfj1GKitpQwACCN07sILSLYCXXlAG+dMOFo2/8VD xJjc5zFkzw/dNAR4gMLXqiWRvBZ/ZMEylfZ4zfcZt241Zc2vLybVsTvyuTuEG2FC0V9X vcCRJq+SroAIrOkzpjlPRNoE9Us9COaI1b6+m7hqHRWwZbUMRpJApiNFOvJMhKywQ2lK Hdig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eIprUPXR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x5si2316174pfq.86.2019.08.28.04.00.51; Wed, 28 Aug 2019 04:01:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eIprUPXR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726444AbfH1K7u (ORCPT + 99 others); Wed, 28 Aug 2019 06:59:50 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:33624 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726272AbfH1K7u (ORCPT ); Wed, 28 Aug 2019 06:59:50 -0400 Received: by mail-wr1-f67.google.com with SMTP id u16so2055498wrr.0; Wed, 28 Aug 2019 03:59:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:subject:to:cc:message-id:in-reply-to:references :mime-version; bh=4e6dKncyC8lppPWJvFlONYDFtBQAbbnYiHIeSIDNvNo=; b=eIprUPXRpsLzuaXAUzKBaM7IpTdSw6XABL4VxaqqldXK/lX4ElDqlRvy1zblQtSrE1 ai2b2ubv4a6AgNuifyPIZtuM2YPhQAduEi1FiMhjRpppYbO+rw+Ky2Q6oimX1/L2NgPp Gj6uUix49iHQadgJxep34frC++ySipugVJxSzH5h7iLEeexJBDkdBnlM80aMq/pyVI95 VRxQfDB9IL5lYN0uM/1o22RFh1d7fQQaEx2Ns8iQw0njAx8ltYQSmNl7sfInyuKpTMXL xAagDk4XOc8n+oYjsSAe/8iLiJvCGO2b6uXeYTiayz20u+8Ru2tSF3n9kz1HQD5Gkkqo BAAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:cc:message-id:in-reply-to :references:mime-version; bh=4e6dKncyC8lppPWJvFlONYDFtBQAbbnYiHIeSIDNvNo=; b=f7LMXP+n/OpLnx0nk6UUy4nC2BnJITDjDUh5Ox7iTJ3jXObc+LPuqpRgyNBwC94m7c 7ghZhoD+GSDInT2B341MyHI6NQ6PFo+xDVxTKYN8hKvwpSNonCOy0kKMnPgxCp6325Um ROuHqWRA8UhktP6fP1VkYctYP3Oawjk7+0K82Qry8i0MsonNT5i93+oTNp9bK5FjKVrU Guk30tNtJIn2dpcXRjLEZFHHUY7r9QarqZVkhR21FySj8rzH2pA9Ox3+d13n/zcNVQfl i06maHgaWTspDj5fKM0B2jh6aMpk11eZiN3g4xZhq+M8UgNpJHXIXQkyysgiVtK0PFrc An6A== X-Gm-Message-State: APjAAAUXthQNAQWLsZYTzD304p5av/uiXyasAGW+vFfKQ4HD+zraJ9XQ xpUPXGg3+19dnQPiD4amcmAJhVqiWUFS0A== X-Received: by 2002:adf:bc84:: with SMTP id g4mr3884149wrh.135.1566989987792; Wed, 28 Aug 2019 03:59:47 -0700 (PDT) Received: from [192.168.1.105] (ip5b4096c3.dynamic.kabel-deutschland.de. [91.64.150.195]) by smtp.gmail.com with ESMTPSA id b144sm4381228wmb.3.2019.08.28.03.59.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Aug 2019 03:59:47 -0700 (PDT) Date: Wed, 28 Aug 2019 12:59:45 +0200 From: Krzysztof Wilczynski Subject: Re: [PATCH] x86/PCI: Add missing log facility and move to use pr_ macros in pcbios.c To: Bjorn Helgaas Cc: Krzysztof Wilczynski , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Message-Id: <1566989985.26704.2@gmail.com> In-Reply-To: <20190827224725.GD9987@google.com> References: <20190825182557.23260-1-kw@linux.com> <20190827224725.GD9987@google.com> X-Mailer: geary/3.32.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Bjorn, Thank you for the feedback. [...] >> Make the log facility used to print warnings to be KERN_WARNING >> explicitly, rather than rely on the current (or default) value >> of the MESSAGE_LOGLEVEL_DEFAULT set in Kconfig. This will make >> all the warnings in the arch/x86/pci/pcbios.c to be printed >> consistently at the same log facility. > > This is slightly confusing. There are only two messages that didn't > supply a log level, so the avoidance of MESSAGE_LOGLEVEL_DEFAULT > applies to those. Good point. I will update both the wording and the explanation so that it would be more accurate and make a whole lot more sense. [...] > Might be worth doing this as well: > > #define pr_fmt(fmt) "PCI: " fmt > > and removing the "PCI: " prefix from the messages. This would change > the "bios32_service" output slightly, but I think the change would be > a good one. Will do. The v2 have all the improvements. Thank you! Krzysztof