From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 52708C433F5 for ; Mon, 9 May 2022 11:48:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233093AbiEILwu (ORCPT ); Mon, 9 May 2022 07:52:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233306AbiEILwt (ORCPT ); Mon, 9 May 2022 07:52:49 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 390B7227048; Mon, 9 May 2022 04:48:54 -0700 (PDT) Received: from [127.0.0.1] (unknown [46.183.103.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 601E71EC0529; Mon, 9 May 2022 13:48:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1652096927; 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: in-reply-to:in-reply-to:references:references; bh=OBcNvdGojA+kgezS1jEjzLjyoytYIqi04DLdwTBilBk=; b=jS4tFDIHbr7C3Uu/RAAiy+WGqeZJHXRjw/EI6aNobbXRodJ0Tb4PfSNpoOHW+KbqVJeaHw cv0CqgBMT/MbupN4iHymfPvSKpYZkSx6O42ICf+XF0of+KIBHBQgjFpRjluZ0Nz7tlLUS1 0hHrdCu2/GVq2VEhhdnUoA07R5Levug= Date: Mon, 09 May 2022 13:48:44 +0200 From: Boris Petkov To: Juergen Gross , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, x86@kernel.org, linux-s390@vger.kernel.org, virtualization@lists.linux-foundation.org CC: Arnd Bergmann , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" , Andy Lutomirski , Peter Zijlstra , "Michael S. Tsirkin" , Jason Wang , Christoph Hellwig , Oleksandr Tyshchenko Subject: Re: [PATCH v3 1/2] kernel: add platform_has() infrastructure User-Agent: K-9 Mail for Android In-Reply-To: <20220504155703.13336-2-jgross@suse.com> References: <20220504155703.13336-1-jgross@suse.com> <20220504155703.13336-2-jgross@suse.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-s390@vger.kernel.org On May 4, 2022 5:57:02 PM GMT+02:00, Juergen Gross wro= te: >Add a simple infrastructure for setting, resetting and querying >platform feature flags=2E > >Flags can be either global or architecture specific=2E > >Signed-off-by: Juergen Gross >--- >V2: >- rename set/reset functions to platform_[set|clear]() (Boris Petkov, > Heiko Carstens) >- move function implementations to c file (Boris Petkov) >--- > MAINTAINERS | 8 ++++++++ > include/asm-generic/Kbuild | 1 + > include/asm-generic/platform-feature=2Eh | 8 ++++++++ > include/linux/platform-feature=2Eh | 15 ++++++++++++++ > kernel/Makefile | 2 +- > kernel/platform-feature=2Ec | 27 ++++++++++++++++++++++++++ > 6 files changed, 60 insertions(+), 1 deletion(-) > create mode 100644 include/asm-generic/platform-feature=2Eh > create mode 100644 include/linux/platform-feature=2Eh > create mode 100644 kernel/platform-feature=2Ec Nice and simple, I like=2E Acked-by: Borislav Petkov --=20 Sent from a device which is good for reading mail but awful for writing=2E= Please excuse any shortcomings=2E