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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35B8DEE14D0 for ; Wed, 6 Sep 2023 21:46:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229457AbjIFVqH (ORCPT ); Wed, 6 Sep 2023 17:46:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229725AbjIFVqG (ORCPT ); Wed, 6 Sep 2023 17:46:06 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBB3819AF for ; Wed, 6 Sep 2023 14:45:57 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2bcc4347d2dso5995551fa.0 for ; Wed, 06 Sep 2023 14:45:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1694036756; x=1694641556; darn=vger.kernel.org; h=cc:to:subject:message-id:date:user-agent:from:references :in-reply-to:mime-version:from:to:cc:subject:date:message-id :reply-to; bh=96tt7mjy0zwf48H2OXBzxLiMPsP9ITEZSEJu0hJniYk=; b=eahnv0VB1W2A/p6gU0kAa6MJ/xwki4ql73NMOxJrT3haG/DOCDCafuPra22wHTHNjM j2LMW0hVdWrP5OmZL9J+grEbI6NgQkgZk8DvjLZrRS99HVSJbrJRWS4JRtXWvhv5PkN1 O/HuD5U5V3/UGPi77chy9kViGKIkhSUqHjzQI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694036756; x=1694641556; h=cc:to:subject:message-id:date:user-agent:from:references :in-reply-to:mime-version:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=96tt7mjy0zwf48H2OXBzxLiMPsP9ITEZSEJu0hJniYk=; b=aVClAUr7W5ScEBNy7uDYxzbV7ywMqrWyxywB/PlZ/xJWmoyRJXa2WY3zBhP+f6BJ4L 5zW0zN1vApYwFMIaWiXeMcKq+ALMw/Sn2eAIBUPXqjbR8gBo02M/DS/LJDTbQB/TyKeh KC00j+V+LaT3CEVIOAgQhhsthp4cx6Ugohq/L5A+kWfkg0Q1/k3k53o2mizEiNsMF2+M TzvJXPjSaG2+EPvAakDLwX0he9+YMpehuDEp10Qbwd8mohyLY5ys5VBEqKNwb+HPCQvo Jlye1SD2kbot1aj/OdjzC45ieErYyvM0pgGIf7y0IsLX5yk+VAtmPiiCzdCYRW71kDVM 5Auw== X-Gm-Message-State: AOJu0YwU/aOCMzfUTTnQCQp3Zrh2k52QN2WojouZ0eLyxmcw4Goe5iBj BEpAy7O/QqZMvs3lbxcO5iYX1kTd55eEFf5jlaFyyA== X-Google-Smtp-Source: AGHT+IEYoUZI7EWDiVFAQU39A6TrMXW8B5b18tDscF/EUhrbaZ1WRb+HiEMWcNMeUUEWh0eVYCDRP1QX9A6MMJC7hB8= X-Received: by 2002:a05:6512:2820:b0:4fd:c84f:30d4 with SMTP id cf32-20020a056512282000b004fdc84f30d4mr3797056lfb.36.1694036756018; Wed, 06 Sep 2023 14:45:56 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 6 Sep 2023 16:45:55 -0500 MIME-Version: 1.0 In-Reply-To: <20230906090246.v13.7.I625d393afd71e1766ef73d3bfaac0b347a4afd19@changeid> References: <20230906160505.2431857-1-dianders@chromium.org> <20230906090246.v13.7.I625d393afd71e1766ef73d3bfaac0b347a4afd19@changeid> From: Stephen Boyd User-Agent: alot/0.10 Date: Wed, 6 Sep 2023 16:45:55 -0500 Message-ID: Subject: Re: [PATCH v13 7/7] arm64: smp: Mark IPI globals as __ro_after_init To: Catalin Marinas , Daniel Thompson , Douglas Anderson , Marc Zyngier , Mark Rutland , Sumit Garg , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, "Rafael J . Wysocki" , Lecopzer Chen , Chen-Yu Tsai , Tomohiro Misono , Peter Zijlstra , Masayoshi Mizuma , Stephane Eranian , Ard Biesheuvel , kgdb-bugreport@lists.sourceforge.net, linux-perf-users@vger.kernel.org, Thomas Gleixner , ito-yuichi@fujitsu.com, Chen-Yu Tsai , jpoimboe@kernel.org, linux-kernel@vger.kernel.org, scott@os.amperecomputing.com, vschneid@redhat.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org Quoting Douglas Anderson (2023-09-06 09:03:02) > Mark the three IPI-related globals in smp.c as "__ro_after_init" since > they are only ever set in set_smp_ipi_range(), which is marked > "__init". This is a better and more secure marking than the old > "__read_mostly". > > Suggested-by: Stephen Boyd > Acked-by: Mark Rutland > Tested-by: Chen-Yu Tsai > Signed-off-by: Douglas Anderson > --- Reviewed-by: Stephen Boyd