Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3404568ybi; Sun, 26 May 2019 22:41:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqymWqvEnquhi7lkNicXS7qyMUo+6EjTraOMJLzcWmCjrLaRzJemhv2gnNRySnqmoWsdunjx X-Received: by 2002:aa7:92da:: with SMTP id k26mr88430221pfa.70.1558935718728; Sun, 26 May 2019 22:41:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558935718; cv=none; d=google.com; s=arc-20160816; b=q2w+AZdL9gPC/s48K047WufXBQ17lnwKVkLiCAefUw7H6n/cFjZY1iHksD8swa+rdN vOkwELhm5/G+rXqQeNuJOi978enPsSdD8BVC1ODgyrP/Q1RVEXxIXip0RiGijFxV+0We HJZsKm/mCIlJQUOgEk4Cu3T1FxKuan8HBMs9crCLEUaGnz0lRj7SOz9Lip4pcmL1og7E tzu/G3bBsoCmo7ikqEEZKjlD8rkwGFeGBj9JdwFGGa0A5b5bbk3xAhgpAjDeZsWi2RXe 7CDnmT9YP73NHT7zSjdCgU5C8TXvNmY0lGvsEKQZLR34vWs7s+H+PiwkWuF2NtvD07ap ZXDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=UUIOfviT+bn6NFrQfK3BpZAy0Skz6MWwpbccyj84Mgo=; b=VLTxFg6IdyWjFUnid2CtRytlpaobdvpCIHVMHvzVZUBc9XTiIe182+xuGP62WE1Xpq QY12cn6g1yUglCat9ZDrIFutq8pdCZ2AZcACIo/IaNY6jNRNTFzYQ0DuuwH4WWDQBfi/ z6wWTyQFL3dt/+q4G02PoScn/WAQowr/AKKlDz7N7b4eLTMN1STErPhDK6gXdjcw61Gh OPnv+YV+xb+hqFCe4vwiO0txidMjGR2owinloBu/3POdztnUJDBAB5ZBjIH8O/PROZeZ 9Tj++hnU5HEjhHaIRjLxtgKGhnLSTMgobGDQiIQuTvv47pappH80btzu5rDTwBJlzVNe td3A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q19si16265248pls.124.2019.05.26.22.41.43; Sun, 26 May 2019 22:41:58 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726366AbfE0Fi7 (ORCPT + 99 others); Mon, 27 May 2019 01:38:59 -0400 Received: from mga04.intel.com ([192.55.52.120]:7420 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726302AbfE0Fi6 (ORCPT ); Mon, 27 May 2019 01:38:58 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 May 2019 22:38:57 -0700 X-ExtLoop1: 1 Received: from hao-dev.bj.intel.com ([10.238.157.65]) by orsmga001.jf.intel.com with ESMTP; 26 May 2019 22:38:56 -0700 From: Wu Hao To: atull@kernel.org, mdf@kernel.org, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linux-api@vger.kernel.org, Wu Hao Subject: [PATCH v3 01/16] fpga: dfl-fme-mgr: fix FME_PR_INTFC_ID register address. Date: Mon, 27 May 2019 13:22:11 +0800 Message-Id: <1558934546-12171-2-git-send-email-hao.wu@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1558934546-12171-1-git-send-email-hao.wu@intel.com> References: <1558934546-12171-1-git-send-email-hao.wu@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org FME_PR_INTFC_ID is used as compat_id for fpga manager and region, but high 64 bits and low 64 bits of the compat_id are swapped by mistake. This patch fixes this problem by fixing register address. Signed-off-by: Wu Hao Acked-by: Alan Tull Acked-by: Moritz Fischer --- drivers/fpga/dfl-fme-mgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/fpga/dfl-fme-mgr.c b/drivers/fpga/dfl-fme-mgr.c index 76f3770..b3f7eee 100644 --- a/drivers/fpga/dfl-fme-mgr.c +++ b/drivers/fpga/dfl-fme-mgr.c @@ -30,8 +30,8 @@ #define FME_PR_STS 0x10 #define FME_PR_DATA 0x18 #define FME_PR_ERR 0x20 -#define FME_PR_INTFC_ID_H 0xA8 -#define FME_PR_INTFC_ID_L 0xB0 +#define FME_PR_INTFC_ID_L 0xA8 +#define FME_PR_INTFC_ID_H 0xB0 /* FME PR Control Register Bitfield */ #define FME_PR_CTRL_PR_RST BIT_ULL(0) /* Reset PR engine */ -- 1.8.3.1