From patchwork Tue Sep 22 07:47:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 11791717 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8D0246CB for ; Tue, 22 Sep 2020 07:48:06 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 5568423A34 for ; Tue, 22 Sep 2020 07:48:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="W1rtxP60" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5568423A34 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kKd1H-0000tH-RV; Tue, 22 Sep 2020 07:47:23 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kKd1F-0000tC-QX for xen-devel@lists.xenproject.org; Tue, 22 Sep 2020 07:47:21 +0000 X-Inumbo-ID: 5a1e98d6-b899-4298-a6dd-27acf54417bc Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 5a1e98d6-b899-4298-a6dd-27acf54417bc; Tue, 22 Sep 2020 07:47:20 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1600760839; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OnfcQuKerl4IvxbHw9VkWcq8AepYPm/fL7aAKlQXWY8=; b=W1rtxP60ZgU5v97DbgG5TeXhijt0yE6lx8zR/Qv6P9Dn6J9G7230Z3Bb/8vbT3holaEEaL s3VGB0mF5hKvWIY86juIL9nS8iGQM//Z3DNOD4A3kq5pQ/BagjpfcEWPVDAm4+M6a6NdiK JGdAWiUjUmYAcidxFnQ/QxxwcRW6Bjs= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 18093ACC2; Tue, 22 Sep 2020 07:47:56 +0000 (UTC) To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , George Dunlap , Ian Jackson , Julien Grall , Wei Liu , Stefano Stabellini From: Jan Beulich Subject: [PATCH] common/Kconfig: sort HAS_* Message-ID: <5b40fddf-3d43-a105-2528-a448b2df020a@suse.com> Date: Tue, 22 Sep 2020 09:47:19 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Language: en-US X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Later additions look to have been put at the end, with MEM_ACCESS* somewhere in the middle. Re-sort this part of the file, in the hope that future additions will be made noticing the intentions here. Signed-off-by: Jan Beulich Acked-by: Julien Grall --- a/xen/common/Kconfig +++ b/xen/common/Kconfig @@ -34,16 +34,11 @@ config HAS_EX_TABLE config HAS_FAST_MULTIPLY bool -config MEM_ACCESS_ALWAYS_ON +config HAS_IOPORTS bool -config MEM_ACCESS - def_bool MEM_ACCESS_ALWAYS_ON - prompt "Memory Access and VM events" if !MEM_ACCESS_ALWAYS_ON - ---help--- - - Framework to configure memory access types for guests and receive - related events in userspace. +config HAS_KEXEC + bool config HAS_MEM_PAGING bool @@ -51,17 +46,22 @@ config HAS_MEM_PAGING config HAS_PDX bool -config HAS_UBSAN +config HAS_SCHED_GRANULARITY bool -config HAS_KEXEC +config HAS_UBSAN bool -config HAS_IOPORTS +config MEM_ACCESS_ALWAYS_ON bool -config HAS_SCHED_GRANULARITY - bool +config MEM_ACCESS + def_bool MEM_ACCESS_ALWAYS_ON + prompt "Memory Access and VM events" if !MEM_ACCESS_ALWAYS_ON + ---help--- + + Framework to configure memory access types for guests and receive + related events in userspace. config NEEDS_LIBELF bool