Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp311522pxv; Wed, 30 Jun 2021 06:16:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxui11/UlyzPL1zumxj35XwYzIypPhnUS2Kw0JQISUJFdw21o8qoxEzRs0pJZZExKpQO4xy X-Received: by 2002:aa7:c38f:: with SMTP id k15mr46950123edq.156.1625059004482; Wed, 30 Jun 2021 06:16:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625059004; cv=none; d=google.com; s=arc-20160816; b=oUgaTQEtq/Wk+UyrWWX4e8S0H/3LuVXUlkLOInxfPmZVhZ+n1tngshHgrkCLOwcerd de/PGJngXQUuUdoD3GMNTzU5+pWlyvWgm6QkQBxv1y0GGGhf4HJyMnvVf/b/0nVUy6hO JmRcvykKyeqUBYWh0z7lNZBSMdj/hFn8qRyBpHhSxMlx5hs1bkma2iyLq0WI8jZLQiAk TRhhrsFfAXxR90EoSvbMt8ttTkCse4uyxyUypYZUK/h+M5d3NABrBFWPC1mVSBxf0iE4 8pLaEK6pFuFX1Qvq9Xh61EYcnJEha5o3eRGOPNbxeTuTVxaRRAkd3VPHyclrdhBGbK07 QdJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=whXho4C0LaoN2aFEOrBiebGSelAlgw0Eqc3Mz8DHcEk=; b=qSLbCqPE0P91le0lxjNsHN6SQypuEyFhRt0ivEDzsS9WV+SxbsETQlZOEv6t0dGZ0s 9ovVEwRmWW9aq+ys7DbQ+KEG7CQZ+0Cu/lb19+7my7+8RAYN9/duS3NORzvvR2f8MRyc fqE2/rhFIOS/jSU8Rd4riaIsMfhPbsJQH2beHf3KVWS51epdLjba+O5FKRFauZwUNlO7 Uv44S7B92/Ry6eneP63sqbNnzObkTR+2QJfCLWFYW8ftOcwx/+a+cjguVL7KtbTBf9iP i8LqjqDYor20ZzBsVLJ0LHLbxM6KUEE7dsdEgw43cywdoUPJbYbpFb0rn8cH1Z/ok65Y gxUg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p8si1270998edj.74.2021.06.30.06.16.18; Wed, 30 Jun 2021 06:16:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234718AbhF3NRw (ORCPT + 99 others); Wed, 30 Jun 2021 09:17:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234702AbhF3NRv (ORCPT ); Wed, 30 Jun 2021 09:17:51 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08E73C061756 for ; Wed, 30 Jun 2021 06:15:20 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4GFMK10pm6z9sVm; Wed, 30 Jun 2021 23:15:16 +1000 (AEST) From: Michael Ellerman To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Christophe Leroy Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org In-Reply-To: <42f4bd12b476942e4d5dc81c0e839d8871b20b1c.1624863319.git.christophe.leroy@csgroup.eu> References: <42f4bd12b476942e4d5dc81c0e839d8871b20b1c.1624863319.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH] powerpc/32s: Fix setup_{kuap/kuep}() on SMP Message-Id: <162505885576.174506.2852417119553122234.b4-ty@ellerman.id.au> Date: Wed, 30 Jun 2021 23:14:15 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 28 Jun 2021 06:56:11 +0000 (UTC), Christophe Leroy wrote: > On SMP, setup_kup() is also called from start_secondary(). > > start_secondary() is not an __init function. > > Remove the __init marker from setup_kuep() and and setup_kuap(). Applied to powerpc/next. [1/1] powerpc/32s: Fix setup_{kuap/kuep}() on SMP https://git.kernel.org/powerpc/c/c89e632658e793fbbdcbfbe80a6c13bbf7203e9b cheers