Skip to content

Tags: ldu4/linux

Tags

spf_on_maple/20210222

Toggle spf_on_maple/20210222's commit message
mm/spf: fix accounting in SPF

As reported by Vinayak Menon, check_sync_rss_stat() should be called in the
speculative path.

In addition, rework the code to count the page fault in the case the checks
done prior to calling handle_pte_fault() detect that the page fault cannot
succeed.

Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com>

spf-5.11/20210217

Toggle spf-5.11/20210217's commit message
mm: vm_sequence is protected by semaphore

The vm_sequence is protected by the mmap_sem (and potentially by the
i_mmap_sem for file mapping), but the seqcount API wants the writers to be
protected against preemption which is not need because of the semaphore.

There is no seqcount API for semaphore, and that will not match our case
because some operation are not protected by the mmap_lock but using the
i_mmap_sem managed by the filesystem. This means the lock attached to the
seqcount would have to be change in the case of a file mapping. That's not
a big issue but useless today as the file mapping are not handled using the
speculative page fault handler.

Using raw API to prevent lockdep to complain until seqcount API is dealing
with semaphores and the attached semaphore is managed correctly for file
mapping.

Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com>

spf_on_maple/20210204

Toggle spf_on_maple/20210204's commit message
mm/spf: fix accounting in SPF

As reported by Vinayak Menon, check_sync_rss_stat() should be called in the
speculative path.

In addition, rework the code to count the page fault in the case the checks
done prior to calling handle_pte_fault() detect that the page fault cannot
succeed.

Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com>

spf-20210112

Toggle spf-20210112's commit message
mm: Add a speculative page fault switch in sysctl

This allows to turn on/off the use of the speculative page fault handler.

By default it's turned on.

Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com>

v5.11-rc2

Toggle v5.11-rc2's commit message
Linux 5.11-rc2

v5.11-rc1-mmots-2020-12-31-13-54

Toggle v5.11-rc1-mmots-2020-12-31-13-54's commit message
pci: test for unexpectedly disabled bridges

The all-ones value is not just a "device didn't exist" case, it's also
potentially a quite valid value, so not restoring it would be wrong.

What *would* be interesting is to hear where the bad values came from in
the first place.  It sounds like the device state is saved after the PCI
bus controller in front of the device has been crapped on, resulting in the
PCI config cycles never reaching the device at all.

Something along this patch (together with suspend/resume debugging output)
migth help pinpoint it.  But it really sounds like something totally
brokenly turned off the PCI bridge (some ACPI shutdown crud?  I wouldn't be
entirely surprised)

Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

v5.11-rc1

Toggle v5.11-rc1's commit message
Linux 5.11-rc1

v5.10-mmots-2020-12-15-21-00

Toggle v5.10-mmots-2020-12-15-21-00's commit message
pci: test for unexpectedly disabled bridges

The all-ones value is not just a "device didn't exist" case, it's also
potentially a quite valid value, so not restoring it would be wrong.

What *would* be interesting is to hear where the bad values came from in
the first place.  It sounds like the device state is saved after the PCI
bus controller in front of the device has been crapped on, resulting in the
PCI config cycles never reaching the device at all.

Something along this patch (together with suspend/resume debugging output)
migth help pinpoint it.  But it really sounds like something totally
brokenly turned off the PCI bridge (some ACPI shutdown crud?  I wouldn't be
entirely surprised)

Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

v5.10

Toggle v5.10's commit message
Linux 5.10

v5.10-rc7-mmots-2020-12-11-14-43

Toggle v5.10-rc7-mmots-2020-12-11-14-43's commit message
pci: test for unexpectedly disabled bridges

The all-ones value is not just a "device didn't exist" case, it's also
potentially a quite valid value, so not restoring it would be wrong.

What *would* be interesting is to hear where the bad values came from in
the first place.  It sounds like the device state is saved after the PCI
bus controller in front of the device has been crapped on, resulting in the
PCI config cycles never reaching the device at all.

Something along this patch (together with suspend/resume debugging output)
migth help pinpoint it.  But it really sounds like something totally
brokenly turned off the PCI bridge (some ACPI shutdown crud?  I wouldn't be
entirely surprised)

Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>