Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp2825600img; Sun, 24 Mar 2019 20:24:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqykrcEtcLh8ITB7k+ntcRFVcrX3cZhySeBXX6G0GaPbpDLAuthNSKnCqY4lOA53L0Cm65yg X-Received: by 2002:a62:e910:: with SMTP id j16mr21810496pfh.44.1553484279369; Sun, 24 Mar 2019 20:24:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553484279; cv=none; d=google.com; s=arc-20160816; b=DQX1kA7OdNM7NlG870xo6gQQ/uT3VR67B7bSRkQs+AqrUbtn1BbvnZGTeMnhTAe4Sk gJOQY6CPZ7TCUxCakSHjFI14cmB+qPZdEVnsG3O36TMudeFcnN+cVDdBA93VTyYQTvvG x1k6yqI/+pfFJDnyAkPhYRgVJe62M5m93+uJYgyCHc1qpfHTJ/gBHQKrTagjtESqSE+K vOeiyoRUivALfKQxYkax/IxG/lYZ9Y8AGF74QXESF7dwKWs6hC5a02ji/dPJQUKTVnbd WwqcJsoRIa0hVhrt8KM5Z4L8NeCpMdBxWvXlaYCvIki5UIxn2CB5q0EvdYxtfBRAN75U RQIA== 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=j4d0R0tpjY1iYzVnQ2Qz3nW7FMpG0qQy1jNPXx4bQUg=; b=A73g2F3hKUIvyfPwJFLgP4Bs/8NjazsxvLI0PyZh8JuE0RrU+WwWd28JN9/B7jXrwK 1sHh0qVPX3ule68JUnZhSo1voswFj4BcEXQG4l8hOjJJaEpGdOmL90qcGJlcNg2LW2Nb 0YxBzw+5Usrobp3Ons1qtilj8aeKZvG42FrWYN0W2GP7uyRqHYf5n+lVJzQeTmdmsenq nZmzhGQnxSjV+R6jdLnVBYs/EvqwZWnmmMNvphE3fEhMezeI5I5U64USWnRaubYwXBKo wF+V8ci0o9Hn6LglgE8o5+MeDjPjqOdFydG9VUWQDYrOQQjqvu0kgBJwdKK8Uh8L+/o7 rrRg== 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 p2si12153617pfd.257.2019.03.24.20.24.24; Sun, 24 Mar 2019 20:24:39 -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 S1729466AbfCYDXw (ORCPT + 99 others); Sun, 24 Mar 2019 23:23:52 -0400 Received: from mga18.intel.com ([134.134.136.126]:19145 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729361AbfCYDXt (ORCPT ); Sun, 24 Mar 2019 23:23:49 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Mar 2019 20:23:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,256,1549958400"; d="scan'208";a="310109611" Received: from hao-dev.bj.intel.com ([10.238.157.65]) by orsmga005.jf.intel.com with ESMTP; 24 Mar 2019 20:23:47 -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 01/17] fpga: dfl-fme-mgr: fix FME_PR_INTFC_ID register address. Date: Mon, 25 Mar 2019 11:07:28 +0800 Message-Id: <1553483264-5379-2-git-send-email-hao.wu@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1553483264-5379-1-git-send-email-hao.wu@intel.com> References: <1553483264-5379-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 --- 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 */ -- 2.7.4