From patchwork Fri Nov 17 20:31:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 10063859 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9EFA26023A for ; Fri, 17 Nov 2017 20:42:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 918CA2ADE1 for ; Fri, 17 Nov 2017 20:42:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 85D7E2AD93; Fri, 17 Nov 2017 20:42:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E0A7B2AD93 for ; Fri, 17 Nov 2017 20:42:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161824AbdKQUb7 (ORCPT ); Fri, 17 Nov 2017 15:31:59 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:38204 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934775AbdKQUbk (ORCPT ); Fri, 17 Nov 2017 15:31:40 -0500 Received: by mail-wm0-f68.google.com with SMTP id 128so217977wmo.3 for ; Fri, 17 Nov 2017 12:31:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=pQ7RTaXG/8gO9j4mlph59flzSTje069ZcE2ugxrMMSs=; b=vS0UwsXP5La/Cavlib65RmzFmfUPPWz8U1m5Pw89mlAuY/tOiGUHkIc+ou7cIiiIpe MuVzw389H9GwgbL+lX2WIC4q8ncCDXFOVASuh+5D3f+W8CYfEfZN39wg0nzDW1z6UC3n MtUgKjY21WzitR+b4BPnW5qWHjg3QNSBwA5NBEaSWT9VsZc7GnVPkw5GMtFBJcP9+12x ddfjMtwrulb3VDEZt2S6w6GLLaVJLhZhItNSnVOmTwlaDffZ/SM7hFsR75RC/HLJzCQa ryC6t4hpd35BNbD6iYPxS4nCVDhodGcgeO7sR/Tkknu38MQUrVWRckfS+3REq9aARcZA qKcA== 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; bh=pQ7RTaXG/8gO9j4mlph59flzSTje069ZcE2ugxrMMSs=; b=D7F1lPKkHudbPxW/ybcmTa4SU9nm8/ZEaT3RgfnQPcifNNU3jH00GOeD/s3jOtcCEL hbEsE5pUYJ/OzzXqw/65IUbygPtVom4s4pzt4uNtagtreruLk9XvgvSpP9PkvaPcexJt qHJZ5zWj/rkyPI14z7RgPETl3KIpETtQAgUTynL9qbcb0agOyrH0gMGrnNvBlStnzXCg AvjOaSO40OKKbkzMVNWrmdV7PyVeENPdXuN2zKqZ+A5kvI6MjsVF+/9tTSPiBic0N9J9 cJm4+tTynF+6JxO0+zMCdkJOtvDTCVb6Fmo635c/K+jWhNpyt0AiP9tZoTpTKVY+tssJ NKRA== X-Gm-Message-State: AJaThX7038pEtjzqTlXLzpLcObJwf0itxF8FNm3uPYqlL/otO/phFPYQ tOnSssOVWTa3E/z/Gr9zMQ== X-Google-Smtp-Source: AGs4zMZBdG6jHyQpGBukfnqJewvxyhyHp/n0IQCotU4o7U1h7AhsKeDYCJ9RcPsjh35u0E5DlPcodQ== X-Received: by 10.28.109.23 with SMTP id i23mr4938654wmc.32.1510950699064; Fri, 17 Nov 2017 12:31:39 -0800 (PST) Received: from localhost ([46.222.203.184]) by smtp.gmail.com with ESMTPSA id k69sm3442725wmg.45.2017.11.17.12.31.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 17 Nov 2017 12:31:38 -0800 (PST) From: Xose Vazquez Perez Cc: Xose Vazquez Perez , Hannes Reinecke , Takahiro Yasui , Matthias Rudolph , "Martin K . Petersen" , "James E . J . Bottomley" , SCSI ML Subject: [PATCH] scsi_devinfo: apply to HP XP the same flags as Hitachi VSP Date: Fri, 17 Nov 2017 21:31:36 +0100 Message-Id: <20171117203136.8833-1-xose.vazquez@gmail.com> X-Mailer: git-send-email 2.14.3 To: unlisted-recipients:; (no To-header on input) Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 56f3d383f modified some Hitachi entries: HITACHI is always supporting VPD pages, even though it's claiming to support SCSI Revision 3 only. ~~~ The same should have been done also for HP-rebranded. Cc: Hannes Reinecke Cc: Takahiro Yasui Cc: Matthias Rudolph Cc: Martin K. Petersen Cc: James E.J. Bottomley Cc: SCSI ML Signed-off-by: Xose Vazquez Perez --- drivers/scsi/scsi_devinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c index 320d0a81358d..3ab4d337bf55 100644 --- a/drivers/scsi/scsi_devinfo.c +++ b/drivers/scsi/scsi_devinfo.c @@ -182,7 +182,7 @@ static struct { {"HITACHI", "6586-", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, {"HITACHI", "6588-", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, {"HP", "A6189A", NULL, BLIST_SPARSELUN | BLIST_LARGELUN}, /* HP VA7400 */ - {"HP", "OPEN-", "*", BLIST_REPORTLUN2}, /* HP XP Arrays */ + {"HP", "OPEN-", "*", BLIST_REPORTLUN2 | BLIST_TRY_VPD_PAGES}, /* HP XP Arrays */ {"HP", "NetRAID-4M", NULL, BLIST_FORCELUN}, {"HP", "HSV100", NULL, BLIST_REPORTLUN2 | BLIST_NOSTARTONADD}, {"HP", "C1557A", NULL, BLIST_FORCELUN},