Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp757349pxj; Fri, 14 May 2021 15:21:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaqYM0XkmxuQoDxnPZW8dDbyJRxo1Wkl4QmYNush/ZiV4vvaOGsOgZG1dUiMLXb87VN5pq X-Received: by 2002:a17:907:7629:: with SMTP id jy9mr51610895ejc.34.1621030895241; Fri, 14 May 2021 15:21:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621030895; cv=none; d=google.com; s=arc-20160816; b=YzpnJ4ZkGYp+A5WzldJkSThzwWHWEjTqDpqttSZnrbxok0GPyQXfJEupAJhehIHGyD KXHmRNEJZ8ZNHQlm50C+m653GZxJ9VlI754TDF1FPlAbv4AdW6qXogFKZQpmVa1XICHy Wy28cuM6+Ub69fDMjXWYbQ1WFGRuCZRwQJqG3K74pWSfPxk6eGlf9U8AnZ2SgUpo/Vki sbmDa/0tuzp8+I5x4LuJSPFu/0FIAypW82f4AsY5NBhgaL3mKg2a1/ibLp0Y/AI0BVP4 vYUCBvnl3WZS/7PbT7kKHF8Sv44ohX3bLPCPlqP15JOPPTYmokYIHf45F9uC68VSplHA 4ZFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=p778h4mDEFACoY3jLIwbbMe6YCGbmf3vLibN4Bx2pk4=; b=gGJ6vUU3riCcEnMEd/VWxAhg9j+udVt41kFHHJec2Bi31/MqFZuuDGPDo9sxfEat7K zm5DnNyncWJJ2BWIPwCFmjxFDx02J2NG5PZjOyoJ6p3DF25VFX5ahIOOT/RX/bveCo8g ukIwmzTk6jAtNwI1EUe6ei5hxVbUbrg39qBFl9dvLzTkdBOKFgQGOAO+6GVQRIw+/ytj CLMYfa5PGpKjBJlFd7v4Bg3/NdDuNw9KGQt7uhlwWBFE3sYBY2pg3CNruGIeKo4PlJFR WFjgMjns41EfkQvzGHPUV3k8dwneF4zUWbq2YVFCk/KkfZPduBuXE6CspPY5HI5ALOHa Q4Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nC8L4dQI; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h11si8020256edj.249.2021.05.14.15.21.12; Fri, 14 May 2021 15:21:35 -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=@gmail.com header.s=20161025 header.b=nC8L4dQI; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234129AbhENOHi (ORCPT + 99 others); Fri, 14 May 2021 10:07:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231741AbhENOHf (ORCPT ); Fri, 14 May 2021 10:07:35 -0400 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4398BC061574; Fri, 14 May 2021 07:06:24 -0700 (PDT) Received: by mail-il1-x132.google.com with SMTP id c16so6984335ilo.1; Fri, 14 May 2021 07:06:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=p778h4mDEFACoY3jLIwbbMe6YCGbmf3vLibN4Bx2pk4=; b=nC8L4dQI89t4hzo3h+eXBqlhwLeHOghclMnHjZf+MAel5fuBM81cHhC1O25S5hW/il y96X3yCwwkPOdCOdVOy2asoa6gkK69mX1zff9NAlBLl6K+ClrrnSIn1pVwCH6EoKLNMJ kMe5RzAkqe7zgOFW/n9XniT6aIBB+GbQDxNcqMhouZEzOJyZo7/0X44tVsriScZCPh3D eZXSjREmV6hTeRWC6KuC+K3z85BfiZDhfLKc5qkOCbPNf65/8M4wf4Bcl1r7d+8VypAA 0B6vBnLdxAC1qVfWxaecdHwSerGPqiAm9NE0QV+Oj6VJuXDBQL3C90Bk3+BJ5otjkZgr 6r1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=p778h4mDEFACoY3jLIwbbMe6YCGbmf3vLibN4Bx2pk4=; b=mXTgBdUZU2pp9He8hkMndlwVT+MBZSIh+AoxCD6zq6iV1qLb9keD249Kh80HCb71Gs USKCJgLPYRak1Vxp+7je2dIJkxJWnzibpzppyMMe8QSi2U63X8flRnuC2/R21t3nrYI3 1NVaj4LShnio8uVwi6FLYyMhn4HtZ5XzUkCVxinl4b78XpnxM3LCSBC2fdp/dy9LM7m5 xoHFB09BQF0+RWzE3Pem3DzoUU+OQ/F1B5TwD9Zlilh/nzOJFGhPzr5a3UdbX0jubmky DC3h9pcyR5uGto430GQ0YbkjvDikYOb74ip0kc5FRApL+5zkkymA0ia2XnoIJYw8ervU 8ywQ== X-Gm-Message-State: AOAM532w8G2XRvWt382tcWL+eZBejWRpCp7qSqsXXXBHT5LgePoykGZe 9lTuMaV2iTvDH2BPMnhGMHUAO14HXYOw1A== X-Received: by 2002:a92:ce90:: with SMTP id r16mr41615408ilo.220.1621001183633; Fri, 14 May 2021 07:06:23 -0700 (PDT) Received: from [192.168.99.80] (142-79-211-230.starry-inc.net. [142.79.211.230]) by smtp.gmail.com with ESMTPSA id q18sm3094808ile.33.2021.05.14.07.06.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 May 2021 07:06:23 -0700 (PDT) Subject: Re: [PATCH v2 2/4] xen: Export dbgp functions when CONFIG_XEN_DOM0 is enabled To: Boris Ostrovsky , Juergen Gross , Stefano Stabellini , Greg Kroah-Hartman Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org References: <291659390aff63df7c071367ad4932bf41e11aef.1620952511.git.connojdavis@gmail.com> From: Connor Davis Message-ID: <236c31fe-2373-be23-bed4-48012a6a9765@gmail.com> Date: Fri, 14 May 2021 08:06:36 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <291659390aff63df7c071367ad4932bf41e11aef.1620952511.git.connojdavis@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adding Greg and linux-usb On 5/13/21 6:56 PM, Connor Davis wrote: > Export xen_dbgp_reset_prep and xen_dbgp_external_startup > when CONFIG_XEN_DOM0 is defined. This allows use of these symbols > even if CONFIG_EARLY_PRINK_DBGP is defined. > > Signed-off-by: Connor Davis > Acked-by: Juergen Gross > --- > drivers/xen/dbgp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/xen/dbgp.c b/drivers/xen/dbgp.c > index cfb5de31d860..fef32dd1a5dc 100644 > --- a/drivers/xen/dbgp.c > +++ b/drivers/xen/dbgp.c > @@ -44,7 +44,7 @@ int xen_dbgp_external_startup(struct usb_hcd *hcd) > return xen_dbgp_op(hcd, PHYSDEVOP_DBGP_RESET_DONE); > } > > -#ifndef CONFIG_EARLY_PRINTK_DBGP > +#if defined(CONFIG_XEN_DOM0) || !defined(CONFIG_EARLY_PRINTK_DBGP) > #include > EXPORT_SYMBOL_GPL(xen_dbgp_reset_prep); > EXPORT_SYMBOL_GPL(xen_dbgp_external_startup);