Received: by 10.213.65.68 with SMTP id h4csp2118219imn; Sun, 8 Apr 2018 20:09:31 -0700 (PDT) X-Google-Smtp-Source: AIpwx49FGkrVi5hLYzxhQlVg3zpyH9VkBxyp0dgM5ar5MBMUoadNtfr2lBvjyy76ASMd9kp7rMBt X-Received: by 2002:a17:902:3225:: with SMTP id y34-v6mr38006770plb.180.1523243371339; Sun, 08 Apr 2018 20:09:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523243371; cv=none; d=google.com; s=arc-20160816; b=iNGZTvuP0ssLyQnNHeVyHLZ0tTcwqn5VcrLr0Pe6yAijgC646JlL32dweeJlUogXQq sHEot3QuF6K9lRhs0irIubgzR9UJqMEdKJfZr5/olycLmYXwjvQekRlnRncDzlmXYNM1 mTlTtLUhV0Y85UstoMX9gP/vyTqPWtoF3vY60Eeq6n5dAmgT962uJ4ADmq4ji6Qbabvk ivXvLHpVWOX6DcaLKdNXr7mHbMPv3W2YmNXtGESOf+eT8p0MzTxZEuYt61l63Rq5vPqf o0JFDYQTemDzzDLeJlfJZnNmoGB/hpLcDl3hweofumdtzcMLiEydhrF9InCEWwlOiqSU 0S7g== 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 :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=5gYfZ8uwmQ1KnXiI/lo0Vk2Fkfo8rtdxg919y0EfaFk=; b=FdiHnhyeagTNk+JVPdlWkX1xeW0cJFRYZcOd+NMwLOe1mIzM/6Z/U7Hj3KvaziSoN2 /JR65gCInlJicXNUdKR/Re9bhY6JuB/kHxnYH813slazg7ryFsmo0yYsqDcaefXSouLK KHNwcNzQtjqZe7FHNOKTyqM2cu9zY0EDe3WTh5bmxq2mNYhEqaPOJI8zm8ONoEHvq0ZK B87v6pktT7CTzYKOSB7BpgzZkMjYyoqj+5f6ftHvEXyIAkYdosaQFmM6Kuy2o0JPeJdI BYo3bLUw3Z/zJglnMAb3uoc701PFTaBfYQbi186i9Ci8mkbBmkL69jBHmAMlQ7pvAQVD i8fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=dZeDBRD6; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x64si12181650pfj.318.2018.04.08.20.08.54; Sun, 08 Apr 2018 20:09:31 -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=@microsoft.com header.s=selector1 header.b=dZeDBRD6; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757690AbeDICeu (ORCPT + 99 others); Sun, 8 Apr 2018 22:34:50 -0400 Received: from mail-sn1nam02on0101.outbound.protection.outlook.com ([104.47.36.101]:56960 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755658AbeDIA1k (ORCPT ); Sun, 8 Apr 2018 20:27:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=5gYfZ8uwmQ1KnXiI/lo0Vk2Fkfo8rtdxg919y0EfaFk=; b=dZeDBRD6JLl7mn1jAS3s30eMI7s0Qi+9UpAUL+LzJhp/2LZpZI0nBFts0kFgTS6LqGfOPbuNxjSeLiKkxyOBNgAVcDxsCX0wzyF9wHFsMd7WggG/fgSmthILuVgUmNPoYOnVMAolmotwMRAwpYGjCYG1F/0ovWZC/Ut0s7gWQnA= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0871.namprd21.prod.outlook.com (10.167.110.167) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.2; Mon, 9 Apr 2018 00:27:34 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059%2]) with mapi id 15.20.0696.003; Mon, 9 Apr 2018 00:27:34 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: "Tayar, Tomer" , "David S . Miller" , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 059/293] qed: fix dump of context data Thread-Topic: [PATCH AUTOSEL for 4.9 059/293] qed: fix dump of context data Thread-Index: AQHTz5kAU53HrutwmUKj5e42JqKKrQ== Date: Mon, 9 Apr 2018 00:23:37 +0000 Message-ID: <20180409002239.163177-59-alexander.levin@microsoft.com> References: <20180409002239.163177-1-alexander.levin@microsoft.com> In-Reply-To: <20180409002239.163177-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB0871;7:VYzPWzMIEpA6Zvi3fjb+3Bfn7/mNeWklqgm89TLjjklOE8zWHdW8UiU6X6sM4SJ0HlrLUAbf4RfrWfZiRYvI6Q9lGuPh3YjXGOTF6Cl/ASrB8fAEUPA0AQrnud1b8hJJeKyuekWTp0z+y7ef6TI+vabdFXkuP8VvqWXJWUZmuDsvXBhQfIxRisD8Ia0fIgVmn5gHoQxTc6o/StMc5EGHcGZPAcGT1zKHGfdMiFqT+e+nXup8Jt+TMloG3T7+ZoKS;20:mmtMtb9q88mhyYs+QYfE4glucRDM9gpJyrJ83+WwegNzAaHRRPfoVrSXS4j0CoC5sYFON5mY6Gye+XW7c0flhE8Bs0w8RVe+dqkx8bx+0mrIlRZBwRBij3CE8WKm3jbXJ2+/VLzNTyQiAhyQ552qCTyFDuq7JabfN4cF5+kuLqs= X-MS-Office365-Filtering-Correlation-Id: 856981c7-e066-4526-f872-08d59db0b0ce x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(48565401081)(2017052603328)(7193020);SRVR:DM5PR2101MB0871; x-ms-traffictypediagnostic: DM5PR2101MB0871: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(8121501046)(5005006)(3231221)(944501327)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:DM5PR2101MB0871;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB0871; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(366004)(396003)(39380400002)(376002)(39860400002)(199004)(189003)(105586002)(8676002)(59450400001)(3660700001)(3280700002)(6506007)(81156014)(81166006)(14454004)(99286004)(72206003)(110136005)(8936002)(54906003)(305945005)(2906002)(316002)(10290500003)(478600001)(7736002)(53936002)(6512007)(486006)(11346002)(4326008)(86362001)(446003)(3846002)(102836004)(76176011)(476003)(25786009)(22452003)(36756003)(107886003)(10090500001)(5660300001)(6486002)(86612001)(6436002)(2616005)(68736007)(26005)(1076002)(186003)(2501003)(5250100002)(2900100001)(106356001)(66066001)(6116002)(97736004)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB0871;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: zXUADIXC4g0IxNclftLd5dHt977mv6teyF0iUlpICD8vyW1J4hvrFFcuzIUdflfeksrGdScYcPNtne/BsW4zq6XMePS74xf8H/G48ztmc4VXTNQixwfbp3RAT3Icenf6SvXXo9fUKliNkRH5JszW6JN8S//VnI4JZarg+eCqkEO3PSSFIu8Mg1WNQ93TnN5vhHsrF4fIQSlRvTJXtng02r7ZAoE2yjLSYoCl0WsU3Th/CWT9iMNfPvqx9WGM3y+YC8nRzSNQ6fd/EBJUNBCH3DaAVSiCRWAoA/xJakl2W3np27xBpRvXdjED6WssY7gY8J1+46mTPETGMY5/82qZlGRuRJsG3tsNyraopRSjL2/8RgXFhkvW+l9T8QvRyJ+JU+OrFT6gFuHnEDVjJ/nYs+Do2g6Ty9gxC/L9j81gNrI= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 856981c7-e066-4526-f872-08d59db0b0ce X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:23:37.5499 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0871 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Tayar, Tomer" [ Upstream commit ace17c369295f088dc8ac8ff468602646fa5cced ] Currently when dumping a context data only word number '1' is read for the entire context. Fixes: c965db444629 ("qed: Add support for debug data collection") Signed-off-by: Tomer Tayar Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/qlogic/qed/qed_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/qlogic/qed/qed_debug.c b/drivers/net/ethe= rnet/qlogic/qed/qed_debug.c index 68f19ca57f96..50a3e07e851f 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_debug.c +++ b/drivers/net/ethernet/qlogic/qed/qed_debug.c @@ -2701,7 +2701,7 @@ static u32 qed_grc_dump_ctx_data(struct qed_hwfn *p_h= wfn, qed_wr(p_hwfn, p_ptt, s_storm_defs[storm_id].cm_ctx_wr_addr, - BIT(9) | lid); + (i << 9) | lid); *(dump_buf + offset) =3D qed_rd(p_hwfn, p_ptt, rd_reg_addr); --=20 2.15.1