Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754390AbcHBSvI (ORCPT ); Tue, 2 Aug 2016 14:51:08 -0400 Received: from mxout1.idt.com ([157.165.5.25]:36812 "EHLO mxout1.idt.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754402AbcHBSuv (ORCPT ); Tue, 2 Aug 2016 14:50:51 -0400 From: Alexandre Bounine To: Andrew Morton Cc: Alexandre Bounine , Matt Porter , Michael Ellerman , Andre van Herk , Barry Wood , linux-kernel@vger.kernel.org Subject: [PATCH -next] powerpc/fsl_rio: apply changes for RIO spec rev 3 fix2 Date: Tue, 2 Aug 2016 14:49:32 -0400 Message-Id: <20160802184932.2755-1-alexandre.bounine@idt.com> X-Mailer: git-send-email 2.9.0 X-TM-AS-MML: disable Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix compile error reported by Michael Ellerman: https://lkml.org/lkml/2016/7/27/14 also corrects fix: https://lkml.org/lkml/2016/7/27/488 Signed-off-by: Alexandre Bounine Cc: Matt Porter Cc: Michael Ellerman Cc: Andre van Herk Cc: Barry Wood Cc: linux-kernel@vger.kernel.org --- arch/powerpc/sysdev/fsl_rio.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c index f03930c..984e816 100644 --- a/arch/powerpc/sysdev/fsl_rio.c +++ b/arch/powerpc/sysdev/fsl_rio.c @@ -697,6 +697,9 @@ int fsl_rio_setup(struct platform_device *dev) ((i == 0) ? RIO_INB_ATMU_REGS_PORT1_OFFSET : RIO_INB_ATMU_REGS_PORT2_OFFSET)); + /* Set to receive packets with any dest ID */ + out_be32((priv->regs_win + RIO_ISR_AACR + i*0x80), + RIO_ISR_AACR_AA); /* Configure maintenance transaction window */ out_be32(&priv->maint_atmu_regs->rowbar, -- 1.7.8.4