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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2481AC433EF for ; Thu, 14 Jul 2022 10:53:35 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 877489401A3; Thu, 14 Jul 2022 06:53:34 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 825F4940134; Thu, 14 Jul 2022 06:53:34 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6EF189401A3; Thu, 14 Jul 2022 06:53:34 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 5F06B940134 for ; Thu, 14 Jul 2022 06:53:34 -0400 (EDT) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 2B29B21376 for ; Thu, 14 Jul 2022 10:53:34 +0000 (UTC) X-FDA: 79685394348.09.9F94515 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by imf14.hostedemail.com (Postfix) with ESMTP id 8A6F910008A for ; Thu, 14 Jul 2022 10:53:33 +0000 (UTC) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 26EAjuQH008236; Thu, 14 Jul 2022 10:53:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pp1; bh=GcThNGg2Yr2aKFd8MolPLAVThyf+NGmaQQcFslu0LEQ=; b=jgCrSLf0TtQvBXRXEoYnF8ny05AluKlyNMeumQrRh798sRWLMRbbmlxmFlqvwRY+J8YN 5buiGt+AA3IezNmaLPoE4mPVT2eIK3LOuEqwQe2kG5tkUtfUmyUe487p0pyLkOpmGRi9 WNHhkPqYaW/v8s2/K7x6BNSBRhpAobHf+xIEPAE5seNbNkrCffitgohr6t/qBCHWMlmy mxB0wDOouwhQnrQYPIfRopoeWzS0kL3Q1lLC/gcDiE0oEkoPkz7VARKaUL1u6vXPvfdH g+/MS4jeiU7ziRXB+y5lCCPEyxIEjS1YRbYIXe05k/2IKPKUUMJdEDoaSNgH0QSKiMLC Pw== Received: from ppma01fra.de.ibm.com (46.49.7a9f.ip4.static.sl-reverse.com [159.122.73.70]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3hahp7r55k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Jul 2022 10:53:32 +0000 Received: from pps.filterd (ppma01fra.de.ibm.com [127.0.0.1]) by ppma01fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 26EAorS8018567; Thu, 14 Jul 2022 10:53:30 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma01fra.de.ibm.com with ESMTP id 3h71a8x949-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Jul 2022 10:53:29 +0000 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 26EArQur12648880 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 14 Jul 2022 10:53:26 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D2BE04203F; Thu, 14 Jul 2022 10:53:26 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7C80342042; Thu, 14 Jul 2022 10:53:26 +0000 (GMT) Received: from osiris (unknown [9.152.212.242]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Thu, 14 Jul 2022 10:53:26 +0000 (GMT) Date: Thu, 14 Jul 2022 12:53:25 +0200 From: Heiko Carstens To: Steffen Eiden Cc: Alexander Gordeev , Christian Borntraeger , Janosch Frank , Claudio Imbrenda , Vasily Gorbik , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, nrb@linux.ibm.com Subject: Re: [PATCH v2 0/3] s390/cpufeature: rework to allow different types of cpufeatures Message-ID: References: <20220713125644.16121-1-seiden@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220713125644.16121-1-seiden@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: GznMXaIexpPSwtwtUOuc_x96QF1jYkAs X-Proofpoint-GUID: GznMXaIexpPSwtwtUOuc_x96QF1jYkAs X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-07-14_08,2022-07-14_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 clxscore=1015 mlxscore=0 malwarescore=0 mlxlogscore=767 spamscore=0 lowpriorityscore=0 phishscore=0 bulkscore=0 suspectscore=0 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2207140044 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1657796013; a=rsa-sha256; cv=none; b=cjrncF0rVcMGq78VCtzyhvEZcOJRy7h7sjogZHej+npjuGQNJvX1emHt7vDg0bSiWwAyUY PhhjUtVAmMj5YNIt1DzRL4HKvNdJJoo2YsnKs5NWIDwFMtn91AUFY2UvtYUPpNCPqxuO// qmFb5lFHyiotqxB8y/FOf1otzHuO220= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=jgCrSLf0; spf=pass (imf14.hostedemail.com: domain of hca@linux.ibm.com designates 148.163.156.1 as permitted sender) smtp.mailfrom=hca@linux.ibm.com; dmarc=pass (policy=none) header.from=ibm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1657796013; h=from:from:sender: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: in-reply-to:in-reply-to:references:references:dkim-signature; bh=GcThNGg2Yr2aKFd8MolPLAVThyf+NGmaQQcFslu0LEQ=; b=OgeGdZ+3DUwAuMgFZgSvN+azIq3GLPNKKkF2Tmjmbf9C+4wZoFkrfCtlPYYPAhYmp+S9Bm gr3tUJwq0cUIxSTjmKz38WDJn72t1OL0k2Kwi98MTu3/sCVZ0Nu97Bb+WuGbguezb9VHe3 zXMTm7hB4w+/UFogrdBf+38V4OlZwlM= X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 8A6F910008A X-Rspam-User: Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=jgCrSLf0; spf=pass (imf14.hostedemail.com: domain of hca@linux.ibm.com designates 148.163.156.1 as permitted sender) smtp.mailfrom=hca@linux.ibm.com; dmarc=pass (policy=none) header.from=ibm.com X-Stat-Signature: t8japy9wprh6dzwu7xexdb64qoj5swq5 X-HE-Tag: 1657796013-88919 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Jul 13, 2022 at 02:56:41PM +0200, Steffen Eiden wrote: > Currently the s390 implementaion of cpufeature is limited to elf_hwcap > bits. Using these to automatically load modules also exposes this > cpufeature to userspace which, sometimes is not intended. > > Therefore, rework the s390-cpufeature implementation to allow for > various cpu feature indications, which is not only limited to hwcap bits. > > Add a new type to allow facilities to be a cpufeature without using > hwcap bits that expose this feature to userspace. > > Load uvdevice when facility 158 is present. > > since v1: > * add r-bs from Claudio > * worked in comments > > Heiko Carstens (2): > s390/cpufeature: rework to allow more than only hwcap bits > s390/cpufeature: allow for facility bits > > Steffen Eiden (1): > s390/uvdevice: autoload module based on CPU facility Series applied, thanks!