Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp924842ybl; Sun, 1 Dec 2019 16:11:50 -0800 (PST) X-Google-Smtp-Source: APXvYqyd+hDLhnCwh2/N76p6eP6LzQEW3mmwoDVQFMCjaWSVv6DrLkCo+U/H4yaeDy1HAaoyt7u3 X-Received: by 2002:aa7:cccf:: with SMTP id y15mr23970048edt.108.1575245509925; Sun, 01 Dec 2019 16:11:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575245509; cv=none; d=google.com; s=arc-20160816; b=NhQRhQVDg6dvW0WsfkmDuULagVKzBKoVXQOW/FsVJBnDmb9i5Jn9WUmz3/Ywv4sFSl YgrgSOX5nxL66NKJOiUPYx/kUD7ia+PCJnj+vg0WeFu1Ljr2q3PaszxbJ/5GcJMVTocQ ozhgCp1QkukIJksk9fOITXqMn1dEdYggXUilBbEsam99PbD6GiYbk2tSOVZ+0PRhP00n hMMRlIEroDm9xDRPTSvo3ujv6/irmb2x7IMDBvaq9aLGdQ46m/q8oQ0b1AlFTEYhgri2 G9H9yGF3Aq6JfXjNgKMohap2iX3cEIpEyXJRFxR8ApmD30NBT7zv41WLsWa+7IZr7IZk BU8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=VJ9W/7aocUwuhCqnp3jSN26KGyjwhy8lAJIBhLLxEqQ=; b=DePj7ik+BwEM+HT24L1ml8D51dJ99J02z+eU/f6IbNXqLTXpUxr6L/FVHhZitECuI+ G3ttoKtVIaN8A4fMbsGR6YInOrCWBSLSdb8C96WL/1bnSrCL03S6Awmo1wMCs7uwVI91 +ovC9GYb68A1186lBl1ixKgBcwUP/MkLa1WsQFB+MfvHX/AwU7RzHCjM3YUXozt608s2 T1Qega17+/X0B9MdQQ6Q5W0a62N3ofC5WuT9txyiALfEISXEhLJjN50JLGawgIfbUmif bPwf5nNkUGM8wi6x5vBPv4d8Tgq7namYEiSajjEdBIZ3ONVtf2XNVSARVLqeLZFiE4Y6 sLuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dd21si15263893edb.111.2019.12.01.16.11.26; Sun, 01 Dec 2019 16:11:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727450AbfLBAHj (ORCPT + 99 others); Sun, 1 Dec 2019 19:07:39 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:3834 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727266AbfLBAHj (ORCPT ); Sun, 1 Dec 2019 19:07:39 -0500 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xB202HVf017837; Sun, 1 Dec 2019 19:06:23 -0500 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 2wm6s4dnbh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 01 Dec 2019 19:06:23 -0500 Received: from m0098393.ppops.net (m0098393.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id xB203gXj021217; Sun, 1 Dec 2019 19:06:23 -0500 Received: from ppma02dal.us.ibm.com (a.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.10]) by mx0a-001b2d01.pphosted.com with ESMTP id 2wm6s4dnay-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 01 Dec 2019 19:06:22 -0500 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id xB2054Vo028893; Mon, 2 Dec 2019 00:06:21 GMT Received: from b03cxnp08026.gho.boulder.ibm.com (b03cxnp08026.gho.boulder.ibm.com [9.17.130.18]) by ppma02dal.us.ibm.com with ESMTP id 2wkg261e9t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 02 Dec 2019 00:06:21 +0000 Received: from b03ledav003.gho.boulder.ibm.com (b03ledav003.gho.boulder.ibm.com [9.17.130.234]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id xB206JH152429162 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 2 Dec 2019 00:06:19 GMT Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 628D16A047; Mon, 2 Dec 2019 00:06:19 +0000 (GMT) Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 826696A057; Mon, 2 Dec 2019 00:06:08 +0000 (GMT) Received: from swastik.ibm.com (unknown [9.160.75.73]) by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTP; Mon, 2 Dec 2019 00:06:08 +0000 (GMT) Subject: Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.5-1 tag To: Linus Torvalds , Michael Ellerman , Mimi Zohar Cc: ajd@linux.ibm.com, alastair@d-silva.org, "Aneesh Kumar K.V" , asteinhauser@google.com, Bjorn Helgaas , Qian Cai , chris.packham@alliedtelesis.co.nz, chris.smart@humanservices.gov.au, Christophe Leroy , clg@kaod.org, cmr@informatik.wtf, David Hildenbrand , debmc@linux.vnet.ibm.com, Geert Uytterhoeven , gwalbon@linux.ibm.com, harish@linux.ibm.com, hbathini@linux.ibm.com, Christoph Hellwig , krzk@kernel.org, leonardo@linux.ibm.com, Linux Kernel Mailing List , Rasmus Villemoes , linuxppc-dev@lists.ozlabs.org, linuxram@us.ibm.com, madalin.bucur@nxp.com, Mathieu Malaterre , msuchanek@suse.de, Nathan Chancellor , nathanl@linux.ibm.com, Nayna Jain , Nick Piggin , "Oliver O'Halloran" , oss@buserror.net, ravi.bangoria@linux.ibm.com, Russell Currey , sbobroff@linux.ibm.com, thuth@redhat.com, tyreld@linux.ibm.com, vaibhav@linux.ibm.com, valentin@longchamp.me, yanaijie@huawei.com, YueHaibing References: <877e3hfxyq.fsf@mpe.ellerman.id.au> From: Nayna Message-ID: Date: Sun, 1 Dec 2019 19:06:06 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-12-01_04:2019-11-29,2019-12-01 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 adultscore=0 mlxlogscore=688 suspectscore=0 clxscore=1011 priorityscore=1501 phishscore=0 bulkscore=0 malwarescore=0 spamscore=0 impostorscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1912010217 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/30/19 5:42 PM, Linus Torvalds wrote: > [ Only tangentially related to the power parts ] > > On Sat, Nov 30, 2019 at 2:41 AM Michael Ellerman wrote: >> There's some changes in security/integrity as part of the secure boot work. They >> were all either written by or acked/reviewed by Mimi. > -#if (defined(CONFIG_X86) && defined(CONFIG_EFI)) || defined(CONFIG_S390) > +#if (defined(CONFIG_X86) && defined(CONFIG_EFI)) || defined(CONFIG_S390) \ > + || defined(CONFIG_PPC_SECURE_BOOT) > > This clearly should be its own CONFIG variable, and be generated by > having the different architectures just select it. > > IOW, IMA should probably have a > > config IMA_SECURE_BOOT > > and then s390 would just do the select unconditionally, while x86 and > ppc would do > > select IMA_SECURE_BOOT if EFI > > and > > select IMA_SECURE_BOOT if PPC_SECURE_BOOT > > respectively. > > And then we wouldn't have random architectures adding random "me me me > tooo!!!" type code. Thanks Linus for your feedback. I will do the patch for Kconfig cleanup. Thanks & Regards,        - Nayna