Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761837AbbBJDjt (ORCPT ); Mon, 9 Feb 2015 22:39:49 -0500 Received: from gate.crashing.org ([63.228.1.57]:39801 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761484AbbBJDjs (ORCPT ); Mon, 9 Feb 2015 22:39:48 -0500 Message-ID: <1423539572.4924.80.camel@kernel.crashing.org> Subject: Re: [PATCH 03/18] powerpc/powernv: s/OPAL_PCI_SET_PHB_CXL_MODE/OPAL_PCI_SET_PHB_CAPI_MODE/ to match firmware From: Benjamin Herrenschmidt To: Stewart Smith Cc: mpe@ellerman.id.au, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Date: Tue, 10 Feb 2015 14:39:32 +1100 In-Reply-To: <1423535220-6322-4-git-send-email-stewart@linux.vnet.ibm.com> References: <1423535220-6322-1-git-send-email-stewart@linux.vnet.ibm.com> <1423535220-6322-4-git-send-email-stewart@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.7-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 981 Lines: 27 On Tue, 2015-02-10 at 13:26 +1100, Stewart Smith wrote: > --- a/arch/powerpc/platforms/powernv/pci-ioda.c > +++ b/arch/powerpc/platforms/powernv/pci-ioda.c > @@ -1481,9 +1481,9 @@ int pnv_phb_to_cxl(struct pci_dev *dev) > > pe_info(pe, "Switching PHB to CXL\n"); > > - rc = opal_pci_set_phb_cxl_mode(phb->opal_id, 1, pe->pe_number); > + rc = opal_pci_set_phb_capi_mode(phb->opal_id, 1, pe->pe_number); > if (rc) > - dev_err(&dev->dev, "opal_pci_set_phb_cxl_mode failed: %i\n", rc); > + dev_err(&dev->dev, "opal_pci_set_phb_capi_mode failed: %i\n", rc); > > return rc; > } Add a comment above the call: /* CAPI is the IBM/Firmware name for "CXL" */ Cheers, Ben. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/