[Bug 1942215]

2021-10-06 Thread Andrey Melnikov
Created attachment 1158 broken dsdt from notebook -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942215 Title: OOPs on boot: invalid opcode: [#1] SMP NOPTI To manage notifications about this b

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2021-10-02 Thread Andrey Melnikov
> Thanks Andrey, have you already upstreamed this patch? No. I'm transform it to: - if (!(walk_state->op_info->flags & AML_NO_OPERAND_RESOLVE)) { + if (!(walk_state->op_info->flags & AML_NO_OPERAND_RESOLVE) && walk_state->num_operands) { and succesfuly run kernel. if

[Bug 1942215] Re: OOPs on boot: invalid opcode: 0000 [#1] SMP NOPTI

2021-09-06 Thread Andrey Melnikov
Not sufficient. There is another BUG() hidden at line 398: status = acpi_ex_resolve_operands(walk_state->opcode, &(walk_state->operands[walk_state->num_operands - 1]), walk_state); in `walk_state->operands[]` array referencing. After adding same guard for walk_state->operands[] if (walk_state->