Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2871041rdh; Wed, 27 Sep 2023 15:50:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFdmNEta2zrsoXktzZikO2AySLHzxQR2sPR5RyGLUS/QL8uZUOwmJm7NUZ/9laRjUjLZP9m X-Received: by 2002:a05:6402:27d1:b0:52c:f73:3567 with SMTP id c17-20020a05640227d100b0052c0f733567mr10309678ede.13.1695855054008; Wed, 27 Sep 2023 15:50:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1695855053; cv=pass; d=google.com; s=arc-20160816; b=QdiEnNFgGItnf7dbXvoBpZEADP7ANust8UgpXbuR7vgLjyVw8vQ7Q/0V/wrw1tlM7y Nml+IkkK7XD66FYG6qfzgkcj4d/bkrWf/0HODFcP0659FisX/pkDThwYk80nh8frdfHE MJJFWcgc7Zjtf+qwOicxwvLAuOybWnzB99iPK5m/htkjtqo0lmzKPjPf1tIWLyvrdcA4 oD7Znjv+J71u4XLYDkbQrs91sF2hci5sChineSEDaaCFRX6OyJdkB3aiOcvUUWX3++XE b+QyGj6SNkb5H8MPAtnDJoyt/sd2q23Fa5eaki8oLehBzHxd2qGUjKiVw3OW03evjLFJ xSqQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yAqBGjLUmrdmMDv+JR7/V8e9voxqlLDzh1nO6fZWouE=; fh=8mQkxI/msGNGkxZc3km6VNrl0J/4T5ddSp1WxeodlBs=; b=T9UuyJ6CIkxwHzT1itwhzWuyNOEvXXyC1tD+VsQtTRreutEVZzvSJ9dbwrLrPid9nz FnF7QpTJu6GJVw+GgH7uqMP4yIcsCDtnem2NOKHZ0y+sZvSYiWZoH78PWyJ48pvtLq+6 YnXmk+twbnYL4g0CIKz2AnwdmEcmyOyu+ELi62Plxa138teNqGcKKidB49EDtizyfniZ Lq8my/YpR27Qd7IQcrTzQt8w6beljA/w7L46NEIPzE5t9HnE+jgBdl4rh9C/h1yrEDuH GEpeceYa3OWRJXSRb8ZYZMHu6fRmcV7o+4XAkYK1lc36RoRYj+3waKgb7W2epGYo17ns QJQg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=zUXwc8Ey; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id s15-20020aa7c54f000000b00532bf08596bsi13881864edr.670.2023.09.27.15.50.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 15:50:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=zUXwc8Ey; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id B759882291B6; Wed, 27 Sep 2023 08:49:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232500AbjI0PtF (ORCPT + 99 others); Wed, 27 Sep 2023 11:49:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232964AbjI0Pso (ORCPT ); Wed, 27 Sep 2023 11:48:44 -0400 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2060.outbound.protection.outlook.com [40.107.94.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A33F27E66; Wed, 27 Sep 2023 08:48:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UViu3QhSA/9N7vsR+Oftl0m0ylfWmojz6vKhw5YrPYWM9ofwBfTK73z9EkaPylh7J9xg6ZteQ7EYNx/WpNsbQ0JAcbtbmSaGdyPmqiNfZwij8zGWf8AmvpuBsG9/7TjGgqKO4wrXnG3V60jslU6MFBlR+x6Dmz/yEfUlaW82rHlabWyws5xn+iR8N51dR7o+zUuJbqK9Y1Gvkx8IU1g1p/ufsFBWzn3VdCpHsUkcAPwX0zKyGDt2NCu2zkdBo9fMcN8ikV2GMzwSKw/Xtf6ggElijW3dS7A/q5mz/Iav2Nafmr9Tq3/dsoW7rf4ZwT44l+qom5By6vGShVnDppsGgQ== 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=yAqBGjLUmrdmMDv+JR7/V8e9voxqlLDzh1nO6fZWouE=; b=l49nTwt1FWd2bNrif58EgKRsXec393dXPmDA3EOLFfGWDSQompUSLdWLY6Yo3DzoiF63lpqiLj+PgVXdihnEwE53vB3ifPu8e4wxx99CQo1xMLhQQTsI+hLrHrL25GjqR2qlpyrY2HbTYIRq35I/I51IQiwjEZ8c0htGkY6sNjOeaj0jOgf/RZDScX+kXw5b32QItbcrNbovCde5NZeugJUwJdIZUUE2iDlDqpDVn8V817OR+2t86EDI3MCZbhOWKUTN2GaNT//D6Fn2ulcXsamGOl61B1DJi+qhZw07K8QAIkx64RDxqRcHNRdTN14OY+F2X5oeCuJxF/lSXo3bug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=intel.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yAqBGjLUmrdmMDv+JR7/V8e9voxqlLDzh1nO6fZWouE=; b=zUXwc8Ey4993ZShr2p4Qqc1MB2tCYr+uZigalqrEZcpqSlG/qtFurYf0WiRdd3xoJKFfWQ0Ylqlm/2Dh/FzhMY3MM29agKdODenpl33w7cfjwbq+RfVfFsxrSa8YyAPrnz1MtgC3+THp7Mm5HAUwvG6kM08AJqRX0fLs4eBgBXY= Received: from BLAP220CA0004.NAMP220.PROD.OUTLOOK.COM (2603:10b6:208:32c::9) by DS0PR12MB8198.namprd12.prod.outlook.com (2603:10b6:8:f2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.21; Wed, 27 Sep 2023 15:48:04 +0000 Received: from BL02EPF0001A107.namprd05.prod.outlook.com (2603:10b6:208:32c:cafe::cf) by BLAP220CA0004.outlook.office365.com (2603:10b6:208:32c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.35 via Frontend Transport; Wed, 27 Sep 2023 15:48:04 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL02EPF0001A107.mail.protection.outlook.com (10.167.241.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6838.14 via Frontend Transport; Wed, 27 Sep 2023 15:48:04 +0000 Received: from rric.localdomain (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 27 Sep 2023 10:47:45 -0500 From: Robert Richter To: Alison Schofield , Vishal Verma , Ira Weiny , Ben Widawsky , Dan Williams , "Davidlohr Bueso" , Jonathan Cameron , Dave Jiang CC: , , Bjorn Helgaas , Terry Bowman , Robert Richter , Jonathan Cameron Subject: [PATCH v11 19/20] cxl/core/regs: Rename phys_addr in cxl_map_component_regs() Date: Wed, 27 Sep 2023 17:43:38 +0200 Message-ID: <20230927154339.1600738-20-rrichter@amd.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230927154339.1600738-1-rrichter@amd.com> References: <20230927154339.1600738-1-rrichter@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF0001A107:EE_|DS0PR12MB8198:EE_ X-MS-Office365-Filtering-Correlation-Id: 31ec80ac-646f-40ce-e509-08dbbf712309 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kWnbNCCDU1haH7wAn6ufipCU6VGyOADik7nxdGzP26ui4Q0zQw2q7FxTuEJKhBoAzrwuhqTkias18z6Vtp9VOvTENmF62y9IirJi1IrThDNZyADmW/klk240GybqHw2lGagOvOk7Y9viYVDYTp3MgQ9H+WLMV3tioonFB28wcstD/s0Svxt8zuSy0wHL1VITvc32Uk1oqKG2O3vLKaNyLFlXweRE3f6DPtHRf7c3q6S6eW5EXwnKmzcfnS4uc0fpj7KDRcwzRcJ0L1vVH2N/8WvHMkzblz9YWXvzL9Szoo9bmsJQEE369yl8ylDs6ckIFIwjZiASCkUkLCh77ufOl670w20FgULBXCvsEObdW42iL7jnzwSiZXEeC865l+crcNAPBMjzXtvhcAOjAiGNNbMW41FWS5N7EohE4X3S6ObT2FwWTKkgCCSOyOUicjiwxQqNkBlYdhPatj6V20ZVLP4spnpUi2cxTG0X3vZGLSL8RlvwR+630ZWjSzBk2mSEjMRgjC6/mGn6OoOyesHyMYYR6RpiOT/XjvtwipgRqIDXvEZd3vTPuN94KO0eaAlTB5BXtqwKuuYf0hGr84+3P6D9m8qL0o5QdVu0HiJxkzJqKM7MULlmsi8lCe+w5uhYaPhwPTj7K3kTPhBbgE1Er0cDTqL5et9qIkLgDMSmB8ihEjL/oebsmirZBFwE/LN1imAjDN7lfU7okFtQlL89usqSvG65aSdrjGUUxb0HawvhAcpu9Ye/thhxD/mAaw0Qb07xR3/vd3q2Aq38QRVGmg== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(376002)(39860400002)(346002)(396003)(136003)(230922051799003)(82310400011)(451199024)(1800799009)(186009)(40470700004)(46966006)(36840700001)(1076003)(16526019)(2616005)(26005)(81166007)(356005)(36756003)(82740400003)(36860700001)(47076005)(40480700001)(426003)(336012)(54906003)(40460700003)(83380400001)(316002)(4326008)(8676002)(8936002)(41300700001)(5660300002)(110136005)(70206006)(7416002)(2906002)(478600001)(70586007)(6666004)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2023 15:48:04.2805 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 31ec80ac-646f-40ce-e509-08dbbf712309 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL02EPF0001A107.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8198 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 27 Sep 2023 08:49:28 -0700 (PDT) Trivial change that renames variable phys_addr in cxl_map_component_regs() to shorten its length to keep the 80 char size limit for the line and also for consistency between the different paths. Signed-off-by: Terry Bowman Signed-off-by: Robert Richter Reviewed-by: Dave Jiang Reviewed-by: Jonathan Cameron --- drivers/cxl/core/regs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/cxl/core/regs.c b/drivers/cxl/core/regs.c index 6e502f02899b..7b56f6f28ab1 100644 --- a/drivers/cxl/core/regs.c +++ b/drivers/cxl/core/regs.c @@ -216,16 +216,16 @@ int cxl_map_component_regs(const struct cxl_register_map *map, for (i = 0; i < ARRAY_SIZE(mapinfo); i++) { struct mapinfo *mi = &mapinfo[i]; - resource_size_t phys_addr; + resource_size_t addr; resource_size_t length; if (!mi->rmap->valid) continue; if (!test_bit(mi->rmap->id, &map_mask)) continue; - phys_addr = map->resource + mi->rmap->offset; + addr = map->resource + mi->rmap->offset; length = mi->rmap->size; - *(mi->addr) = devm_cxl_iomap_block(host, phys_addr, length); + *(mi->addr) = devm_cxl_iomap_block(host, addr, length); if (!*(mi->addr)) return -ENOMEM; } -- 2.30.2