Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2699999ybd; Thu, 27 Jun 2019 17:53:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqwkl7WCZ2Stx5SLpJ/0mOvipnZn05eP8qEwFkMPvyEiZEcCknDSH3lcnq2xpr9md8fyMA11 X-Received: by 2002:a17:90a:9bc5:: with SMTP id b5mr9654387pjw.109.1561683212284; Thu, 27 Jun 2019 17:53:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561683212; cv=none; d=google.com; s=arc-20160816; b=YzMlNJOq6myT+t3BQtJlxZEClva5HgrpKFfGU1cuM/cy9bgdw0Ju5eTSJuCCstwCDT 67lD9bHoifI34nfu6qgfZjHLnXAQiBRgNYCH0+wwtxuWcse2NxRrDaV5F/1IizlWpVEu 7yIUfeDynATZYfmwRUgJPoLZSh/iFgw8Cz82EEi1t3ux3eRN1WwZy4/R3TG37ZHZh1tZ akuNgIYgVg4JK/4gsLA9JZe/BZ8LvqhiUbUooXSX14/qJK7qaWpPRjeAaBMq5TZndo/J +ikKjPZihgRxGRdCXlA3HU8HCZNrwbP39X/4cKqellO68wvIUZhn+d7gfx/NM3KF4TcK g+kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=m+CwaiEJYAeRor4kEz6OTKmpKkJwK4ZSop7mjZ0336M=; b=E2P+AtZepyQp3pVZoeayMolmUcKjviIlrRkhg3sGgcSzURd4/TqrfzyiDl/0P9k31y 0QsC1hhcArht7pNFT96YimTIoAAnid3b6Xs33TaHc3u6aMAxWoLtq7Qkmos1gF8M41RB xEM6KV7oI1vdXVIxUfQw428uo73t0xghistYjvSIJhjJ2cFLn+0p9rsS/q30jCLdB5zx HHwCPZ8y/4ei0X8n947y8ciZ08rdpfnvsfqWbsb0y47BK5+arNHX9dsf2RR6IjRQFY/6 7qVrSiKElW81u6RoMxO2Yvdo1pvoFlFUm1djcaVng0H8gKtjOFzSdj8ezUKsmRNNZNST hVxA== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x18si604941pjq.71.2019.06.27.17.53.16; Thu, 27 Jun 2019 17:53:32 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726795AbfF1AuT (ORCPT + 99 others); Thu, 27 Jun 2019 20:50:19 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:33000 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726606AbfF1AuR (ORCPT ); Thu, 27 Jun 2019 20:50:17 -0400 Received: by mail-pl1-f196.google.com with SMTP id c14so2223062plo.0 for ; Thu, 27 Jun 2019 17:50:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=m+CwaiEJYAeRor4kEz6OTKmpKkJwK4ZSop7mjZ0336M=; b=CDJ4kJXUZHPcpwFJsiFcek7U8bU+x+L/3cCmfVeQZ1gi7Xl+mHVIbD/XKvnemkrEEo t1+uVPVssuDrPSdgyWmsX1R0iPekttqQu8lfx5x+wnAdwaobAlOfmIes+2dlPmGu7cPa 3KMf4w0sQeGR7oU+d6UGKJ588wqOPKekHhv/nRIO/RFACo4fRa2qQ/5sGnBk+BzW0wuD iWMNbfN1M6i4bYLMjr8+cCpP+5GBpXNbP416z9nfUTpV/AdGmMAs7NME932cyMTLhAdR XlE5OFPgGEI2U5VOzXieQHPPTnejq9YCDNpt3sM291HP470Opm2ppbjZd35Znsg0uDW6 WXCw== X-Gm-Message-State: APjAAAVXj4LnKO7INAJishSLOok4t2zkwL4R1BiblgpJfOacuAkUsukY 8KeT8niI3HG6vRCz3m/vw2+hsw== X-Received: by 2002:a17:902:7443:: with SMTP id e3mr8041660plt.176.1561683016190; Thu, 27 Jun 2019 17:50:16 -0700 (PDT) Received: from localhost (c-76-21-109-208.hsd1.ca.comcast.net. [76.21.109.208]) by smtp.gmail.com with ESMTPSA id i3sm270313pfo.138.2019.06.27.17.50.14 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 27 Jun 2019 17:50:15 -0700 (PDT) From: Moritz Fischer To: linux-fpga@vger.kernel.org, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Wu Hao , Alan Tull , Moritz Fischer Subject: [PATCH 01/15] fpga: dfl-fme-mgr: fix FME_PR_INTFC_ID register address. Date: Thu, 27 Jun 2019 17:49:37 -0700 Message-Id: <20190628004951.6202-2-mdf@kernel.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190628004951.6202-1-mdf@kernel.org> References: <20190628004951.6202-1-mdf@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Wu Hao 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 Signed-off-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 76f37709dd1a..b3f7eee3c93f 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.22.0