Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5457386imw; Wed, 20 Jul 2022 06:13:37 -0700 (PDT) X-Google-Smtp-Source: AGRyM1suSGGDZgiahR/iSh/dBEF5M5EIgOjZHNha6Sqn9pc5/PhPykIHhV45otAdEfxrpi0Htsv+ X-Received: by 2002:a63:dd43:0:b0:416:8be5:94d6 with SMTP id g3-20020a63dd43000000b004168be594d6mr34421542pgj.450.1658322817544; Wed, 20 Jul 2022 06:13:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658322817; cv=none; d=google.com; s=arc-20160816; b=ZaDVdlA2gMEZo2AzCyCsvJX06EfEtk4G+VtGGH4pDWHAIbai0C2bxuqysHBQ9Mhq1I +ZSIYyW0I07/ryjWw1MaYgTeqMcXtb2390ejqcei6wy6hs+nNHgNHUeiqGNV1cS1wu+0 I6/ogbCfehUxs6tiFx/b1ShVRQNnDynO6YAolYLWPvS3bqqWw8ABqsFg4joddDHN9yg2 m3qv/KYrFQ5ibxk3APm50N3s1oeiq81wi/belOIAKvC4QcvG9+Cw78ahfPY4a1jdzP6p 5yYlmsiOO0DuoxomG3XNXJIn3LUBY27jnZgfM7BKMyW3BjmIpXNZnJJQWCa/V8WQGbHb 4cQw== 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 :message-id:date:subject:cc:to:from; bh=mSY6Jrdb5Yyo2pogifBYhF5cOjhOPJ+JGb0F3QnCXl0=; b=iR8sEqphJcwTF2TjyFU1HkHWw8iV5vKvCyTTN7L28Wl7oYpmCKGVfQgawMzIrhnne0 p0c5ZtOp0xaa7MFjVMoJ4QeXcThEufwwRYxNWOO31I6Bh7pcDIN8O/eu/vWqnjFus0/R 3Bu9cwiPKCn+G1zyW8xoYPjyc4VXNA4dCl0bpdiXK/mRj9AMZ8yWhGClkuVUP5l6U1Ng 2kC0N9aFC44WmxtjLKV+HCYkAxkMitrl9eR1aos8koP3Tf56ILxFbzb+fyUS1EF5p/l5 mKS+AzE+1dQF5VJXtQqGW6yqxhaJIxM0gIPDpKdqdd8d5RbQwaUU12FPI76LygnplULC k7jA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lx13-20020a17090b4b0d00b001ecd1073f0dsi2532661pjb.140.2022.07.20.06.13.22; Wed, 20 Jul 2022 06:13:37 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234199AbiGTM4D (ORCPT + 99 others); Wed, 20 Jul 2022 08:56:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229618AbiGTM4C (ORCPT ); Wed, 20 Jul 2022 08:56:02 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 668AC252; Wed, 20 Jul 2022 05:56:01 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1BA311576; Wed, 20 Jul 2022 05:56:01 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E830F3F70D; Wed, 20 Jul 2022 05:55:58 -0700 (PDT) From: Sudeep Holla To: Sudeep Holla , "Rafael J. Wysocki" , Greg Kroah-Hartman Cc: Dietmar Eggemann , Pierre Gondois , linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, Guenter Roeck , linux-acpi@vger.kernel.org, Conor Dooley , linux-kernel@vger.kernel.org, Geert Uytterhoeven , Ionela Voinescu Subject: [PATCH v3 0/3] arch_topology/cacheinfo: Fixes for v5.20 Date: Wed, 20 Jul 2022 13:55:37 +0100 Message-Id: <20220720-arch_topo_fixes-v3-0-43d696288e84@arm.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE 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 These are fixes for the cacheinfo/arch_topology updates containing [0] queued currently in the -next via [3]. Signed-off-by: Sudeep Holla --- Changes in v3 from v2[2]: - Dropped mapping and unmapping of PPTT at runtime using acpi_{get,put}_table() to avoid "BUG: sleeping function called from invalid context" - Added tested-by from Geert Changes in v2[2] from v1[1]: - Changed the cacheinfo per-cpu allocation to be atomic to fix possible "BUG: sleeping function called from invalid context" - Added all the received tags [0] https://lore.kernel.org/all/20220704101605.1318280-1-sudeep.holla@arm.com [1] https://lore.kernel.org/all/20220713133344.1201247-1-sudeep.holla@arm.com [2] https://lore.kernel.org/all/20220715102609.2160689-1-sudeep.holla@arm.com [3] https://lore.kernel.org/all/20220706124644.2276077-1-sudeep.holla@arm.com --- Sudeep Holla (3): cacheinfo: Use atomic allocation for percpu cache attributes ACPI: PPTT: Leave the table mapped for the runtime usage arch_topology: Fix cache attributes detection in the CPU hotplug path drivers/acpi/pptt.c | 102 ++++++++++++++++++++----------------------- drivers/base/arch_topology.c | 16 +++---- drivers/base/cacheinfo.c | 2 +- 3 files changed, 54 insertions(+), 66 deletions(-) --- base-commit: 7128af87c7f1c30cd6cebe0b012cc25872c689e2 change-id: 20220720-arch_topo_fixes-d91d43827aeb Best regards, -- Regards, Sudeep