Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp244571imp; Thu, 21 Feb 2019 00:11:03 -0800 (PST) X-Google-Smtp-Source: AHgI3IYu+UEha7B8vtWrZvZHH1HR7zJesqd0/TVgGddFwsdqz+1feczmqgQH4vmsxf9GFtAy+qDt X-Received: by 2002:a62:5182:: with SMTP id f124mr39428703pfb.238.1550736663221; Thu, 21 Feb 2019 00:11:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550736663; cv=none; d=google.com; s=arc-20160816; b=xplGXbqd8SEtTShLNT0KPgcIDeJxhWyWnAhHIp8oK+oJa1pb2zNu4rbJ2DKOV0lqo4 KWJ0gwNQdy/XSgiUcTGxyZWsh67Lh4N2xbMSdkhwd0Wh+6jIrHIMQ5WUH4QjkpcTx6xD a/u5RoJ2S7e7A76r9XlL8lUehwIJHO8201a8wnroeIqYpAXp0L+WZhFu81GdnsOx4wdK U9B9/OhMPXAsf0fEtOFI1vyU93KWui64zC/dvsj9EFMaeWnxneRoS7BelRBy+zIO8MC2 h7MOBR35tonAZZbGLP28xmsE/ie/Gdr4M0o3otRFKDhnnZM53t9gjlpireHfmS9quTk6 P9qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=e4+zNF3rcdw6n9DYvDlhussIFwFZoC1O0E2opg3Vmvs=; b=SME14ZZXOqTrx5fJ+EyG0LXQtkV4/H9sHYgMTE6TnBHrA9FGBoSRXI2ggUHefM61gM mqikQ2zvcYwZNz9tVND2ksq1bFey9Y4IWxOS7E5JSl3CyFDPu6E10qMkB1DYp/wPiOc8 d642jod5Z8Q66q6E7O8qMuu+fZyLuC1jJffrInrIR/oK8McMriGidI8rluySRcqcP+gS 2+sPHsZVLwMLOc8wLtLpHoI6ATNN/lGtZKJJxHR/5OZ32I57BJpCOSHmgc3apUbDKG1e qux6CK6LKNmdNxpDNYrO+PuDtvCAJS/XtwJQjop+tGvPahiIU7X5VKMf259uyNNCS/ME An8w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si20140756pgh.392.2019.02.21.00.10.47; Thu, 21 Feb 2019 00:11:03 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727095AbfBUIKV (ORCPT + 99 others); Thu, 21 Feb 2019 03:10:21 -0500 Received: from mx0b-002e3701.pphosted.com ([148.163.143.35]:39342 "EHLO mx0b-002e3701.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726038AbfBUIKT (ORCPT ); Thu, 21 Feb 2019 03:10:19 -0500 Received: from pps.filterd (m0148664.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1L86PUN008478; Thu, 21 Feb 2019 08:10:17 GMT Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0b-002e3701.pphosted.com with ESMTP id 2qsnsqs1wn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Feb 2019 08:10:17 +0000 Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3426.houston.hpe.com (Postfix) with ESMTP id B45855F; Thu, 21 Feb 2019 08:10:16 +0000 (UTC) Received: from blofly.tw.rdlabs.hpecorp.net (blofly.tw.rdlabs.hpecorp.net [15.119.208.30]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id 9EA744A; Thu, 21 Feb 2019 08:10:14 +0000 (UTC) From: Matt Hsiao To: linux-kernel@vger.kernel.org Cc: arnd@arndb.de, gregkh@linuxfoundation.org, david.altobelli@hpe.com, mark.rusk@hpe.com, jerry.hoemann@hpe.com, Matt Hsiao Subject: [PATCH 1/4] misc: hpilo: Be more specific when ignoring the aux iLO Date: Thu, 21 Feb 2019 16:04:39 +0800 Message-Id: <1550736282-25416-2-git-send-email-matt.hsiao@hpe.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1550736282-25416-1-git-send-email-matt.hsiao@hpe.com> References: <1550736282-25416-1-git-send-email-matt.hsiao@hpe.com> X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-02-21_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902210062 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Be more specific with the subsystem_vendor id used before iLO5 Signed-off-by: Matt Hsiao --- drivers/misc/hpilo.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/misc/hpilo.c b/drivers/misc/hpilo.c index e9c9ef5..01c407a 100644 --- a/drivers/misc/hpilo.c +++ b/drivers/misc/hpilo.c @@ -763,8 +763,9 @@ static int ilo_probe(struct pci_dev *pdev, int devnum, minor, start, error = 0; struct ilo_hwinfo *ilo_hw; - /* Ignore subsystem_device = 0x1979 (set by BIOS) */ - if (pdev->subsystem_device == 0x1979) + /* Ignore auxiliary iLO device */ + if (pdev->subsystem_vendor == PCI_VENDOR_ID_HP && + pdev->subsystem_device == 0x1979) return 0; if (max_ccb > MAX_CCB) -- 1.8.3.1