Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3449984img; Mon, 25 Mar 2019 10:31:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNpAj2ArTwos8fqcfeYZRNXN6ENkl1tLJX0RMKbMkkntKpMX/fioKtQzaJsFdF9E7xtnVz X-Received: by 2002:a62:1f86:: with SMTP id l6mr25158560pfj.138.1553535069851; Mon, 25 Mar 2019 10:31:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553535069; cv=none; d=google.com; s=arc-20160816; b=BjA+sVbSs81s4yRH8/Vlo39Hii0IblfKJapSutWI6uW5FtILAJ9/BXJo1HC0tm2GZe Zddt5fRkAioeY8z938av2lkBYf5kJojqcfhfF8s6F9vm7qHPdaINpwZkRPHRDOELhjX1 86eXxaau+bg6hq+53n412srDaRxGd2f5YgbKXfttYFFYfa9EJ8TBPvRgTT5GPQnU4s8o qxI8h6tjL9+oNFMx23EcL5+ikjD/SCt/Hm+FRMQWE2sKaSyDSkkU1YahGmCf0pmIi5l0 zFKIU69b4RTwB8xZHz6w5hi1emND8X64QpiAE2r7WTTYbv4Lr+6m/GKdfjjP0iEZdFJ4 7SIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=TpkFudWYG4bBnkr6mcXf/ciC90olKMR4fYb9GEBXbYE=; b=Oc3ltOjvaOiN5+xpHDIdqaPLc6Cd09dFBUkguVHQyevCZ3/erJ0AHvXPIJ0Q1cZiEq 4CQuFKE/ub19/jHOo/cZd/u+LRceU1mDC2pXkJR8igrew3Nw60Is2Gwd4f7zzQ1CiMej QT9cGg1eE0+C9bQcHZc3/BYVg71OZUOtufPmVyNF2gHzloMjbJhSc9eUy/CMdD9l3Cbw UPptgcc/mHMEUm2qIdi+LHymxYYFZJsXUsOabaF2SKt3nQ8IqPm/0EDcMqDursMVu1vD EdE3VHAcwuI/ZQ2UXDcFSNgTbLMqdkgmqTgazkmYrdgEelOuZzEFFk1F587KAGzwtzdq L6/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wchuxvIx; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cm8si15270564plb.47.2019.03.25.10.30.54; Mon, 25 Mar 2019 10:31:09 -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=@kernel.org header.s=default header.b=wchuxvIx; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729569AbfCYR3B (ORCPT + 99 others); Mon, 25 Mar 2019 13:29:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:60646 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725788AbfCYR3A (ORCPT ); Mon, 25 Mar 2019 13:29:00 -0400 Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B267B205C9; Mon, 25 Mar 2019 17:28:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553534940; bh=EmGSsHSiWmDdbwNYs/8yVnqQwNno7Gna9nJ4yVYsLtQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=wchuxvIxqVNAJ5sx+hOD8ZzFFbBuyi/0eSdd6qDLobpv4BhlC+pFA+eyDZYHakem+ A+cUxcEFgAgIdkxRhi0WOV0pTB3YwRNcFpFuwRGwNHrxAaAQInqNfZ2uAnzt3DjkRT ALK5kT/NDK6Hg2FlFFZ8Cn55Cd2NxmO1Y06VEYZ0= Received: by mail-ed1-f47.google.com with SMTP id d1so8256906edd.13; Mon, 25 Mar 2019 10:28:59 -0700 (PDT) X-Gm-Message-State: APjAAAW7y/P4QwW60QHx3q+6ktgt5+pneyd3Vrsbus+Fk3eRWH0K+kic h9NXL14ioK+05i7j7QYCEDjBeo/HTaTnNxAcil0= X-Received: by 2002:aa7:c70a:: with SMTP id i10mr17327757edq.153.1553534938297; Mon, 25 Mar 2019 10:28:58 -0700 (PDT) MIME-Version: 1.0 References: <1553483264-5379-1-git-send-email-hao.wu@intel.com> <1553483264-5379-2-git-send-email-hao.wu@intel.com> In-Reply-To: <1553483264-5379-2-git-send-email-hao.wu@intel.com> From: Alan Tull Date: Mon, 25 Mar 2019 12:28:22 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 01/17] fpga: dfl-fme-mgr: fix FME_PR_INTFC_ID register address. To: Wu Hao Cc: Moritz Fischer , linux-fpga@vger.kernel.org, linux-kernel , linux-api@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 24, 2019 at 10:23 PM Wu Hao wrote: Hi 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 Thanks, Alan > --- > 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 >