Re: [Nouveau] NVidia Hardware Donation possible

2016-10-11 Thread Samuel Pitoiset
On 10/11/2016 02:18 PM, Martin Vorbach wrote: Samuel, the HP GT630 is unfortunately the GK107. Given we find the other GT630 model I will check it and come back to you. Are you interested in any of the other two cards? I'm (just) interested by Kepler cards actually. :-) Because I already

Re: [Nouveau] NVidia Hardware Donation possible

2016-10-11 Thread Martin Vorbach
Samuel, the HP GT630 is unfortunately the GK107. Given we find the other GT630 model I will check it and come back to you. Are you interested in any of the other two cards? Regards, Martin On 2016-10-10 13:45, Samuel Pitoiset wrote: On 10/10/2016 01:44 PM, Martin Vorbach wrote: Hi, I

Re: [Nouveau] [PATCH 0/8] Secure Boot refactoring

2016-10-11 Thread Alexandre Courbot
On 10/11/2016 03:57 PM, Karol Herbst wrote: > Is it just me or is the 5th patch lost? Moderated. It was a little too big for the list. Hopefully it will follow soon. ___ Nouveau mailing list Nouveau@lists.freedesktop.org

Re: [Nouveau] [PATCH 0/8] Secure Boot refactoring

2016-10-11 Thread Karol Herbst
Is it just me or is the 5th patch lost? Am Dienstag, 11. Oktober 2016 schrieb Alexandre Courbot : > Hi everyone, > > Apologies for the big patchset. This is a rework of the secure boot code > that > moves the building of the blob into its own set of source files (and own > hooks), > making the

[Nouveau] [PATCH 8/8] secboot: generate HS BL descriptor in hook

2016-10-11 Thread Alexandre Courbot
Use the HS hook to completely generate the HS BL descriptor, similarly to what is done in the LS hook, instead of (arbitrarily) using the the acr_v1 format as an intermediate. This allows us to make the bootloader descriptor structures private to each implementation, resulting in a cleaner an

[Nouveau] [PATCH 7/8] secboot: add low-secure firmware hooks

2016-10-11 Thread Alexandre Courbot
Secure firmwares provided by NVIDIA will follow the same overall principle, but may slightly differ in format, or not use the same bootloader descriptor even on the same chip. In order to handle this as gracefully as possible, turn the LS firmware functions into hooks that can be overloaded as

[Nouveau] [PATCH 6/8] secboot: remove fixup_hs_desc hook

2016-10-11 Thread Alexandre Courbot
This hook can be removed if the function writing the HS descriptor is aware of WPR settings. Let's do that as it allows us to make the ACR descriptor structure private and save some code. Signed-off-by: Alexandre Courbot --- drm/nouveau/nvkm/subdev/secboot/acr_v1.c |

[Nouveau] [PATCH 3/8] secboot: use falcon library's IMEM/DMEM loading functions

2016-10-11 Thread Alexandre Courbot
Replace the falcon loading functions with calls to the equivalent functions of the falcon library. Signed-off-by: Alexandre Courbot --- drm/nouveau/nvkm/subdev/secboot/gm200.c | 31 +-- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git

[Nouveau] [PATCH 2/8] core: add falcon library

2016-10-11 Thread Alexandre Courbot
Some falcon functionality, like loading code/data into IMEM/DMEM, is re-implemented in various parts of the driver. Create a small falcon library that will contain most common operations in order to avoid duplicate code. For now this library contains various defines that are used in secure boot

[Nouveau] [PATCH 4/8] secboot: rename init() hook to oneinit()

2016-10-11 Thread Alexandre Courbot
The init() hook is called by the subdev's oneinit(). Rename it accordingly to avoid confusion about the lifetime of objects allocated in it. Signed-off-by: Alexandre Courbot --- drm/nouveau/nvkm/subdev/secboot/base.c | 4 ++-- drm/nouveau/nvkm/subdev/secboot/gm200.c | 4

[Nouveau] [PATCH 1/8] core: constify nv*_printk macros

2016-10-11 Thread Alexandre Courbot
Constify the local variables declared in these macros so we can pass const pointers to them. Signed-off-by: Alexandre Courbot --- drm/nouveau/include/nvkm/core/client.h | 4 ++-- drm/nouveau/include/nvkm/core/device.h | 2 +- drm/nouveau/include/nvkm/core/subdev.h | 2 +- 3

[Nouveau] [PATCH 0/8] Secure Boot refactoring

2016-10-11 Thread Alexandre Courbot
Hi everyone, Apologies for the big patchset. This is a rework of the secure boot code that moves the building of the blob into its own set of source files (and own hooks), making the code more flexible and (hopefully) easier to understand as well. This rework is needed to support more signed