Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2541222ybd; Mon, 24 Jun 2019 08:11:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOb58D0Su49dRjbDNT/3Mhz7VIUF9Q8FLZV6p6GNPl9T0CV+GDhCBZ4TysknwVVlIqcy/k X-Received: by 2002:a17:902:d915:: with SMTP id c21mr83017176plz.335.1561389066276; Mon, 24 Jun 2019 08:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561389066; cv=none; d=google.com; s=arc-20160816; b=eDPVeU08OM5x+PoFvoFbSxRNUkGxRSCWDy83CRQ3Tq9CJN6s5co0v00B5FcVOlgx6r SyVuIs6DV5J1HfDgA8zV68fOJwgs7SqA6KwFyTMZIuMaOBfxB23KQyE8+gR1uan8nJ2r 7I4OPmx+aTAVEgqhU61c4w4yrvT2BlDm7L8is6OagPIuIwfGqDKS655YhcGbjlX/PlqK YwMc8gh/hL3D2WqyNZyoNfA2EtaADK5qesIKlRBLvSPWQXn4tnNPJxk46WYt8XbClqBW AFR9vk4WJy8jSVfjgbYo8/WXg6VbQNxhBCtNTvXqkujULhGOhWr7ovrmdwmkJhaosVNy LESA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :dkim-signature; bh=rgaYqMyrRi1Gs2+/9pUhhW8xLgkCeLohE8qn0jQ15v8=; b=IMECEk5xvoI13oLw7FrCujIbixGNcoCZ2+bZhGz0YK9m+YSdFSt4kDFgpotiN8gsRV DIT8+x5LRTDuuAaqzkmcSRqI8F6rJaQGC7ySP3xpLy2vQheiLRoWA1S3St+dml6D5JCi Dvj5U7+k4y75CgtX9BJUDfO6AQGwWbFv/rGd88zo/p7PKy9rXVQ9txxJ/GZENZLHiNc+ IzVuYhSSv2CDL79MJvfQSKUqStC9xNtMcFdDBkK3v89jAq6dn0h4SD5NCIfPq4ajMI1N Mz+Odp2upU6aKDsVzVjUS6IqIehbF6GzjFktUXGQaUurGWSobiJB2mRlrcSNma3XVgnd CGZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0818 header.b=R8z01dTc; dkim=pass header.i=@marvell.onmicrosoft.com header.s=selector2-marvell-onmicrosoft-com header.b=LilxW4Gy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=marvell.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h15si3174871pgf.512.2019.06.24.08.10.50; Mon, 24 Jun 2019 08:11:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0818 header.b=R8z01dTc; dkim=pass header.i=@marvell.onmicrosoft.com header.s=selector2-marvell-onmicrosoft-com header.b=LilxW4Gy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731065AbfFXPKT (ORCPT + 99 others); Mon, 24 Jun 2019 11:10:19 -0400 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:58448 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730576AbfFXPJh (ORCPT ); Mon, 24 Jun 2019 11:09:37 -0400 Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5OF053h018453; Mon, 24 Jun 2019 08:09:09 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=rgaYqMyrRi1Gs2+/9pUhhW8xLgkCeLohE8qn0jQ15v8=; b=R8z01dTcw8vpu21q41TNgY9WrgFOyaH1W8vwPMXbEzXRDYH+SjsN/HzgJTToxTYJXnDl IjGBRemOdYK1E246bvElZFaYfqrLcBpTSWPMr2YchqF32PaF2IJ5tU3d+nX8iPzeR+Oh rptkfVJb12Mo0uo+ZvKBkgHoHNDzZULTSkW5AnF2t0tcISI8iIWhzQL/r0h1fBDp0tkb GcffWh4r0O9TkdNH0RBXFTyGH6TLFvcZxjw5ptDXtlD7Wz8RD1vsFCzHaUeWCdx5WVXR r/B0CiEfEfz6PZqtbOHXWRi0Zq/JlEkTq4e9bv8PsD3p6Rn3O6nXSJFE45f0cRds9mM6 GQ== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2tarxr9t9n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 24 Jun 2019 08:09:08 -0700 Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 24 Jun 2019 08:09:07 -0700 Received: from NAM03-BY2-obe.outbound.protection.outlook.com (104.47.42.54) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Mon, 24 Jun 2019 08:09:07 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rgaYqMyrRi1Gs2+/9pUhhW8xLgkCeLohE8qn0jQ15v8=; b=LilxW4Gy0L5SYbIY15dWgdL0G20e9w4JU6hX3vPpXZAqaSjx7sDlMUzXAcIORjvhEQYDSJtlSwgIkwjJ6gCbmq3GAo9pXVA5GfswxhPD963svBmMGm8OxCJXprBZZcISRLlmskmas6oUCXsvU31B5txEWoLYRPAsh4gnZpz12OA= Received: from MN2PR18MB3408.namprd18.prod.outlook.com (10.255.238.217) by MN2PR18MB3197.namprd18.prod.outlook.com (10.255.236.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.13; Mon, 24 Jun 2019 15:09:06 +0000 Received: from MN2PR18MB3408.namprd18.prod.outlook.com ([fe80::d3:794c:1b94:cf3]) by MN2PR18MB3408.namprd18.prod.outlook.com ([fe80::d3:794c:1b94:cf3%4]) with mapi id 15.20.2008.014; Mon, 24 Jun 2019 15:09:06 +0000 From: Robert Richter To: Borislav Petkov , James Morse , "Mauro Carvalho Chehab" , Tony Luck , "Jason Baron" , Qiuxu Zhuo , Tero Kristo CC: "linux-edac@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Robert Richter Subject: [PATCH v2 06/24] EDAC: Kill EDAC_DIMM_PTR() macro Thread-Topic: [PATCH v2 06/24] EDAC: Kill EDAC_DIMM_PTR() macro Thread-Index: AQHVKp7EGlrwSsGG3ESvgRc+nDnUTA== Date: Mon, 24 Jun 2019 15:09:06 +0000 Message-ID: <20190624150758.6695-7-rrichter@marvell.com> References: <20190624150758.6695-1-rrichter@marvell.com> In-Reply-To: <20190624150758.6695-1-rrichter@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HE1P190CA0035.EURP190.PROD.OUTLOOK.COM (2603:10a6:7:52::24) To MN2PR18MB3408.namprd18.prod.outlook.com (2603:10b6:208:16c::25) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.20.1 x-originating-ip: [92.254.182.202] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a5fa948e-6fa7-47ef-4a56-08d6f8b5e6ba x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:MN2PR18MB3197; x-ms-traffictypediagnostic: MN2PR18MB3197: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:142; x-forefront-prvs: 007814487B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(366004)(136003)(396003)(346002)(376002)(199004)(189003)(36756003)(110136005)(107886003)(54906003)(81156014)(81166006)(68736007)(30864003)(8676002)(25786009)(5660300002)(8936002)(305945005)(7736002)(4326008)(1076003)(186003)(6116002)(14454004)(476003)(486006)(2616005)(11346002)(256004)(446003)(3846002)(50226002)(26005)(2906002)(52116002)(76176011)(71200400001)(71190400001)(99286004)(386003)(6506007)(102836004)(478600001)(316002)(86362001)(6512007)(66066001)(53936002)(6486002)(73956011)(66946007)(66476007)(66556008)(64756008)(66446008)(6436002);DIR:OUT;SFP:1101;SCL:1;SRVR:MN2PR18MB3197;H:MN2PR18MB3408.namprd18.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: TCXlNzxRDtYxEw85nWiqYXr86f9qHLoRmfrsHtnoO512ZxX97n4ttwBbwGttyshm60ed90LTpcX53EFJZ6hfrDzg30gG8xAmuTmeRAeQeXz0yAQdibMMgwXya+v1U6Mmjjj4tcxBSR7HudJNYgoGLpYVVjTG1XDBD2z+uueHMQBcbMBRuESHgw3RejTFFOuROBXaRGl3P+YsfqBT4vnavyWk1aSB1zGmS0ZAsWHmmsNnHitjyP6tT04Gt4EUUMKisJWpzAPq1O2YR6wP9A7Qg+5qjDiOTzFmQ4yvIrfcLP/5/XQCUPZVFkg6b4oQt1dLZAqhsCNNv4LdqvL05Sf8rQvLQSPF7+1TX+A0iEhjWW9ptr7EYiiISUoMPaKbVw7T9WCzQT8B5xAneIYZ+qFV3kc+NyZIuaKPWXPj7VKnrQU= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: a5fa948e-6fa7-47ef-4a56-08d6f8b5e6ba X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2019 15:09:06.6129 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rrichter@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB3197 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-24_10:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org R2V0IHJpZCBvZiB0aGlzIG1hY3JvIGFuZCBpbnN0ZWFkIHVzZSB0aGUgbmV3IGZ1bmN0aW9uDQpl ZGFjX2dldF9kaW1tKCkuIEFsc28gaW50cm9kdWNlIHRoZSBlZGFjX2dldF9kaW1tX2J5X2luZGV4 KCkgZnVuY3Rpb24NCmZvciBsYXRlciB1c2UuDQoNClNlbWFudGljIHBhdGNoIHVzZWQ6DQoNCkBA IGV4cHJlc3Npb24gbWNpLCBhLCBiLGM7IEBADQoNCi1FREFDX0RJTU1fUFRSKG1jaS0+bGF5ZXJz LCBtY2ktPmRpbW1zLCBtY2ktPm5fbGF5ZXJzLCBhLCBiLCBjKQ0KK2VkYWNfZ2V0X2RpbW0obWNp LCBhLCBiLCBjKQ0KDQpTaWduZWQt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