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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 59BA0C433EF for ; Fri, 8 Apr 2022 16:06:09 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4KZjlz5ZqHz3bWf for ; Sat, 9 Apr 2022 02:06:07 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=K0YhABMr; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux.ibm.com (client-ip=148.163.158.5; helo=mx0a-001b2d01.pphosted.com; envelope-from=zohar@linux.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=K0YhABMr; dkim-atps=neutral Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4KZjlC1ZmWz2yS3 for ; Sat, 9 Apr 2022 02:05:26 +1000 (AEST) Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 238FWNDs004976; Fri, 8 Apr 2022 16:05:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : mime-version : content-transfer-encoding; s=pp1; bh=iNBiKma26w+0R44hNOoECeN1UHi+2McPDK0VaxNI7eA=; b=K0YhABMrk3OSOqXcScei/wOBH6lD0uzN1AYiP27JJJdtEgNyOen3R4lIEglZhMrdUExi 9oVt+eusWhyvWSW5bolD0dA2aEjSImwfyF6P2X9e8gS/TP/JfJgsvagJdeO56JapP8Z8 laqn6g1yo+qdD9UCpHPESYRZhSiAu/uiCTv9SIRQimNJXMN71SJ8o1BhSxyaX5pnt5US 3LGyCBYv3AqODht4W444hMDqiq0LaOcvra6NnJMZEA36IY2ZENfs39NS/s54NryL9yAV xTpxxLtWp8xVlY98q11Pjcsi6FttHLxv5b2BLwOw8r2IX4199C0xGWHfsoVkjOjSVMwf uw== Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0b-001b2d01.pphosted.com with ESMTP id 3fad2gwkuc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Apr 2022 16:05:16 +0000 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 238G3Ed3020167; Fri, 8 Apr 2022 16:05:15 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma06ams.nl.ibm.com with ESMTP id 3f6drhv38x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Apr 2022 16:05:14 +0000 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 238G5CCN53215508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 8 Apr 2022 16:05:12 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7BEBC4203F; Fri, 8 Apr 2022 16:05:12 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5C74B42041; Fri, 8 Apr 2022 16:05:11 +0000 (GMT) Received: from sig-9-65-90-167.ibm.com (unknown [9.65.90.167]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 8 Apr 2022 16:05:11 +0000 (GMT) Message-ID: Subject: Re: [PATCH] powerpc: Mark arch_get_ima_policy() and is_ppc_trustedboot_enabled() as __init From: Mimi Zohar To: Michael Ellerman , linuxppc-dev@lists.ozlabs.org Date: Fri, 08 Apr 2022 12:05:10 -0400 In-Reply-To: <20220407141520.733735-1-mpe@ellerman.id.au> References: <20220407141520.733735-1-mpe@ellerman.id.au> Content-Type: text/plain; charset="ISO-8859-15" X-Mailer: Evolution 3.28.5 (3.28.5-18.el8) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: lZGqou2AZc6mHWP9byjX-9CEU8xU8qhM X-Proofpoint-GUID: lZGqou2AZc6mHWP9byjX-9CEU8xU8qhM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.425,FMLib:17.11.64.514 definitions=2022-04-08_05,2022-04-08_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 lowpriorityscore=0 suspectscore=0 mlxlogscore=861 adultscore=0 impostorscore=0 spamscore=0 phishscore=0 clxscore=1011 bulkscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204080081 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nayna@linux.ibm.com, dja@axtens.net Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Fri, 2022-04-08 at 00:15 +1000, Michael Ellerman wrote: > We can mark arch_get_ima_policy() as __init because it's only caller > ima_init_arch_policy() is __init. We can then mark > is_ppc_trustedboot_enabled() __init because its only caller is > arch_get_ima_policy(). > > Signed-off-by: Michael Ellerman I assume you want to upstream this via power, Reviewed-by: Mimi Zohar thanks, Mimi