cannot boot with linux-libre>=5.7, amdgpu and cryptsetup

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Sat Jul 25 02:36:43 UTC 2020


Hi again,

The issue you were having is because I did a mistake, which is now
fixed in this new patch.

I've attached the patch to try. You need to try it without any other
patches or modifications, and to send the log to the mailing list.

Once you will have sent the log, we will most probably need to comment
the other failing functions in the same way.

Here are the details of this patch:
-----------------------------------
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -1713,8 +1713,7 @@ static int amdgpu_device_ip_early_init(struct
> amdgpu_device *adev) }
>  
>  	r = amdgpu_device_parse_gpu_info_fw(adev);
> -	if (r)
> -		return r;
> +	/* Deblobbed */
Here this should take care of it because:
- amdgpu_device_parse_gpu_info_fw will return an error before any code
  that deference null pointers is ever executed.
- the error will then be ignored, and r is not reused before being
  asigned to a new value.

Sorry for the mistake.

Denis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: skip_amdgpu_device_parse_gpu_info_fw_errors.patch
Type: text/x-patch
Size: 517 bytes
Desc: not available
URL: <http://www.fsfla.org/pipermail/linux-libre/attachments/20200725/a197cb1c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://www.fsfla.org/pipermail/linux-libre/attachments/20200725/a197cb1c/attachment.sig>


More information about the linux-libre mailing list