Displaying 16 results from an estimated 16 matches for "ls_ucode_msgqueue".
2018 Mar 13
2
[PATCH] drm/nouveau/secboot: remove VLA usage
...et. Thus, we can end up having runtime
failures that are hard to debug.
Also, fixed as part of the directive to remove all VLAs from
the kernel: https://lkml.org/lkml/2018/3/7/621
Signed-off-by: Gustavo A. R. Silva <gustavo at embeddedor.com>
---
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c b/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c
index 6f10b09..2da147b 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_ms...
2018 Mar 13
2
[PATCH v2] drm/nouveau/secboot: remove VLA usage
...lkml.org/lkml/2018/3/7/621
Signed-off-by: Gustavo A. R. Silva <gustavo at embeddedor.com>
---
Changes in v2:
- Use sizeof(buf) instead of NVKM_MSGQUEUE_CMDLINE_SIZE. This change
is based on the feedback provided by David Laight. Thanks David.
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c b/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c
index 6f10b09..1e1f1c6 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msg...
2018 Mar 13
0
[PATCH] drm/nouveau/secboot: remove VLA usage
...ling -Wvla, remove VLA. In this particular
>> case directly use macro NVKM_MSGQUEUE_CMDLINE_SIZE instead of local
>> variable cmdline_size. Also, remove cmdline_size as it is not
>> actually useful anymore.
> ...
>> diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c
>> b/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c
>> index 6f10b09..2da147b 100644
>> --- a/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c
>> +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c
>> @@ -80,12 +80,12...
2018 Mar 13
0
[PATCH] drm/nouveau/secboot: remove VLA usage
...n preparation to enabling -Wvla, remove VLA. In this particular
> case directly use macro NVKM_MSGQUEUE_CMDLINE_SIZE instead of local
> variable cmdline_size. Also, remove cmdline_size as it is not
> actually useful anymore.
...
> diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c
> b/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c
> index 6f10b09..2da147b 100644
> --- a/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c
> +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c
> @@ -80,12 +80,12 @@ acr_ls_msgqueue_...
2018 May 23
2
[PATCH v2] drm/nouveau/secboot: remove VLA usage
...>>> ---
>>>> Changes in v2:
>>>> - Use sizeof(buf) instead of NVKM_MSGQUEUE_CMDLINE_SIZE. This change
>>>> is based on the feedback provided by David Laight. Thanks David.
>>>>
>>>> drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c | 7 +++----
>>>> 1 file changed, 3 insertions(+), 4 deletions(-)
>>>
>>> Reviewed-by: Thierry Reding <treding at nvidia.com>
>> Thanks everyone. I've taken the patch in my tree.
>
> Hi!
>
> Just checking in on this -- I don't see thi...
2018 Mar 16
2
[PATCH v2] drm/nouveau/secboot: remove VLA usage
...R. Silva <gustavo at embeddedor.com>
>> ---
>> Changes in v2:
>> - Use sizeof(buf) instead of NVKM_MSGQUEUE_CMDLINE_SIZE. This change
>> is based on the feedback provided by David Laight. Thanks David.
>>
>> drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c | 7 +++----
>> 1 file changed, 3 insertions(+), 4 deletions(-)
>
> Reviewed-by: Thierry Reding <treding at nvidia.com>
Thanks everyone. I've taken the patch in my tree.
Ben.
>
> _______________________________________________
> dri-devel mailing list
> dri-de...
2017 Mar 29
15
[PATCH 00/15] Support for GP10B chipset
...| 3 +
drm/nouveau/nvkm/subdev/secboot/gm20b.c | 17 +--
drm/nouveau/nvkm/subdev/secboot/gp10b.c | 93 +++++++++++++++++
drm/nouveau/nvkm/subdev/secboot/ls_ucode.h | 12 +--
drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c | 10 +-
.../nvkm/subdev/secboot/ls_ucode_msgqueue.c | 90 +++++++++++++---
46 files changed, 749 insertions(+), 145 deletions(-)
create mode 100644 drm/nouveau/nvkm/engine/fifo/gp10b.c
create mode 100644 drm/nouveau/nvkm/engine/gr/gp10b.c
create mode 100644 drm/nouveau/nvkm/subdev/fb/gp10b.c
create mode 100644 drm/nouveau/nvkm/subdev/i...
2018 Mar 14
0
[PATCH v2] drm/nouveau/secboot: remove VLA usage
...gned-off-by: Gustavo A. R. Silva <gustavo at embeddedor.com>
> ---
> Changes in v2:
> - Use sizeof(buf) instead of NVKM_MSGQUEUE_CMDLINE_SIZE. This change
> is based on the feedback provided by David Laight. Thanks David.
>
> drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
Reviewed-by: Thierry Reding <treding at nvidia.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: &...
2018 Apr 26
0
[PATCH v2] drm/nouveau/secboot: remove VLA usage
...embeddedor.com>
>>> ---
>>> Changes in v2:
>>> - Use sizeof(buf) instead of NVKM_MSGQUEUE_CMDLINE_SIZE. This change
>>> is based on the feedback provided by David Laight. Thanks David.
>>>
>>> drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c | 7 +++----
>>> 1 file changed, 3 insertions(+), 4 deletions(-)
>>
>> Reviewed-by: Thierry Reding <treding at nvidia.com>
> Thanks everyone. I've taken the patch in my tree.
Hi!
Just checking in on this -- I don't see this patch in linux-next. Is
this que...
2018 May 24
0
[PATCH v2] drm/nouveau/secboot: remove VLA usage
...;>>>> Changes in v2:
>>>>> - Use sizeof(buf) instead of NVKM_MSGQUEUE_CMDLINE_SIZE. This change
>>>>> is based on the feedback provided by David Laight. Thanks David.
>>>>>
>>>>> drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c | 7 +++----
>>>>> 1 file changed, 3 insertions(+), 4 deletions(-)
>>>>
>>>> Reviewed-by: Thierry Reding <treding at nvidia.com>
>>> Thanks everyone. I've taken the patch in my tree.
>>
>> Hi!
>>
>> Just checking i...
2017 Sep 13
2
Nouveau: kernel hang on Optimus+Intel+NVidia GeForce 1060m
Hi,
the system fails to initialize your vbios using secureboot (i had a rare
chance to on my system to witness it again), for now i traced it to
acr_boot_falcon() in
"linux/drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c" where it
throws -110 which is -ETIMEDOUT. You could try to increase the timeout
and see if it helps something, similar to the following:
diff --git
2019 Mar 21
2
Nouveau dmem NULL Pointer deref (SVM)
...y!
PS: yet i have another unrelated error keeping my card from beeing
happy, thats now the next on my todo list:
[ 1102.004901] ------------[ cut here ]------------
[ 1102.004902] nouveau 0000:01:00.0: timeout
[ 1102.004948] WARNING: CPU: 2 PID: 55 at
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c:183
acr_ls_sec2_post_run+0x139/0x190 [nouveau]
[ 1102.004949] Modules linked in: rfcomm af_packet bnep btusb uvcvideo
btrtl btbcm rtsx_usb_sdmmc btintel videobuf2_vmalloc rtsx_usb_ms
videobuf2_memops mmc_core bluetooth memstick videobuf2_v4l2 videodev
videobuf2_common ecdh_generic rtsx_usb sn...
2017 Sep 13
0
Nouveau: kernel hang on Optimus+Intel+NVidia GeForce 1060m
Thanks Tobias, I tried this but unfortunately the only effect was thta the
boot was delayed by an additional 4 seconds :(
The original timeout is at
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c
I tried to increase that timeout, but it did not seem to make a difference
either.
I think I get this error less often when I have a cable plugged in the
output of that card at boot, whereas I always get this error when I boot
without a monitor attached to the card.
On Wed, Sep 13, 2017 at 2:28...
2019 Jun 18
6
[Bug 110931] New: Timeout initializing Falcon after cold boot
...ils on
initializing/resetting the Falcon during boot, and is not usable by Xorg
subsequently. See *-bad.log attachments.
Workaround: boot into Windows, and reboot into Linux. Everything works fine
after that. See *-good.log attachments.
Initialization timeout happens in acr_ls_sec2_post_run(), in
ls_ucode_msgqueue.c. The corresponding Xorg driver error message is "Failed to
initialise context object: 2D_NVC0 (0)"
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.or...
2019 Mar 21
3
Nouveau dmem NULL Pointer deref (SVM)
Hi,
just for your information and maybe for some help: with 5.1rc1 and SVM
enabled i see the following backtrace [1] when the nouveau card (reverse
prime) goes to sleep, for now i have papered over with [2] which leaves
me with userspace hangs. Any pointers where to look for the actual culprit?
PS: Card is: nouveau 0000:01:00.0: NVIDIA GP106 (136000a1)
Greetings,
Tobias
[1]:
BUG: unable
2017 Sep 11
2
Nouveau: kernel hang on Optimus+Intel+NVidia GeForce 1060m
...better touchpad experience.
[ 2.498701] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[ 2.511378] nouveau 0000:01:00.0: timeout
[ 2.511404] ------------[ cut here ]------------
[ 2.511447] WARNING: CPU: 5 PID: 188 at drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c:184 acr_ls_sec2_post_run+0xd1/0x21b [nouveau]
[ 2.511447] Modules linked in: arc4 snd_hda_codec_realtek(+) snd_hda_codec_generic iwlmvm nls_iso8859_15 nls_cp850 vfat fat mac80211 nouveau(+) x86_pkg_temp_thermal intel_powerclamp iwlwifi alx coretemp ttm mdio kvm_intel cfg80211 mxm_wmi kvm msi_w...