From patchwork Sat Dec 3 02:48:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Williams X-Patchwork-Id: 13063395 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00187C4321E for ; Sat, 3 Dec 2022 02:48:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9944F6B0073; Fri, 2 Dec 2022 21:48:13 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 91CFB6B0074; Fri, 2 Dec 2022 21:48:13 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 76F996B0078; Fri, 2 Dec 2022 21:48:13 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 643596B0073 for ; Fri, 2 Dec 2022 21:48:13 -0500 (EST) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 3B69916069D for ; Sat, 3 Dec 2022 02:48:13 +0000 (UTC) X-FDA: 80199460866.01.86AC37F Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by imf04.hostedemail.com (Postfix) with ESMTP id 7E90340004 for ; Sat, 3 Dec 2022 02:48:11 +0000 (UTC) Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=JOAOx5Z0; spf=pass (imf04.hostedemail.com: domain of dan.j.williams@intel.com designates 134.134.136.65 as permitted sender) smtp.mailfrom=dan.j.williams@intel.com; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1670035692; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=daNcA3TVzwyaHtsUi+u0vhv54WZBcPBVB44UwTou+DQ=; b=EWc9PnBmyoN0fmXwnzSPqlRyz4Gqbab3k8U2HZIydWdtJ1UDQVtfBjmibPJuFn7Xq4A9g4 AWpS6MiRTbydMLsM7RxAXeVwfYus+0jFFZOPS4vELcElt/S8VCTveHI0qcGLImaIu+DoKL d7sWqujRC6dmWq37IQ13V9joGC52om4= ARC-Authentication-Results: i=2; imf04.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=JOAOx5Z0; spf=pass (imf04.hostedemail.com: domain of dan.j.williams@intel.com designates 134.134.136.65 as permitted sender) smtp.mailfrom=dan.j.williams@intel.com; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1670035692; a=rsa-sha256; cv=fail; b=dkBlfLLCR+WJVlxurvCQe6T8N4Q1nPxEr2T7TyHKMww3SCP3xggo3E9WjN94+WgrQnEThl +/sidZ4nMkYFFQCUtAL45C29pIdHaDoRZCpC7zB41r7vIJWoMJYxJaWpOkxoM9cThdcPot Z+NIGetuPVWDpk7TRRmRx2TVEr6lVD4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670035691; x=1701571691; h=date:from:to:cc:subject:message-id:mime-version; bh=khdP+3y1X7d3LGZlC+MWbwP5uE0P00l3WNKMqFynptI=; b=JOAOx5Z0l4rsJ5j6rnX5j5qZaCQRVGZcoyxbZYPOteBlTxHSgivJSeMq 82CkH1p277OLvWCb/t06LsCIiSz57YkyenWxnqL3X3pf50WJc2fR1YKOE 4hXe2O4NFPC2ZGRtX5Bj7o0Bi3WAnmjD2ZrAgGmCfUOoPd4fHtDMfqlr5 wmwxqtH+hk30p3J3tZMySZLrvwVFC/i48b81JeUPJTnKsXjZw1JKg1WSY 15KcUsTFhJG5FZYqDRqm92xUFV/y32u2vyaChZzOJt9V03W1SdxE84I7u LDy2wwvMe311bQuD07iXEpf2GbdRfY6Yp1s2hfCcd4ZUmkR0pTZ/9+Odm A==; X-IronPort-AV: E=McAfee;i="6500,9779,10549"; a="317946362" X-IronPort-AV: E=Sophos;i="5.96,214,1665471600"; d="scan'208";a="317946362" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2022 18:48:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10549"; a="787504420" X-IronPort-AV: E=Sophos;i="5.96,214,1665471600"; d="scan'208";a="787504420" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga001.fm.intel.com with ESMTP; 02 Dec 2022 18:48:09 -0800 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Fri, 2 Dec 2022 18:48:09 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Fri, 2 Dec 2022 18:48:09 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.46) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Fri, 2 Dec 2022 18:48:08 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kzQ+JHEG6NJkh4cT2MNEpZaPyfvsAjC6W41w1vb123uriwEjmeU5hJFhRkzwavFNMR9Be+8wOWsnLFW6laArLOS93KUmh9G62sD8ud/ziwzn4Epb5zMPzBPjW7VlKSxAZ/AZVY+IsdBXYNKhO4lGaeX0hXi7dLwXzVTR9ybKHwtOsEZv/ZZLMf8yb+r+oY+4wJTey4gbHcAOgcw4HGetIjK9PkB6ALXA39gbVH/ITfxTVm9I3q6oGTuFJnjXYuuLvlbUUZUdOZ4MXJfseKLWS2gw5Yn9zqBk6QYubrojmds9Aijqp75x/dIk1yuIOT7P4jPxqDMN0dyB8fbE54eL0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=daNcA3TVzwyaHtsUi+u0vhv54WZBcPBVB44UwTou+DQ=; b=GLLlctfSPTS0cxQiE0P18L2DqAxdOhvrSO917q2zcB4/sa0dYRrgs2QGVFWEjYVME1rG10PBcwHvqlDsX4/CFYHCsIlXQKXheaqQEJGKiCW5QUO6S8cqXrbE6tGMwtyXziGaV7QdJ9Enq86XEmHryjCEsgKvZ3+G4Rp2uKdPIWZHNFfhuuiRgEPv2TYfWwNLtHXQqKjqQmsLsEdTLieDcsbSsTygthhO49G5cL55qUYvawyW791b/v+AdmIts998sw7iV3lsCcRPdMCMBfthNd2TieCxGcmd37wXGYwdbjVNZY4tPS/Myz5w4EroSXfTPrAVDM54H+IAOjVqL8EM4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MWHPR1101MB2126.namprd11.prod.outlook.com (2603:10b6:301:50::20) by DM6PR11MB4737.namprd11.prod.outlook.com (2603:10b6:5:2a2::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.10; Sat, 3 Dec 2022 02:48:06 +0000 Received: from MWHPR1101MB2126.namprd11.prod.outlook.com ([fe80::340d:cb77:604d:b0b]) by MWHPR1101MB2126.namprd11.prod.outlook.com ([fe80::340d:cb77:604d:b0b%9]) with mapi id 15.20.5880.008; Sat, 3 Dec 2022 02:48:06 +0000 Date: Fri, 2 Dec 2022 18:48:02 -0800 From: Dan Williams To: CC: , , , Subject: [GIT PULL] DAX and HMAT fixes for v6.1-rc8 Message-ID: <638ab8e291345_c95729417@dwillia2-mobl3.amr.corp.intel.com.notmuch> Content-Disposition: inline X-ClientProxiedBy: SJ0PR05CA0097.namprd05.prod.outlook.com (2603:10b6:a03:334::12) To MWHPR1101MB2126.namprd11.prod.outlook.com (2603:10b6:301:50::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1101MB2126:EE_|DM6PR11MB4737:EE_ X-MS-Office365-Filtering-Correlation-Id: fa6082b7-cdf4-4a34-6a66-08dad4d8cdf3 X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wu5SC1ujnaKR3soyDjLkj1vgNe/+YVOKDJm7f9vqoqQJytucqXiE9dcFLeF1wbN+4mVPHOdVXPhXfQHRJincI5vMkUTxhV990G04vrUaWnughAxPzpZv6XXqBZau+mTecbNEAPtba2FsS8nBLNGrF7rxMvZmbc0Uw64IkJwB9lMlqYcmAU0dWr/cr3LKwi63L7kqayvq3qh8C6EuztW6fNbgTXzvzR0ax7lYgZ1ef8147VoKjTQc9TuUKm3/6Y0qAW3/zLlm59JyjeuG2fy+Y+mtUH15moqaqs1uAc/UA9BW0o4VIHGtRxWNQX7JXS65j/OCB2IxEPCJd0SGoM6a6lebXAOhHbmeaE9Kh/2A/pDH7vQye8xR8vKcTVQg4xmVK68R4lZ8IQ87v+fkw8gSfGpPCuhRrgHpdrKuMRdInsv7rEBpI/BXHtdb6lT8g6o73+Dv2wOdprmvZLzajp8yHEdsrDLw6swE3gQPLCPpttLVXJhgs99mg1S9CVvPuRk2OncIuJze/zhKG+rPDA2+fy27VT3ZZwRiw+2mY5cLWf1uZ7LDUsGRWbDtH03AxLmC9S0DrPnQuBlMByIZ7RD+lr8B7QNfSOpQeo+P5NQfCbqPzAXZUBMnh0/3Xzbn/hjqe/+bcCmXe/hK539jV79UFA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR1101MB2126.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(376002)(366004)(39860400002)(346002)(136003)(396003)(451199015)(8676002)(4326008)(41300700001)(2906002)(316002)(6916009)(4001150100001)(66946007)(8936002)(66556008)(66476007)(6486002)(478600001)(38100700002)(6666004)(9686003)(6506007)(6512007)(186003)(5660300002)(83380400001)(26005)(86362001)(82960400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: RJG9rKey1epG7dp6ldiRHhv3YM6Hk0ACdS7TwDSz3wdrBuP3NZW94/4TJksdaAfnUTYtFHhHPkolhwk8DFyoqHgRkruG7eSmtiR5i0lTfOexlmRF+aIFinoqdpmAIo6KTBJz7x3oVD+ChlPZQsnUpdXmH0GJwT6Afw60x5dQWoR3d4/Y9JTz6uiy0hrXFH4Pn/VFJzDFNmh+W1RhEv1IpfiQ30Y5x3OOIPsAacya9X10kcDm8clLdRYojB/bR7emlAv04b0JHO50qr3GtxmE9xW/Vs7kC4dJzXGknCanAWVBoyRsm/6ax+Fayg4xF/0cgUys9jKvn1W1S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VKj94oPVKvuHyl/fqdBahxpHnge6x9F49K2f8lQTVt6eE9+Ynvtl5lF7aJATy8Bc2yzWtxFtkCOIif2+QH9f+Pmz4HYFtdQ+Be7qjOCoOCsmb4Xx2YWAhSYUKBH7Qng1CiHaDUokPlIm5myMXNqRuJl0r88vGH6VVsCl2bJAce/DM1fnMewVPrJUk0mCtWhsSLont5AjU2p6jNk+IAVrGgrw== X-MS-Exchange-CrossTenant-Network-Message-Id: fa6082b7-cdf4-4a34-6a66-08dad4d8cdf3 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1101MB2126.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2022 02:48:06.1058 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: V4MPQxy6o//fTbIzS9qtesUWnjDfaOHyWt5Jt525YPSA/JsUkUVg6r+RBgSmzT9vIUytK+uuVPTsMkCGByaq3zq/AhXnvswR3szB0uO9nHU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4737 X-OriginatorOrg: intel.com X-Stat-Signature: fptfaixpdonzb4bt8pfjsspu1xfzkggc X-Rspam-User: X-Spamd-Result: default: False [0.29 / 9.00]; ARC_REJECT(2.00)[signature check failed: fail, {[1] = sig:microsoft.com:reject}]; BAYES_HAM(-0.81)[77.81%]; DMARC_POLICY_ALLOW(-0.50)[intel.com,none]; R_SPF_ALLOW(-0.20)[+ip4:134.134.136.65/32]; R_DKIM_ALLOW(-0.20)[intel.com:s=Intel]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; ARC_SIGNED(0.00)[hostedemail.com:s=arc-20220608:i=2]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[intel.com:+]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_SEVEN(0.00)[8]; TO_MATCH_ENVRCPT_SOME(0.00)[] X-Rspamd-Queue-Id: 7E90340004 X-Rspamd-Server: rspam06 X-HE-Tag: 1670035691-871813 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/dax-fixes-6.1-rc8 ...to receive a few bug fixes around the handling of "Soft Reserved" memory and memory tiering information. Linux is starting to enounter more real world systems that deploy an ACPI HMAT to describe different performance classes of memory, as well the "special purpose" (Linux "Soft Reserved") designation from EFI. These fixes result from that testing. It has all appeared in -next for a while with no known issues. --- The following changes since commit 094226ad94f471a9f19e8f8e7140a09c2625abaa: Linux 6.1-rc5 (2022-11-13 13:12:55 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/dax-fixes-6.1-rc8 for you to fetch changes up to 472faf72b33d80aa8e7a99c9410c1a23d3bf0cd8: device-dax: Fix duplicate 'hmem' device registration (2022-11-21 15:34:40 -0800) ---------------------------------------------------------------- dax fixes for v6.1-rc8 - Fix duplicate overlapping device-dax instances for HMAT described "Soft Reserved" Memory - Fix missing node targets in the sysfs representation of memory tiers - Remove a confusing variable initialization ---------------------------------------------------------------- Dan Williams (1): device-dax: Fix duplicate 'hmem' device registration Vishal Verma (2): ACPI: HMAT: remove unnecessary variable initialization ACPI: HMAT: Fix initiator registration for single-initiator systems drivers/acpi/numa/hmat.c | 27 ++++++++++++++++++++------- drivers/dax/hmem/device.c | 24 +++++++++++++++--------- 2 files changed, 35 insertions(+), 16 deletions(-)