Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp449782imw; Thu, 14 Jul 2022 04:42:34 -0700 (PDT) X-Google-Smtp-Source: AGRyM1um7+VIshhHGwT4hGpDw5nT/DKKMaGWLIaQWCFzI8Pir64jIuMi6QIeoOwNtAIc0Yhz6eK/ X-Received: by 2002:a17:90b:3ec4:b0:1f0:5aab:48db with SMTP id rm4-20020a17090b3ec400b001f05aab48dbmr15952047pjb.117.1657798954177; Thu, 14 Jul 2022 04:42:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657798954; cv=none; d=google.com; s=arc-20160816; b=XANPJgqIf49+2pYyjUE7AU60u4ww0FQcuxflsLFD176MT4udHYQN+qC0Xvzt3heMdX UAxHQ9g7ZXNdZizfV0/7Xgh8ts9aYZ4zOoUWHa+2BrQbpya19R2ilQRWmsEqsjo0B/9A lflNEuJUyHMxy/MJEAb1hDLniZGwQM8xQjogyXcaPaoTZ6Zik/URHwERE+pMI6no5qGr HeVCRGfCrMlNZg54vV3huW20B2LjhxeI1WdgT/hZEIzpwGkYgd2w/w4SUieTHVsbb6D0 Y4N+Ar2u2OoYJXtepW3LfSPAm4o2dXvpDyb4aGL+hM48J9OhieeHtJhYlSHVxaap6FVs aGCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GcThNGg2Yr2aKFd8MolPLAVThyf+NGmaQQcFslu0LEQ=; b=jv9EQ8pS7SwxcNrE1ROjWNV/lYfgv3/qja8wTz/o00hUJMPbDPBkCgf8d2CLUDHSkC M/n9dhL6yoEe9cvUO/f0IPOPDpJEEqB3E2m1tIaXdnxDM1JMfMBcyiP5owPnVYEbvmDg BlrWXCU+Mo3X2iEuiwhm4woLghWnrt+BvnENmkxHgfa3E82yhRu6Gme6xqwzdHQsYhRh NDhHYxLNWJaA3nH0wGpt51l5D8CDiexDM5BrTgIji14ZYePFPXpYsUHUhHjp9m9i3nmP CJqpg3DvhEf/flg4GqJbo+SBDVwVZDCn/qxKZxDF1E3pENL1QdoQMQ1dRgTznG3FfngO kD4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=jgCrSLf0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q6-20020a056a00084600b0052ade51b8a7si2118561pfk.361.2022.07.14.04.42.21; Thu, 14 Jul 2022 04:42:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=jgCrSLf0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233255AbiGNKxj (ORCPT + 99 others); Thu, 14 Jul 2022 06:53:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230307AbiGNKxg (ORCPT ); Thu, 14 Jul 2022 06:53:36 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DA233B2; Thu, 14 Jul 2022 03:53:34 -0700 (PDT) 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 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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!