Re: [Nouveau] [PATCH v2 2/5] mm/migrate: add a direction parameter to migrate_vma

2020-07-20 Thread Ralph Campbell
On 7/20/20 4:16 PM, Jason Gunthorpe wrote: On Mon, Jul 20, 2020 at 01:49:09PM -0700, Ralph Campbell wrote: On 7/20/20 12:59 PM, Jason Gunthorpe wrote: On Mon, Jul 20, 2020 at 12:54:53PM -0700, Ralph Campbell wrote: diff --git a/include/linux/migrate.h b/include/linux/migrate.h index

[Nouveau] [PATCH] drm/nouveau/kms/nv50-: Fix CRC-related compile errors with debugfs disabled

2020-07-20 Thread Lyude Paul
Looks like I made the mistake of forgetting to check whether or not this would build without CONFIG_DEBUG_FS, as the Kbuild bot reported some issues building with tegra_defconfig: In file included from drivers/gpu/drm/nouveau/nouveau_display.c:47: ./drivers/gpu/drm/nouveau/dispnv50/crc.h: In

Re: [Nouveau] [PATCH v2 2/5] mm/migrate: add a direction parameter to migrate_vma

2020-07-20 Thread Ralph Campbell
On 7/20/20 12:59 PM, Jason Gunthorpe wrote: On Mon, Jul 20, 2020 at 12:54:53PM -0700, Ralph Campbell wrote: diff --git a/include/linux/migrate.h b/include/linux/migrate.h index 3e546cbf03dd..620f2235d7d4 100644 +++ b/include/linux/migrate.h @@ -180,6 +180,11 @@ static inline unsigned long

Re: [Nouveau] [PATCH v2 0/5] mm/migrate: avoid device private invalidations

2020-07-20 Thread Ralph Campbell
On 7/20/20 11:41 AM, Jason Gunthorpe wrote: On Mon, Jul 13, 2020 at 10:21:44AM -0700, Ralph Campbell wrote: The goal for this series is to avoid device private memory TLB invalidations when migrating a range of addresses from system memory to device private memory and some of those pages have

Re: [Nouveau] [PATCH v2 3/5] mm/notifier: add migration invalidation type

2020-07-20 Thread Ralph Campbell
On 7/20/20 11:40 AM, Jason Gunthorpe wrote: On Mon, Jul 13, 2020 at 10:21:47AM -0700, Ralph Campbell wrote: Currently migrate_vma_setup() calls mmu_notifier_invalidate_range_start() which flushes all device private page mappings whether or not a page is being migrated to/from device private

Re: [Nouveau] [PATCH v2 2/5] mm/migrate: add a direction parameter to migrate_vma

2020-07-20 Thread Ralph Campbell
On 7/20/20 11:36 AM, Jason Gunthorpe wrote: On Mon, Jul 13, 2020 at 10:21:46AM -0700, Ralph Campbell wrote: The src_owner field in struct migrate_vma is being used for two purposes, it implies the direction of the migration and it identifies device private pages owned by the caller. Split

Re: [Nouveau] [PATCH v2 0/5] mm/migrate: avoid device private invalidations

2020-07-20 Thread Jason Gunthorpe
On Mon, Jul 13, 2020 at 10:21:44AM -0700, Ralph Campbell wrote: > The goal for this series is to avoid device private memory TLB > invalidations when migrating a range of addresses from system > memory to device private memory and some of those pages have already > been migrated. The approach

Re: [Nouveau] [PATCH v2 3/5] mm/notifier: add migration invalidation type

2020-07-20 Thread Jason Gunthorpe
On Mon, Jul 13, 2020 at 10:21:47AM -0700, Ralph Campbell wrote: > Currently migrate_vma_setup() calls mmu_notifier_invalidate_range_start() > which flushes all device private page mappings whether or not a page > is being migrated to/from device private memory. In order to not disrupt > device

Re: [Nouveau] [PATCH] RFC: ACPI / OSI: remove workarounds for hybrid graphics laptops

2020-07-20 Thread Karol Herbst
On Mon, Jul 20, 2020 at 3:19 AM Alex Hung wrote: > > On 2020-07-19 1:50 p.m., Karol Herbst wrote: > > On Fri, Jul 17, 2020 at 9:52 PM Alex Hung wrote: > >> > >> On 2020-07-17 1:05 p.m., Karol Herbst wrote: > >>> It's hard to figure out what systems are actually affected and right now I > >>>

Re: [Nouveau] [Mesa-dev] [XDC 2020] Virtual conference + Call for Proposals extended 2 weeks more

2020-07-20 Thread Samuel Iglesias Gonsálvez
On 7/3/20 4:41 PM, Samuel Iglesias Gonsálvez wrote: > Hi, > > In the last meeting, X.Org Foundation board has decided that XDC 2020 > will be a virtual conference, given the uncertain COVID-19 situation in > Europe by September, including the possibility of a second wave, > outbreaks and travel