From patchwork Mon Oct 5 03:21:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 7324521 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 89305BEEA4 for ; Mon, 5 Oct 2015 03:21:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B801F20694 for ; Mon, 5 Oct 2015 03:21:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 82F5F205AA for ; Mon, 5 Oct 2015 03:21:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751975AbbJEDVl (ORCPT ); Sun, 4 Oct 2015 23:21:41 -0400 Received: from mail-qk0-f179.google.com ([209.85.220.179]:36575 "EHLO mail-qk0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751961AbbJEDVl (ORCPT ); Sun, 4 Oct 2015 23:21:41 -0400 Received: by qkcf65 with SMTP id f65so64861164qkc.3 for ; Sun, 04 Oct 2015 20:21:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=niXaXgnhEvyZwmPJtF0yj9vOcjWRhS2exM17BdXw5uw=; b=I4I8gLoQOnemv2RQIyQ/todS3QX1+wAW/GfjWeCyrWyvQMZojun6u8g89qHNZpTf5B LXrssEMfRuj6Ine8qbApdfCzKHBj8jtDDhjMOx9hsr6Z34EMCDHO5fseF2rBJ/QGsUh9 DYY5+mEqneyujpgMuzmH3c2ZDrbt946IaGN8lGaI8Jbu45YNd67hSjwIeLyLuLZnD+bL biSPVQTlotHZ0+sTkT7bAG92k/u/FuACLW37G2skYCoPCKztjZLUTjKQE1so+amG/mkh rtcr0tyAo8UJ5osCD+PmECmE9fQk7bKMomTR3M+r5JDmofkbcuiWZqxP3dq3GIvam5y2 M8IQ== X-Received: by 10.55.42.141 with SMTP id q13mr35862836qkq.48.1444015300753; Sun, 04 Oct 2015 20:21:40 -0700 (PDT) Received: from localhost.localdomain ([189.5.19.77]) by smtp.gmail.com with ESMTPSA id 68sm10371783qgy.16.2015.10.04.20.21.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 04 Oct 2015 20:21:40 -0700 (PDT) From: Fabio Estevam To: bhelgaas@google.com Cc: m-karicheri2@ti.com, linux-pci@vger.kernel.org, Fabio Estevam Subject: [RFC] PCI: spear: Fix definition of LTSSM_STATE_MASK Date: Mon, 5 Oct 2015 00:21:15 -0300 Message-Id: <1444015275-5668-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam Designware PCI block uses 0x3f for the LTSSM_STATE_MASK. Signed-off-by: Fabio Estevam --- Murali, I am doing some consolidation on the PCI DW drivers and I noticed that keystone uses a different LTSSM_STATE_MASK definition. Could you please double check it? drivers/pci/host/pci-keystone-dw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/host/pci-keystone-dw.c b/drivers/pci/host/pci-keystone-dw.c index 3cf55cd..78320e4 100644 --- a/drivers/pci/host/pci-keystone-dw.c +++ b/drivers/pci/host/pci-keystone-dw.c @@ -25,7 +25,7 @@ /* Application register defines */ #define LTSSM_EN_VAL 1 -#define LTSSM_STATE_MASK 0x1f +#define LTSSM_STATE_MASK 0x3f #define LTSSM_STATE_L0 0x11 #define DBI_CS2_EN_VAL 0x20 #define OB_XLAT_EN_VAL 2