Received: by 10.223.185.116 with SMTP id b49csp3830119wrg; Mon, 26 Feb 2018 06:49:19 -0800 (PST) X-Google-Smtp-Source: AG47ELsfoPjACgYOU+CstUWdbDjuPnk2lIG3cn76QHmJuah45rpsyrwjo6PV0EgqADnMq/nGQptN X-Received: by 10.98.72.10 with SMTP id v10mr3851821pfa.148.1519656559002; Mon, 26 Feb 2018 06:49:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519656558; cv=none; d=google.com; s=arc-20160816; b=gAP1FQchylyXTMnsp/Nqg5iKCPzVheri5D6Jz1qd80XRalaRONprT4BHHKAEzZif2S 9p5ys+gkJRL4P5IQsx6PUQFdEs9lCMLfDrBFZgjv33LaOppWI2dH36sqs5f5F+6CTh5A H31fF66jhyU/Hy9xuov9ULbduG94jcVNQ2TJQ/G8VWJWMSimAauyKw9Sf61hJcZvAofW XhCPkDfs/9qVUa3hbd/0mVhuUqNUtKuQrnFlVgKRA7rWOPxzGIdzo1+GyfxyMepl+cWE b+cgVQBU2TJnfAcmNHPQkDcAOQuSAx7dyrSsIMCFi8EFlMvVUjpW8l5gS0OJmSTHCaVU FCKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:reply-to:dkim-signature :arc-authentication-results; bh=oi5/rBAla/0H0ZQ4Ja+0uwYMKpPTLDYGYpTt38hEhLs=; b=dZ11pFtux5lMcxOuj+K6sBu02qt+XzP8gj4w18qLbmO6jcOP6QptGBEA3C8yXIuPan 504PcifpVNOwz+dIAK28LkmpzrDvpSM0CYutyWvLo05FhTMCZEdrkKWDQhlWZWdLscP2 ZdrC0k0gyuYl89zmQg/bEgq2RIEAaqLBn6fxJCyz+YIMDTHyCn6qTKPmNrMGlk1WJ+yw 1x26mNbcEf09KMRBQJUmhZoQiFbYdouGP88wktP5StQJb7k0bVWcYsWgNYsyweUvtDbb IOfoVhrnt5ooXaEq/GeK3Uiy6+05Tuo863QNSbdP63wI12iXemZ1k6k/p3IZwHhG/hWz yeSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=A0ybuhZE; 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 i1-v6si3144661pld.260.2018.02.26.06.49.04; Mon, 26 Feb 2018 06:49:18 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=A0ybuhZE; 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 S1753994AbeBZOsR (ORCPT + 99 others); Mon, 26 Feb 2018 09:48:17 -0500 Received: from mail-oi0-f47.google.com ([209.85.218.47]:41584 "EHLO mail-oi0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753772AbeBZOsM (ORCPT ); Mon, 26 Feb 2018 09:48:12 -0500 Received: by mail-oi0-f47.google.com with SMTP id g5so4633170oiy.8 for ; Mon, 26 Feb 2018 06:48:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=oi5/rBAla/0H0ZQ4Ja+0uwYMKpPTLDYGYpTt38hEhLs=; b=A0ybuhZE9xK562DqeTffF8xNEZ+8aR+C2PFbuDgwJQ0MJ3mpP32qT1/49QVmq8wTGn lyKGDISZkZDtPPtM50o4H9ARInJwVC/mKQqeH3q0SBMkq3sfWSCdeFlVX+KTBshcW2+/ m8SRNmeJcPb4tRjRDGhtr/qerNQ9U/7nqCJz4yR9+/95N5WFbbME+k08euYLL99RXTJG fQ8CEe9c6zuT1nA57shqlzVQbvtXc4sHTYLM6iiNyjvwsY++CsnJXUdCXigmtGtJiKru iaYosoVOv5qhdpcKyVZa89rivpPUhR6yz/SG1E5eiZjq2bnFVzyusMRpP8RqzB0lZ6Ac 64CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:cc:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=oi5/rBAla/0H0ZQ4Ja+0uwYMKpPTLDYGYpTt38hEhLs=; b=HPa5gE4MoMCv4jZwt11Xg7i+xDv/83nAGD2GlvU9XQWeh6I7LjCQztyd+oWHpz8RBC jCPog9lM0oDfaxoA/w3GAr6VPqLMQ+u0mQ5Mp7nSZ5/aIINjdw1Iax93zyvmp0+sx8SO P5VkZJLp9gqazGruB5qMDgjk3TRW/W8LctFAC+44hmDjmoKuPfqCbejvM71sZNFhdlGL tHOHh+3+XVn+mTw1wsJTUNnXAnfldWcJr8JyDy8sQgF536v5rC18ncUzlJx3q+z6ZjT5 g+ks4ITpxgJ/pqPBptiYZAOtl8arH9yHOT2QjF9muzOq6nfWJaB+FU3ykiXfnY148sO8 HrxA== X-Gm-Message-State: APf1xPAUUWIWd/ze99zGchvDXuROX+twt47Z67AXG6o5BLkhGb4QoZ3z tqh3tVkpgu+7yDCdbfkZnQ== X-Received: by 10.202.96.11 with SMTP id u11mr6599088oib.59.1519656491628; Mon, 26 Feb 2018 06:48:11 -0800 (PST) Received: from serve.minyard.net ([47.184.168.85]) by smtp.gmail.com with ESMTPSA id k3sm3954090oiw.30.2018.02.26.06.48.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Feb 2018 06:48:10 -0800 (PST) Received: from [192.168.27.3] (t430m.minyard.net [192.168.27.3]) by serve.minyard.net (Postfix) with ESMTPSA id 7FD822BE; Mon, 26 Feb 2018 08:48:09 -0600 (CST) Reply-To: minyard@acm.org Subject: Re: [PATCH] ipmi:pci: Blacklist a Realtek "IPMI" device To: Andy Shevchenko Cc: Chris Chiu , Linux Kernel Mailing List , Linux Upstreaming Team , openipmi-developer@lists.sourceforge.net, Corey Minyard References: <1519613406-32237-1-git-send-email-minyard@acm.org> From: Corey Minyard Message-ID: <5ae019f4-a997-fe96-4f16-c12893b816cf@acm.org> Date: Mon, 26 Feb 2018 08:48:07 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/26/2018 08:34 AM, Andy Shevchenko wrote: > On Mon, Feb 26, 2018 at 4:50 AM, wrote: > >> Realtek has some sort of "Virtual" IPMI device on the PCI bus as a >> KCS controller, but whatever it is, it's not one. Ignore it if seen. >> +static struct pci_device_id ipmi_pci_blacklist[] = { >> + /* >> + * This is a "Virtual IPMI device", whatever that is. It appears >> + * as a KCS device by the class, but it is not one. >> + */ >> + { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x816c) }, >> + { 0, } > { PCI_VDEVICE(REALTEK, 0x816c) }, > { } > > ? That's better, thanks. -corey > >> +}; >> + if (pci_match_id(ipmi_pci_blacklist, pdev)) >> + return -ENODEV; >