Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp455774pxb; Wed, 3 Feb 2021 09:15:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJzheQkoSF3x36ezWVnLP114yx6A79Z/3nsGi4yzdmPrKVGej+ZITM9J2gPTGd5Io/JfZxpE X-Received: by 2002:a17:906:af58:: with SMTP id ly24mr4303252ejb.208.1612372550058; Wed, 03 Feb 2021 09:15:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612372550; cv=none; d=google.com; s=arc-20160816; b=pEP57XI8FhLhMnPJLor2CNJcucrOkRBFVM4LI9l8zkqkD/2R8ucIzC0G+hopplhqIt znJNyV+LsKkMza9fZPWosiKE8zUa/bcIwH6KBverew97lWoN4sTbIFs+jccNkwllHqXm 4i9Yle0ayFihv5hbfmuFS0SGnR3KKP67zpoxICY1IGUTbCW76fGpI0y1SNDKerxndyUx QibsgR5vlBRuYHnCvql8qb0JDjzENMLI9BRhZ5od/z8MeXHM1ibXMOS0zay10kp3blH8 gwrkb0m+9jPvy148Yk7lftcxDSkSciFG6Pr4qK80dhiZJzZj9/r/isMnAC1KAKhcHDUO 9IPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=r7si+zACyMa/4dEAc8TIeS4gERRDsVSPiJmZEEJoLuY=; b=L4kEWKGPMxU6/ySd9P6WdyZJq8AOS7M/8aSGf+5hA2z8+iNh/eHkMHZbzpkjTuLGIJ O2J9Ig1RZONkK/0T3yHa6WpCEmuV8ASLE/C3FD6GoHVP2euaMhyFkDhtXE1H5PqUa9Hw A2Yb4VTf4gUHeU/C03YMtdefHtFSkAjeNNCaKQbPGMqho4xnxWnuKzxVffQl5Q6FyFVw PTfzpaG37MHaPWaCIJFKCl0TndIxLrn09+4ewy+0km+5fVoKXzodHayvPZRU50W18YAb TqT4hHB7NR0oM/I9AKRjzPLWqdvfaFDM7sxRAqG2M+ksfHeSgx8p28dGEWU8GH4L/cc7 CjqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=MaoSslkY; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v7si1873443edj.572.2021.02.03.09.15.24; Wed, 03 Feb 2021 09:15:50 -0800 (PST) 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=@infradead.org header.s=merlin.20170209 header.b=MaoSslkY; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231402AbhBCROc (ORCPT + 99 others); Wed, 3 Feb 2021 12:14:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230368AbhBCROb (ORCPT ); Wed, 3 Feb 2021 12:14:31 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1601BC0613ED for ; Wed, 3 Feb 2021 09:13:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=r7si+zACyMa/4dEAc8TIeS4gERRDsVSPiJmZEEJoLuY=; b=MaoSslkYacP7kJBebrhxe1gS9H utJGH4jHsoodvJOkNWQPgUX6crZvFK2LQeVQFDRVHPpftmBHrmmshODUyOGPRS+e0SKRcWDGkqF7R zwhGjZiB1w5j8ByfMhSAbmJKy2wuPPKMetlEfx5i65CWU45XX6rkR9BjCz2L7cQ3OoUztgdRQn6dG tNVH3utqycDQOBZ96tVoFWZ1EiGEm+q3y7IIY8UDOmTbFaAe0GLNTykQY1AIv7YKqrtfi9xRHYqGR ZObdXNiSfxllMKQs2dyoDIE2kTR2EZcRVvM2llNX5ZOscijKboNL/CVAekOaN9ZYQCARV+m3Rxooj MpYor0dw==; Received: from [2601:1c0:6280:3f0::aec2] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1l7Lio-00081A-VD; Wed, 03 Feb 2021 17:13:43 +0000 Subject: Re: [PATCH 1/2] misc/pvpanic: split-up generic and platform dependent code To: Mihai Carabas , linux-kernel@vger.kernel.org Cc: gregkh@linuxfoundation.org, arnd@arndb.de, andriy.shevchenko@linux.intel.com, bobo.shaobowang@huawei.com References: <1612363439-26656-1-git-send-email-mihai.carabas@oracle.com> <1612363439-26656-2-git-send-email-mihai.carabas@oracle.com> From: Randy Dunlap Message-ID: <9080b512-33a8-e9f9-7c4c-bc2572ab7e5c@infradead.org> Date: Wed, 3 Feb 2021 09:13:39 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <1612363439-26656-2-git-send-email-mihai.carabas@oracle.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/3/21 6:43 AM, Mihai Carabas wrote: > diff --git a/drivers/misc/pvpanic/Kconfig b/drivers/misc/pvpanic/Kconfig > new file mode 100644 > index 00000000..12bb017 > --- /dev/null > +++ b/drivers/misc/pvpanic/Kconfig > @@ -0,0 +1,14 @@ > +config PVPANIC > + bool "pvpanic device support" > + depends on PVPANIC_MMIO > + help > + This option enable generic code for pvpanic device driver logic. > + > +config PVPANIC_MMIO > + tristate "pvpanic mmio device support" MMIO Also capitalize PCI in the other patch in the similar location. > + depends on HAS_IOMEM && (ACPI || OF) > + select PVPANIC > + help > + This driver provides support for the pvpanic device. pvpanic is > + a paravirtualized device provided by QEMU; it lets a virtual machine > + (guest) communicate panic events to the host. thanks. -- ~Randy