From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [PATCH 8/9] Documentation: Add ivrs_acpihid kernel parameter description Date: Fri, 4 Dec 2015 13:21:50 +0100 Message-ID: <20151204122149.GD21177@pd.tnic> References: <1449199466-6081-1-git-send-email-annie.wang@amd.com> <1449199466-6081-9-git-send-email-annie.wang@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1449199466-6081-9-git-send-email-annie.wang-5C7GfCeVMHo@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Wang Hongcheng Cc: Tony Li , Wan Zongshun , Vinod Koul , Greg Kroah-Hartman , "Rafael J. Wysocki" , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Huang Rui , linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Mika Westerberg , Ken Xue List-Id: linux-acpi@vger.kernel.org On Fri, Dec 04, 2015 at 11:24:25AM +0800, Wang Hongcheng wrote: > From: Wan Zongshun > > Add ivrs_acpihid kernel parameter description, > like ivrs_acpihid[00:14.5]=AMD0020:0. > > Signed-off-by: Wan Zongshun > --- > Documentation/kernel-parameters.txt | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt > index 742f69d..5c364c6 100644 > --- a/Documentation/kernel-parameters.txt > +++ b/Documentation/kernel-parameters.txt > @@ -1680,6 +1680,13 @@ bytes respectively. Such letter suffixes can also be entirely omitted. > PCI device 00:14.0 write the parameter as: > ivrs_hpet[0]=00:14.0 > > + ivrs_acpihid [HW,X86_64] > + Provide an override to the ACPI-HID:UID<->DEVICE-ID > + mapping provided in the IVRS ACPI table. For > + example, to map UART-HID:UID AMD0020:0 to > + PCI device 00:14.5 write the parameter as: > + ivrs_acpihid[00:14.5]=AMD0020:0 What is that parameter needed for? Can't you deduce the mapping from the hardware? -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752657AbbLDMWA (ORCPT ); Fri, 4 Dec 2015 07:22:00 -0500 Received: from mail.skyhub.de ([78.46.96.112]:60789 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752121AbbLDMV5 (ORCPT ); Fri, 4 Dec 2015 07:21:57 -0500 Date: Fri, 4 Dec 2015 13:21:50 +0100 From: Borislav Petkov To: Wang Hongcheng Cc: Vinod Koul , Mika Westerberg , Joerg Roedel , Greg Kroah-Hartman , "Rafael J. Wysocki" , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, dmaengine@vger.kernel.org, iommu@lists.linux-foundation.org, Huang Rui , Wan Zongshun , Ken Xue , Tony Li Subject: Re: [PATCH 8/9] Documentation: Add ivrs_acpihid kernel parameter description Message-ID: <20151204122149.GD21177@pd.tnic> References: <1449199466-6081-1-git-send-email-annie.wang@amd.com> <1449199466-6081-9-git-send-email-annie.wang@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1449199466-6081-9-git-send-email-annie.wang@amd.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 04, 2015 at 11:24:25AM +0800, Wang Hongcheng wrote: > From: Wan Zongshun > > Add ivrs_acpihid kernel parameter description, > like ivrs_acpihid[00:14.5]=AMD0020:0. > > Signed-off-by: Wan Zongshun > --- > Documentation/kernel-parameters.txt | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt > index 742f69d..5c364c6 100644 > --- a/Documentation/kernel-parameters.txt > +++ b/Documentation/kernel-parameters.txt > @@ -1680,6 +1680,13 @@ bytes respectively. Such letter suffixes can also be entirely omitted. > PCI device 00:14.0 write the parameter as: > ivrs_hpet[0]=00:14.0 > > + ivrs_acpihid [HW,X86_64] > + Provide an override to the ACPI-HID:UID<->DEVICE-ID > + mapping provided in the IVRS ACPI table. For > + example, to map UART-HID:UID AMD0020:0 to > + PCI device 00:14.5 write the parameter as: > + ivrs_acpihid[00:14.5]=AMD0020:0 What is that parameter needed for? Can't you deduce the mapping from the hardware? -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.