Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1283777 > unrolled thread

Re: [PATCH 8/9] Documentation: Add ivrs_acpihid kernel parameter description

Started byBorislav Petkov <bp@alien8.de>
First post2015-12-04 13:30 +0100
Last post2015-12-04 15:40 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 8/9] Documentation: Add ivrs_acpihid kernel parameter  description Borislav Petkov <bp@alien8.de> - 2015-12-04 13:30 +0100
    RE: [PATCH 8/9] Documentation: Add ivrs_acpihid kernel parameter  description "Wan, Vincent" <Vincent.Wan@amd.com> - 2015-12-04 15:00 +0100
      Re: [PATCH 8/9] Documentation: Add ivrs_acpihid kernel parameter  description Borislav Petkov <bp@alien8.de> - 2015-12-04 15:40 +0100

#1283777 — Re: [PATCH 8/9] Documentation: Add ivrs_acpihid kernel parameter description

FromBorislav Petkov <bp@alien8.de>
Date2015-12-04 13:30 +0100
SubjectRe: [PATCH 8/9] Documentation: Add ivrs_acpihid kernel parameter description
Message-ID<qBXES-2B5-19@gated-at.bofh.it>
On Fri, Dec 04, 2015 at 11:24:25AM +0800, Wang Hongcheng wrote:
> From: Wan Zongshun <Vincent.Wan@amd.com>
> 
> Add ivrs_acpihid kernel parameter description,
> like ivrs_acpihid[00:14.5]=AMD0020:0.
> 
> Signed-off-by: Wan Zongshun <Vincent.Wan@amd.com>
> ---
>  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.
--
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/

[toc] | [next] | [standalone]


#1283823

From"Wan, Vincent" <Vincent.Wan@amd.com>
Date2015-12-04 15:00 +0100
Message-ID<qBZ3Y-3lZ-9@gated-at.bofh.it>
In reply to#1283777
PiA+ICsJaXZyc19hY3BpaGlkCVtIVyxYODZfNjRdDQo+ID4gKwkJCVByb3ZpZGUgYW4gb3ZlcnJp
ZGUgdG8gdGhlIEFDUEktSElEOlVJRDwtPkRFVklDRS1JRA0KPiA+ICsJCQltYXBwaW5nIHByb3Zp
ZGVkIGluIHRoZSBJVlJTIEFDUEkgdGFibGUuIEZvcg0KPiA+ICsJCQlleGFtcGxlLCB0byBtYXAg
VUFSVC1ISUQ6VUlEIEFNRDAwMjA6MCB0bw0KPiA+ICsJCQlQQ0kgZGV2aWNlIDAwOjE0LjUgd3Jp
dGUgdGhlIHBhcmFtZXRlciBhczoNCj4gPiArCQkJCWl2cnNfYWNwaWhpZFswMDoxNC41XT1BTUQw
MDIwOjANCj4gDQo+IFdoYXQgaXMgdGhhdCBwYXJhbWV0ZXIgbmVlZGVkIGZvcj8gQ2FuJ3QgeW91
IGRlZHVjZSB0aGUgbWFwcGluZyBmcm9tIHRoZQ0KPiBoYXJkd2FyZT8NCg0KSXQgaXMgdmVyeSBs
aWtlIGl2cnNfaW9hcGljLyBpdnJzX2hwZXQsIHdoaWNoIGNhbiBvdmVycmlkZSB0aGUgZGVkaWNh
dGVkIEJERiBpZCBtYXBwZWQgdG8gSElEOlVJRCB0aGF0IHdhcyByZXBvcnRlZCBmcm9tIEJJT1Mn
cyBJVkhEIGVudHJ5Lg0KSWYgQklPUyBkaWQgbm90IHJlcG9ydCBhIHJpZ2h0IEJERiwgd2UgY2Fu
IHJlc29ydCB0byB0aGlzIHBhcmFtZXRlciB0byBjb3JyZWN0IGl0Lg0KDQo+IA0KPiAtLQ0KPiBS
ZWdhcmRzL0dydXNzLA0KPiAgICAgQm9yaXMuDQo+IA0KPiBFQ08gdGlwICMxMDE6IFRyaW0geW91
ciBtYWlscyB3aGVuIHlvdSByZXBseS4NCg==
--
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/

[toc] | [prev] | [next] | [standalone]


#1283872

FromBorislav Petkov <bp@alien8.de>
Date2015-12-04 15:40 +0100
Message-ID<qBZGG-3Ud-25@gated-at.bofh.it>
In reply to#1283823
On Fri, Dec 04, 2015 at 01:19:35PM +0000, Wan, Vincent wrote:
> > > +	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?
> 
> It is very like ivrs_ioapic/ ivrs_hpet, which can override the dedicated BDF id mapped to HID:UID that was reported from BIOS's IVHD entry.
> If BIOS did not report a right BDF, we can resort to this parameter to correct it.

Please add a verbose, human-readable explanation to the text so that
people know what it is for. The text above is hard to parse even for
insiders.

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
--
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web