Re: [PATCH] drm/ttm: provide default page protection for UML

2021-09-08 Thread Daniel Vetter
On Sat, Sep 04, 2021 at 11:50:37AM +0800, David Gow wrote: > On Thu, Sep 2, 2021 at 10:46 PM Daniel Vetter wrote: > > > > On Thu, Sep 02, 2021 at 07:19:01AM +0100, Anton Ivanov wrote: > > > On 02/09/2021 06:52, Randy Dunlap wrote: > > > > On 9/1/21 10:48 PM, Anton Ivanov wrote: > > > > > On 02/09/

Re: [PATCH] drm/ttm: provide default page protection for UML

2021-09-03 Thread David Gow
On Thu, Sep 2, 2021 at 10:46 PM Daniel Vetter wrote: > > On Thu, Sep 02, 2021 at 07:19:01AM +0100, Anton Ivanov wrote: > > On 02/09/2021 06:52, Randy Dunlap wrote: > > > On 9/1/21 10:48 PM, Anton Ivanov wrote: > > > > On 02/09/2021 03:01, Randy Dunlap wrote: > > > > > boot_cpu_data [struct cpuinfo

Re: [PATCH] drm/ttm: provide default page protection for UML

2021-09-02 Thread Daniel Vetter
On Thu, Sep 02, 2021 at 07:19:01AM +0100, Anton Ivanov wrote: > On 02/09/2021 06:52, Randy Dunlap wrote: > > On 9/1/21 10:48 PM, Anton Ivanov wrote: > > > On 02/09/2021 03:01, Randy Dunlap wrote: > > > > boot_cpu_data [struct cpuinfo_um (on UML)] does not have a struct > > > > member named 'x86', s

Re: [PATCH] drm/ttm: provide default page protection for UML

2021-09-02 Thread Anton Ivanov
On 02/09/2021 08:43, Johannes Berg wrote: On Thu, 2021-09-02 at 07:19 +0100, Anton Ivanov wrote: I have a question though - why all of DRM is not !UML in config. Not like we can use them. I have no idea about that. Hopefully one of the (other) UML maintainers can answer you. Touche. We wil

Re: [PATCH] drm/ttm: provide default page protection for UML

2021-09-02 Thread Christian König
Am 02.09.21 um 09:43 schrieb Johannes Berg: On Thu, 2021-09-02 at 07:19 +0100, Anton Ivanov wrote: I have a question though - why all of DRM is not !UML in config. Not like we can use them. I have no idea about that. Hopefully one of the (other) UML maintainers can answer you. Touche. We will

Re: [PATCH] drm/ttm: provide default page protection for UML

2021-09-02 Thread Johannes Berg
On Thu, 2021-09-02 at 09:10 +0100, Anton Ivanov wrote: > On 02/09/2021 08:43, Johannes Berg wrote: > > On Thu, 2021-09-02 at 07:19 +0100, Anton Ivanov wrote: > > > > > > > > > > I have a question though - why all of DRM is not !UML in config. Not > > > > > like we can use them. > > > > > > > > I

Re: [PATCH] drm/ttm: provide default page protection for UML

2021-09-02 Thread Johannes Berg
On Thu, 2021-09-02 at 07:19 +0100, Anton Ivanov wrote: > > > > > > I have a question though - why all of DRM is not !UML in config. Not > > > like we can use them. > > > > I have no idea about that. > > Hopefully one of the (other) UML maintainers can answer you. > > Touche. > > We will discus

Re: [PATCH] drm/ttm: provide default page protection for UML

2021-09-02 Thread Anton Ivanov
On 02/09/2021 03:01, Randy Dunlap wrote: boot_cpu_data [struct cpuinfo_um (on UML)] does not have a struct member named 'x86', so provide a default page protection mode for CONFIG_UML. Mends this build error: ../drivers/gpu/drm/ttm/ttm_module.c: In function ‘ttm_prot_from_caching’: ../drivers/gp

Re: [PATCH] drm/ttm: provide default page protection for UML

2021-09-02 Thread Anton Ivanov
On 02/09/2021 06:52, Randy Dunlap wrote: On 9/1/21 10:48 PM, Anton Ivanov wrote: On 02/09/2021 03:01, Randy Dunlap wrote: boot_cpu_data [struct cpuinfo_um (on UML)] does not have a struct member named 'x86', so provide a default page protection mode for CONFIG_UML. Mends this build error: ../d

Re: [PATCH] drm/ttm: provide default page protection for UML

2021-09-01 Thread Randy Dunlap
On 9/1/21 10:48 PM, Anton Ivanov wrote: On 02/09/2021 03:01, Randy Dunlap wrote: boot_cpu_data [struct cpuinfo_um (on UML)] does not have a struct member named 'x86', so provide a default page protection mode for CONFIG_UML. Mends this build error: ../drivers/gpu/drm/ttm/ttm_module.c: In functi

[PATCH] drm/ttm: provide default page protection for UML

2021-09-01 Thread Randy Dunlap
boot_cpu_data [struct cpuinfo_um (on UML)] does not have a struct member named 'x86', so provide a default page protection mode for CONFIG_UML. Mends this build error: ../drivers/gpu/drm/ttm/ttm_module.c: In function ‘ttm_prot_from_caching’: ../drivers/gpu/drm/ttm/ttm_module.c:59:24: error: ‘struc