search for: ae_error

Displaying 17 results from an estimated 17 matches for "ae_error".

2015 May 25
2
[PATCH 5/8] acpi: Check returned object type by Optimus _DSM locally
...ACPI_TYPE_BUFFER); > + obj = acpi_evaluate_dsm(handle, nouveau_op_dsm_muid, nouveau_op_dsm_rid, > + func, &argv4); > if (!obj) { > acpi_handle_info(handle, "failed to evaluate _DSM\n"); > return AE_ERROR; > - } else { > + } else if (obj->type == ACPI_TYPE_BUFFER) { > if (!result && obj->buffer.length == 4) { > *result = obj->buffer.pointer[0]; > *result |= (obj->buffer.pointer[1] <<...
2015 May 26
2
[PATCH 5/8] acpi: Check returned object type by Optimus _DSM locally
...obj = acpi_evaluate_dsm(handle, nouveau_op_dsm_muid, nouveau_op_dsm_rid, >>> + func, &argv4); >>> if (!obj) { >>> acpi_handle_info(handle, "failed to evaluate _DSM\n"); >>> return AE_ERROR; >>> - } else { >>> + } else if (obj->type == ACPI_TYPE_BUFFER) { >>> if (!result && obj->buffer.length == 4) { >>> *result = obj->buffer.pointer[0]; >>> *result |...
2015 May 25
15
[PATCH 1/8] acpi: Rename v1 DSM to mux to avoid ambiguity
This is especially true when variables or functions are just called dsm without precising the v1. Signed-off-by: Pierre Moreau <pierre.morrow at free.fr> --- drm/nouveau/nouveau_acpi.c | 64 +++++++++++++++++++++++----------------------- drm/nouveau/nouveau_acpi.h | 4 +-- drm/nouveau/nouveau_drm.c | 4 +-- drm/nouveau/nouveau_vga.c | 10 ++++---- 4 files changed, 41 insertions(+), 41
2015 May 28
12
[PATCH v2 1/9] acpi: Rename v1 DSM to mux to avoid ambiguity
This is especially true when variables or functions are just called dsm without specifying the v1. Changes since v1: * Fix typo in commit explanation * Change has_dsm to has_mux in nouveau_dsm_detect Signed-off-by: Pierre Moreau <pierre.morrow at free.fr> --- drm/nouveau/nouveau_acpi.c | 72 +++++++++++++++++++++++----------------------- drm/nouveau/nouveau_acpi.h | 4 +--
2016 Nov 17
0
ACPI ERROR
...000] ACPI: IRQ9 used by override. [ 0.000000] spurious 8259A interrupt: IRQ7. [ 0.014754] ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure, AE_NOT_FOUND (20130517/dswload-194) [ 0.117596] ACPI: Using IOAPIC for interrupt routing [ 0.127508] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM [ 0.135161] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 *11 12 14 15) [ 0.135193] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 10 11 12 14 15) *0 [ 0.135226] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 *10 11 12 14 15) [ 0.135257] ACPI: PCI Interrupt Link [LN...
2016 May 19
2
[PATCH] gpu/nouveau/nouveau_acpi.c: Fix Type Mismatch ACPI warning
...de/acpi/acpi_bus.h#L69 [4]: http://www.acpi.info/DOWNLOADS/ACPI_5_Errata%20A.pdf [5]: https://github.com/torvalds/linux/blob/46c13450624e36302547a2ac3695f2350fe7ffc3/drivers/acpi/utils.c#L628 > if (!obj) { > acpi_handle_info(handle, "failed to evaluate _DSM\n"); > return AE_ERROR; > -- > 2.5.5 > > _______________________________________________ > dri-devel mailing list > dri-devel at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel -------------- next part -------------- A non-text attachment was scrubbed... Name: signa...
2015 Jan 17
0
[PATCH RFC] nouveau: Add support for Gmux _DSM method
...; i < 4; i++) + args_buff[i] = (arg >> i * 8) & 0xFF; + + *result = 0; + obj = acpi_evaluate_dsm_typed(handle, nouveau_gmux_dsm_muid, 0x00000101, + func, &argv4, ACPI_TYPE_BUFFER); + if (!obj) { + acpi_handle_info(handle, "failed to evaluate _DSM\n"); + return AE_ERROR; + } else { + if (obj->buffer.length == 4) { + *result |= obj->buffer.pointer[0]; + *result |= (obj->buffer.pointer[1] << 8); + *result |= (obj->buffer.pointer[2] << 16); + *result |= (obj->buffer.pointer[3] << 24); + } + ACPI_FREE(obj); + } + + return 0;...
2016 May 20
0
[PATCH] gpu/nouveau/nouveau_acpi.c: Fix Type Mismatch ACPI warning
...all the links. I'll read the docs and send a new version of the patch when it makes more sense instead of just replacing random things. > > > > if (!obj) { > > acpi_handle_info(handle, "failed to evaluate _DSM\n"); > > return AE_ERROR; > > -- > > 2.5.5 > > > > _______________________________________________ > > dri-devel mailing list > > dri-devel at lists.freedesktop.org > > https://lists.freedesktop.org/mailman/listinfo/dri-devel > -------------- next part -------------- An HTML att...
2017 May 04
0
[PATCH v1] ACPI: Switch to use generic UUID API
...put; > union acpi_object in_params[4]; > union acpi_object *out_obj; > - u8 uuid[16]; > + uuid_le uuid; > u32 errors; > struct acpi_buffer output = {ACPI_ALLOCATE_BUFFER, NULL}; > > if (!context) > return AE_ERROR; > - if (ACPI_FAILURE(acpi_str_to_uuid(context->uuid_str, uuid))) > + if (uuid_le_to_bin(context->uuid_str, &uuid)) > return AE_ERROR; > context->ret.length = ACPI_ALLOCATE_BUFFER; > context->ret.pointer = NULL; > @@ -241...
2017 May 04
12
[PATCH v1] ACPI: Switch to use generic UUID API
...le handle, struct acpi_osc_context *context) { acpi_status status; struct acpi_object_list input; union acpi_object in_params[4]; union acpi_object *out_obj; - u8 uuid[16]; + uuid_le uuid; u32 errors; struct acpi_buffer output = {ACPI_ALLOCATE_BUFFER, NULL}; if (!context) return AE_ERROR; - if (ACPI_FAILURE(acpi_str_to_uuid(context->uuid_str, uuid))) + if (uuid_le_to_bin(context->uuid_str, &uuid)) return AE_ERROR; context->ret.length = ACPI_ALLOCATE_BUFFER; context->ret.pointer = NULL; @@ -241,7 +218,7 @@ acpi_status acpi_run_osc(acpi_handle handle, struct ac...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...;t0->enable_perr = fields[5].integer.value; break; default: - printk(KERN_WARNING - "%s: Type 0 Revision %d record not supported\n", - __func__, revision); + pr_warn("%s: Type 0 Revision %d record not supported\n", + __func__, revision); return AE_ERROR; } return AE_OK; @@ -97,9 +99,8 @@ decode_type1_hpx_record(union acpi_object *record, struct hotplug_params *hpx) hpx->t1->tot_max_split = fields[4].integer.value; break; default: - printk(KERN_WARNING - "%s: Type 1 Revision %d record not supported\n", -...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...;t0->enable_perr = fields[5].integer.value; break; default: - printk(KERN_WARNING - "%s: Type 0 Revision %d record not supported\n", - __func__, revision); + pr_warn("%s: Type 0 Revision %d record not supported\n", + __func__, revision); return AE_ERROR; } return AE_OK; @@ -97,9 +99,8 @@ decode_type1_hpx_record(union acpi_object *record, struct hotplug_params *hpx) hpx->t1->tot_max_split = fields[4].integer.value; break; default: - printk(KERN_WARNING - "%s: Type 1 Revision %d record not supported\n", -...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...;t0->enable_perr = fields[5].integer.value; break; default: - printk(KERN_WARNING - "%s: Type 0 Revision %d record not supported\n", - __func__, revision); + pr_warn("%s: Type 0 Revision %d record not supported\n", + __func__, revision); return AE_ERROR; } return AE_OK; @@ -97,9 +99,8 @@ decode_type1_hpx_record(union acpi_object *record, struct hotplug_params *hpx) hpx->t1->tot_max_split = fields[4].integer.value; break; default: - printk(KERN_WARNING - "%s: Type 1 Revision %d record not supported\n", -...
2017 Sep 11
2
Nouveau: kernel hang on Optimus+Intel+NVidia GeForce 1060m
....586553] ACPI: Power Resource [FN03] (off) [ 0.586627] ACPI: Power Resource [FN04] (off) [ 0.587632] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-fe]) [ 0.587636] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI] [ 0.587663] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM [ 0.588155] PCI host bridge to bus 0000:00 [ 0.588157] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.588158] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.588159] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff windo...
2020 Jan 12
2
Display broken after resume from suspend
...ocrs" and report a bug [ 0.289043] ACPI: Enabled 7 GPEs in block 00 to 3F [ 0.308048] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3e]) [ 0.308055] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3] [ 0.308116] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM [ 0.308973] PCI host bridge to bus 0000:00 [ 0.308975] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.308976] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.308977] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff windo...
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -790,11 +790,10 @@ static acpi_status AMW0_set_u32(u32 value, u32 cap) if (value > max_brightness) return AE_BAD_PARAMETER; switch (quirks->brightness) { default: return ec_write(0x83, value); - break; } default: return AE_ERROR; } diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index e5a1b5533408..704813374922 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c @@ -2465,26 +2465,23 @@ static int __sony_nc_gfx_switch_status_get(void) case 0x014...
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -790,11 +790,10 @@ static acpi_status AMW0_set_u32(u32 value, u32 cap) if (value > max_brightness) return AE_BAD_PARAMETER; switch (quirks->brightness) { default: return ec_write(0x83, value); - break; } default: return AE_ERROR; } diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index e5a1b5533408..704813374922 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c @@ -2465,26 +2465,23 @@ static int __sony_nc_gfx_switch_status_get(void) case 0x014...