RE: [RFC v1 1/3] mm/mmu_notifier: Add a new notifier for mapping updates (new pages)

2023-07-24 Thread Hugh Dickins
On Mon, 24 Jul 2023, Kasireddy, Vivek wrote: > Hi Jason, > > On Mon, Jul 24, 2023 at 07:54:38AM +, Kasireddy, Vivek wrote: > > > > > > I'm not at all familiar with the udmabuf use case but that sounds > > > > brittle and effectively makes this notifier udmabuf specific right? > > > Oh, Qemu

Re: [PATCH] udmabuf: revert 'Add support for mapping hugepages (v4)'

2023-06-13 Thread Hugh Dickins
On Tue, 13 Jun 2023, David Hildenbrand wrote: > On 13.06.23 10:26, Kasireddy, Vivek wrote: > >> On 12.06.23 09:10, Kasireddy, Vivek wrote: > >>> Sorry for the late reply; I just got back from vacation. > >>> If it is unsafe to directly use the subpages of a hugetlb page, then > >>> reverting > >>>

Re: [PATCHv2 2/3] i915: convert to new mount API

2019-08-08 Thread Hugh Dickins
On Thu, 8 Aug 2019, Al Viro wrote: > On Wed, Aug 07, 2019 at 08:30:02AM +0200, Christoph Hellwig wrote: > > On Tue, Aug 06, 2019 at 12:50:10AM -0700, Hugh Dickins wrote: > > > Though personally I'm averse to managing "f"objects through > > > "m&quo

Re: [PATCHv2 2/3] i915: convert to new mount API

2019-08-06 Thread Hugh Dickins
On Mon, 5 Aug 2019, Al Viro wrote: > On Mon, Aug 05, 2019 at 07:12:55PM +0100, Al Viro wrote: > > On Tue, Aug 06, 2019 at 01:03:06AM +0900, Sergey Senozhatsky wrote: > > > tmpfs does not set ->remount_fs() anymore and its users need > > > to be converted to new mount API. > > > > Could you

[PATCH 28/83] mm: Change timing of notification to IOMMUs about a page to be invalidated

2014-07-10 Thread Hugh Dickins
On Fri, 11 Jul 2014, Joerg Roedel wrote: > On Fri, Jul 11, 2014 at 12:53:26AM +0300, Oded Gabbay wrote: > > mm/rmap.c | 8 ++-- > > 1 file changed, 6 insertions(+), 2 deletions(-) > > > > diff --git a/mm/rmap.c b/mm/rmap.c > > index 196cd0c..73d4c3d 100644 > > --- a/mm/rmap.c > > +++

Debugging Thinkpad T430s occasional suspend failure.

2013-02-17 Thread Hugh Dickins
On Sun, 17 Feb 2013, Daniel Vetter wrote: > On Sun, Feb 17, 2013 at 3:21 AM, Hugh Dickins wrote: > > On Sat, 16 Feb 2013, Hugh Dickins wrote: > >> On Sat, 16 Feb 2013, Linus Torvalds wrote: > >> > > >> > I think it's worth it to give them a heads-up alre

Re: Debugging Thinkpad T430s occasional suspend failure.

2013-02-17 Thread Hugh Dickins
On Sat, 16 Feb 2013, Linus Torvalds wrote: On Sat, Feb 16, 2013 at 1:45 PM, Hugh Dickins hu...@google.com wrote: I hacked around on your PM_TRACE set_magic_time() / read_magic_time() yesterday, to save an oopsing core kernel ip there, instead of hashed pm trace info (it makes sense

Re: Debugging Thinkpad T430s occasional suspend failure.

2013-02-17 Thread Hugh Dickins
On Sat, 16 Feb 2013, Hugh Dickins wrote: On Sat, 16 Feb 2013, Linus Torvalds wrote: I think it's worth it to give them a heads-up already. So I've cc'd the main suspects here.. Okay, thanks. Daniel, Dave - any comments about a NULL fb in intel_choose_pipe_bpp_dither() during

Re: Debugging Thinkpad T430s occasional suspend failure.

2013-02-17 Thread Hugh Dickins
On Sun, 17 Feb 2013, Daniel Vetter wrote: On Sun, Feb 17, 2013 at 3:21 AM, Hugh Dickins hu...@google.com wrote: On Sat, 16 Feb 2013, Hugh Dickins wrote: On Sat, 16 Feb 2013, Linus Torvalds wrote: I think it's worth it to give them a heads-up already. So I've cc'd the main suspects

Debugging Thinkpad T430s occasional suspend failure.

2013-02-16 Thread Hugh Dickins
On Sat, 16 Feb 2013, Hugh Dickins wrote: > On Sat, 16 Feb 2013, Linus Torvalds wrote: > > > > I think it's worth it to give them a heads-up already. So I've cc'd > > the main suspects here.. > > Okay, thanks. > > > > > D

Debugging Thinkpad T430s occasional suspend failure.

2013-02-16 Thread Hugh Dickins
On Sat, 16 Feb 2013, Linus Torvalds wrote: > On Sat, Feb 16, 2013 at 1:45 PM, Hugh Dickins wrote: > > > > I hacked around on your PM_TRACE set_magic_time() / read_magic_time() > > yesterday, to save an oopsing core kernel ip there, instead of hashed > > pm trace info (

Re: inux-next: Tree for Sept 26 (not bootable on AMD64: thermal|acpi|drm/i915|pci related?)

2012-09-27 Thread Hugh Dickins
On Wed, 26 Sep 2012, Sedat Dilek wrote: on my Ubuntu/precise AMD64 today's Linux-Next runs into the following call-trace (machine freezes): Sep 26 19:22:58 fambox kernel: [ 11.124739] BUG: unable to handle kernel NULL pointer dereference at 0018 Sep 26 19:22:58 fambox

inux-next: Tree for Sept 26 (not bootable on AMD64: thermal|acpi|drm/i915|pci related?)

2012-09-26 Thread Hugh Dickins
On Wed, 26 Sep 2012, Sedat Dilek wrote: > > on my Ubuntu/precise AMD64 today's Linux-Next runs into the following > call-trace (machine freezes): > > Sep 26 19:22:58 fambox kernel: [ 11.124739] BUG: unable to handle > kernel NULL pointer dereference at 0018 > Sep 26 19:22:58

Re: [PATCH] mm: Work around Intel SNB GTT bug with some physical pages.

2012-05-09 Thread Hugh Dickins
On Mon, 7 May 2012, Stephane Marchesin wrote: While investing some Sandy Bridge rendering corruption, I found out that all physical memory pages below 1MiB were returning garbage when read through the GTT. This has been causing graphics corruption (when it's used for textures, render targets

[PATCH] mm: Work around Intel SNB GTT bug with some physical pages.

2012-05-08 Thread Hugh Dickins
On Mon, 7 May 2012, Stephane Marchesin wrote: > While investing some Sandy Bridge rendering corruption, I found out > that all physical memory pages below 1MiB were returning garbage when > read through the GTT. This has been causing graphics corruption (when > it's used for textures, render

i915 modeset memory corruption issues? (Fwd: Oops in ext3_block_to_path.isra.40+0x26/0x11b)

2012-03-19 Thread Hugh Dickins
On Sun, 18 Mar 2012, Rafael J. Wysocki wrote: > On Sunday, March 18, 2012, Hugh Dickins wrote: > > On Sat, 17 Mar 2012, Keith Packard wrote: > > > On Sat, 17 Mar 2012 18:44:18 -0700 (PDT), Hugh Dickins > > google.com> wrote: > > > > I keep worrying about t

i915 modeset memory corruption issues? (Fwd: Oops in ext3_block_to_path.isra.40+0x26/0x11b)

2012-03-19 Thread Hugh Dickins
On Sat, 17 Mar 2012, Linus Torvalds wrote: > On Sat, Mar 17, 2012 at 3:09 PM, Hugh Dickins wrote: > > > > I've got to go out for an hour: I'll digest more and think more about > > this when I get back. ?If someone could explain the original problem > > with _MOVABLE, th

Re: i915 modeset memory corruption issues? (Fwd: Oops in ext3_block_to_path.isra.40+0x26/0x11b)

2012-03-19 Thread Hugh Dickins
On Sat, 17 Mar 2012, Linus Torvalds wrote: On Sat, Mar 17, 2012 at 3:09 PM, Hugh Dickins hu...@google.com wrote: I've got to go out for an hour: I'll digest more and think more about this when I get back.  If someone could explain the original problem with _MOVABLE, that would help me

Re: i915 modeset memory corruption issues? (Fwd: Oops in ext3_block_to_path.isra.40+0x26/0x11b)

2012-03-19 Thread Hugh Dickins
On Sun, 18 Mar 2012, Rafael J. Wysocki wrote: On Sunday, March 18, 2012, Hugh Dickins wrote: On Sat, 17 Mar 2012, Keith Packard wrote: On Sat, 17 Mar 2012 18:44:18 -0700 (PDT), Hugh Dickins hu...@google.com wrote: I keep worrying about the sequence when the machine is powered

Re: i915 modeset memory corruption issues? (Fwd: Oops in ext3_block_to_path.isra.40+0x26/0x11b)

2012-03-18 Thread Hugh Dickins
the case of pages allocated with the mapping gfp masks. Hugh Dickins clearly tried to make sure that the DRM initialization of the gfp mask was honored, but maybe there is some case where it is missed. Hugh added a mapping_set_gfp_mask() to i915_gem_alloc_object(), but maybe we have i915 shmem

Re: i915 modeset memory corruption issues? (Fwd: Oops in ext3_block_to_path.isra.40+0x26/0x11b)

2012-03-18 Thread Hugh Dickins
On Sat, 17 Mar 2012, Keith Packard wrote: On Sat, 17 Mar 2012 15:52:15 -0700, Linus Torvalds torva...@linux-foundation.org wrote: I do not believe we actually ever uncovered the original problem with _MOVABLE: the problem was bisected down to the stable-backported version of commit

Re: i915 modeset memory corruption issues? (Fwd: Oops in ext3_block_to_path.isra.40+0x26/0x11b)

2012-03-18 Thread Hugh Dickins
Added Rafael to the Cc: Rafael, we're pondering over one or more of these recurrent threads about corruption after resume, seemingly related to i915. On Sat, 17 Mar 2012, Keith Packard wrote: On Sat, 17 Mar 2012 18:44:18 -0700 (PDT), Hugh Dickins hu...@google.com wrote: I keep worrying about

i915 modeset memory corruption issues? (Fwd: Oops in ext3_block_to_path.isra.40+0x26/0x11b)

2012-03-17 Thread Hugh Dickins
Added Rafael to the Cc: Rafael, we're pondering over one or more of these recurrent threads about corruption after resume, seemingly related to i915. On Sat, 17 Mar 2012, Keith Packard wrote: > On Sat, 17 Mar 2012 18:44:18 -0700 (PDT), Hugh Dickins > wrote: > > I keep wo

i915 modeset memory corruption issues? (Fwd: Oops in ext3_block_to_path.isra.40+0x26/0x11b)

2012-03-17 Thread Hugh Dickins
On Sat, 17 Mar 2012, Keith Packard wrote: > On Sat, 17 Mar 2012 15:52:15 -0700, Linus Torvalds linux-foundation.org> wrote: > > > I do not believe we actually ever uncovered the original problem with > > _MOVABLE: the problem was bisected down to the stable-backported > > version of commit

i915 modeset memory corruption issues? (Fwd: Oops in ext3_block_to_path.isra.40+0x26/0x11b)

2012-03-17 Thread Hugh Dickins
, like DRI does. > > The other possibility is to just make this a shm thing, since it's > generally that layer that has the case of "pages allocated with the > mapping gfp masks". Hugh Dickins clearly tried to make sure that the > DRM initialization of the gfp mask w