Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1074048ybm; Wed, 27 May 2020 15:38:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHfvgXQ+SZSIzmWD2PpW2qR8slp5dnJm9mNBp2z8rCJhC2xfyUDu5T1kbMoNe2uqAmvoJw X-Received: by 2002:aa7:d706:: with SMTP id t6mr359681edq.210.1590619129825; Wed, 27 May 2020 15:38:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590619129; cv=none; d=google.com; s=arc-20160816; b=ggZyzAsjwCMB+ITr8q1XyH3meo8mZGPL7nWedpXI+lQ2b/XY+wWAUojPgYRSICMvfx jWbQb3ht4xtLzsvT8h87PiJBAlcScgnt/qhOs786RPLmqSSWkn73MjTsGK/mK88Cv2sa tb76Y8hL3eWr9tLTfeqpXEU5sji5/QH7WV4jun78UCvdjy0MleBn4fyBsIlslzwxxtlB jRTEqw/M3CG1Qu/+xpOtfgO1rRpb/xO/VWV2vt4VvB9TxLdqtrxVR+9ZqFFHf4W2UYBt OHh4/FejbyH54xK9Ve443x2U+agEVZpC72NUYToqkpKicqEXz3htcEysfZsdk6n1vv+1 brpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :references:subject:cc:to:from:date:message-id:mime-version :content-language:user-agent:autocrypt:dkim-signature; bh=bPT+VORLylxcPAWpuFfNtjTNb+GnFV3EtWluz+y7630=; b=ThlGZDVNJb2eFwdAEtgHWsXrNH5Wsv6R61as+PUcIZaenE04Yb4A+frV3/RE1oP7ty zu9zPAvws2JVLjWOp9d+DdEY2C5OLDKPgDZafScm+75tknmm5d1WYCm98GAuEDdJgkWu kpiWd0rTAE0tBNbsLYCGnBEb7ZAqNa/CGadazYaSY/iWRuElKzNIc8WD1YlESdbW0GSv FRrTo0X9cLyyFrdvPSHYFZVFyXySxBkSh3O6nv7rU6hX0Ro6vADmartCJxaobfoElj7N 0g0MRK1XM6V304bRuI2Ow2VsEYoV/qluZwEifpqkkeTIpY8ITuOavP6iXn1JoVQbab6c gZUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=iuXe3awq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ov7si2718933ejb.409.2020.05.27.15.38.24; Wed, 27 May 2020 15:38:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=iuXe3awq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726970AbgE0WfW (ORCPT + 99 others); Wed, 27 May 2020 18:35:22 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:48602 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725948AbgE0WfV (ORCPT ); Wed, 27 May 2020 18:35:21 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04RMMCx8054693; Wed, 27 May 2020 22:35:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=bPT+VORLylxcPAWpuFfNtjTNb+GnFV3EtWluz+y7630=; b=iuXe3awqVD7jdre/ppfwWPneSn50hN0SKbrxFDjlilZI0Q4fwndV4WJEkVGBPONBiYy7 dYpyex/I0PRzfVneSMlbndZP++DnpvbJhEzARKwvWmBCizcKN70X+MMgS5mrlXkcK1g2 ZhuPJ2RGuuvN8nRXgQ7RqHZ4pAp2VOSBOHTnOVnIyFhgZyuVD/XYkdvg2fbeD5XVX4dc Y3h1y1+hdVY8XorK+HMBct29orqDiNbJow2v0G5yW75QIdUpNlJkKehC0EeMJOQpAxdi qP2+HuPvU3nETYjdTD0RhXXjSLTMcbha59Jff6fyM40Qv+/T1c+8v+LHb4CgFRpMcUE7 /A== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 316u8r21cy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 27 May 2020 22:35:14 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04RMHc5D184460; Wed, 27 May 2020 22:35:13 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3020.oracle.com with ESMTP id 317dkv9ae6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 27 May 2020 22:35:13 +0000 Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 04RMZCjn017158; Wed, 27 May 2020 22:35:12 GMT Received: from [10.39.225.245] (/10.39.225.245) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 27 May 2020 15:34:28 -0700 AUTOCRYPT: addr=boris.ostrovsky@oracle.com; keydata= xsFNBFH8CgsBEAC0KiOi9siOvlXatK2xX99e/J3OvApoYWjieVQ9232Eb7GzCWrItCzP8FUV PQg8rMsSd0OzIvvjbEAvaWLlbs8wa3MtVLysHY/D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2X2+gIGgLPWp2ft1NXHHVWP19sPgEsEJXSr9 tskM8ScxEkqAUuDs6+x/ISX8wa5Pvmo65drN+JWA8EqKOHQG6LUsUdJolFM2i4Z0k40BnFU/ kjTARjrXW94LwokVy4x+ZYgImrnKWeKac6fMfMwH2aKpCQLlVxdO4qvJkv92SzZz4538az1T m+3ekJAimou89cXwXHCFb5WqJcyjDfdQF857vTn1z4qu7udYCuuV/4xDEhslUq1+GcNDjAhB nNYPzD+SvhWEsrjuXv+fDONdJtmLUpKs4Jtak3smGGhZsqpcNv8nQzUGDQZjuCSmDqW8vn2o hWwveNeRTkxh+2x1Qb3GT46uzsFNBFH8CgsBEADGC/yx5ctcLQlB9hbq7KNqCDyZNoYu1HAB Hal3MuxPfoGKObEktawQPQaSTB5vNlDxKihezLnlT/PKjcXC2R1OjSDinlu5XNGc6mnky03q yymUPyiMtWhBBftezTRxWRslPaFWlg/h/Y1iDuOcklhpr7K1h1jRPCrf1yIoxbIpDbffnuyz kuto4AahRvBU4Js4sU7f/btU+h+e0AcLVzIhTVPIz7PM+Gk2LNzZ3/on4dnEc/qd+ZZFlOQ4 KDN/hPqlwA/YJsKzAPX51L6Vv344pqTm6Z0f9M7YALB/11FO2nBB7zw7HAUYqJeHutCwxm7i BDNt0g9fhviNcJzagqJ1R7aPjtjBoYvKkbwNu5sWDpQ4idnsnck4YT6ctzN4 USER-AGENT: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Content-Language: en-US MIME-Version: 1.0 Message-ID: <612fee00-4e7c-9b90-511d-4efb7676cbed@oracle.com> Date: Wed, 27 May 2020 15:34:26 -0700 (PDT) From: Boris Ostrovsky To: Bjorn Helgaas , Juergen Gross Cc: Stefano Stabellini , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: Re: [PATCH 1/2] xen-pciback: Use dev_printk() when possible References: <20200527174326.254329-1-helgaas@kernel.org> <20200527174326.254329-2-helgaas@kernel.org> In-Reply-To: <20200527174326.254329-2-helgaas@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9634 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 malwarescore=0 bulkscore=0 spamscore=0 suspectscore=0 mlxscore=0 adultscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005270170 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9634 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 priorityscore=1501 spamscore=0 cotscore=-2147483648 suspectscore=0 phishscore=0 clxscore=1011 mlxlogscore=999 bulkscore=0 adultscore=0 lowpriorityscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005270170 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/27/20 1:43 PM, Bjorn Helgaas wrote: > @@ -155,8 +157,8 @@ int xen_pcibk_config_read(struct pci_dev *dev, int offset, int size, > u32 value = 0, tmp_val; > > if (unlikely(verbose_request)) > - printk(KERN_DEBUG DRV_NAME ": %s: read %d bytes at 0x%x\n", > - pci_name(dev), size, offset); > + dev_printk(KERN_DEBUG, &dev->dev, "read %d bytes at 0x%x\n", > + size, offset); Maybe then dev_dbg() ? -boris