From patchwork Wed Nov 16 07:57:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Verma, Vishal L" X-Patchwork-Id: 13044485 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 875A5C4332F for ; Wed, 16 Nov 2022 07:57:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232735AbiKPH5u (ORCPT ); Wed, 16 Nov 2022 02:57:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229536AbiKPH5t (ORCPT ); Wed, 16 Nov 2022 02:57:49 -0500 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1361D23154; Tue, 15 Nov 2022 23:57:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668585469; x=1700121469; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=O9Hb/seFZgmAzrbGw37aYXMPN6dUPFoKLlp7bI7fqcs=; b=Gryle1FRQHiwzW0IilMGp5ohGldJcDQ7xy73p1PdMgq6MGzr42S/tzWZ kcrdU/tHhx+iC5bT4OPhpwyxEjK3KiMDKJyAXnFk1YqvyFg5kDW+CF9+e feF/AJiFSr5gCCJ8jx2ZD3P31BJ4iLzK9kPej3u1bVGoAmBZcv2caROBX p4Ozai135sKcs4P/cbIX2T/UJnARYXYaQ7BQ9ccH2/FfpBh+lVWQJRAU4 oSJ8Be4AVBMaL9WaCsPjLtqQ2pktNWO4rslYBKY9KPxy7sMc/IhIZ854M p8fnro2ypX6nl75ZpJs2+xXtaup6kH4BgKIRxzLPRtn93qUjlIav8rKN7 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10532"; a="398767157" X-IronPort-AV: E=Sophos;i="5.96,167,1665471600"; d="scan'208";a="398767157" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2022 23:57:48 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10532"; a="702769361" X-IronPort-AV: E=Sophos;i="5.96,167,1665471600"; d="scan'208";a="702769361" Received: from ake-mobl.amr.corp.intel.com (HELO vverma7-desk1.intel.com) ([10.209.189.231]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2022 23:57:48 -0800 From: Vishal Verma To: Cc: , , "Rafael J. Wysocki" , Dan Williams , liushixin2@huawei.com, Vishal Verma Subject: [PATCH 0/2] ACPI: HMAT: fix single-initiator target registrations Date: Wed, 16 Nov 2022 00:57:34 -0700 Message-Id: <20221116075736.1909690-1-vishal.l.verma@intel.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=533; h=from:subject; bh=O9Hb/seFZgmAzrbGw37aYXMPN6dUPFoKLlp7bI7fqcs=; b=owGbwMvMwCXGf25diOft7jLG02pJDMkl0z+0n5Rd0mUS/a/ilf0+P0HJpMJrP207rmsxaLvuPHGD z+p9RykLgxgXg6yYIsvfPR8Zj8ltz+cJTHCEmcPKBDKEgYtTACZyXJbhv9P3fVOdRRa3cmeFOSg+Su wWzL0vtdZ9IndjUOGh/dY3UxgZ5n16MNvp2M3vFafNj5+K5toReiJau3+yqJ/f7c0BWcVl/AA= X-Developer-Key: i=vishal.l.verma@intel.com; a=openpgp; fpr=F8682BE134C67A12332A2ED07AFA61BEA3B84DFF Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Patch 1 is an obvious cleanup found while fixing this problem. Patch 2 Fixes a bug with initiator registration for single-initiator systems. More details on this in its commit message. Vishal Verma (2): ACPI: HMAT: remove unnecessary variable initialization ACPI: HMAT: Fix initiator registration for single-initiator systems drivers/acpi/numa/hmat.c | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) base-commit: 9abf2313adc1ca1b6180c508c25f22f9395cc780 Acked-by: Rafael J. Wysocki