From patchwork Mon Oct 5 10:53:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 7326271 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 62C969F302 for ; Mon, 5 Oct 2015 10:53:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9B2D7207C2 for ; Mon, 5 Oct 2015 10:53:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A3E0D2078E for ; Mon, 5 Oct 2015 10:53:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750864AbbJEKxi (ORCPT ); Mon, 5 Oct 2015 06:53:38 -0400 Received: from mail-qg0-f45.google.com ([209.85.192.45]:35183 "EHLO mail-qg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751077AbbJEKxi (ORCPT ); Mon, 5 Oct 2015 06:53:38 -0400 Received: by qgt47 with SMTP id 47so145544745qgt.2 for ; Mon, 05 Oct 2015 03:53:37 -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=IqvBHLMRtOdGumlzDbf36266Vbufd/NDsG1B35MK+tM=; b=DwEMWNSo0Ed5t1pVW9InuPqPxn8aW4xecqmY2sTKUBZCoMiCUUj1GvfGVy6SSa9RPl Lo8aR2BOlzrLdr9F5jy+F6VZK4z/JdT5QVdqJuyeJ6N7BeP2pxlTvN/PfIDhDUG7abKT L6XDZp3R2s+K3lx43M/lXVZqLHDhld+XHI80h/5Z9B/ty/4etE2xxR3foLRJHtkfoobY lTEQgoxrx9yhjLZE7a0kGf52GEMENFzLvXCqCemzNa1mUMKWhj9QqTOk7PX4+LogrYZ8 Ug6yswGYzLPLvriu+X5SNxslrX3VXWaA6Vehk5QDouOaL79oijSMpxzkrvhx5H8+WOOv JQcQ== X-Received: by 10.140.237.14 with SMTP id i14mr39912198qhc.28.1444042417225; Mon, 05 Oct 2015 03:53:37 -0700 (PDT) Received: from localhost.localdomain ([189.5.19.77]) by smtp.gmail.com with ESMTPSA id i124sm10937067qhc.12.2015.10.05.03.53.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Oct 2015 03:53:36 -0700 (PDT) From: Fabio Estevam To: bhelgaas@google.com Cc: m-karicheri2@ti.com, linux-pci@vger.kernel.org, Fabio Estevam Subject: [RFC v2] PCI: keystone: Fix definition of LTSSM_STATE_MASK Date: Mon, 5 Oct 2015 07:53:09 -0300 Message-Id: <1444042389-8036-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=unavailable 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 --- Changes since v1: - Fix Subject 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