On Mon, Feb 11, 2019 at 11:26 AM Sasha Levin <sashal(a)kernel.org> wrote:
>
> Hi,
>
> [This is an automated email]
>
> This commit has been processed because it contains a "Fixes:" tag,
> fixing commit: 5118ccd34780 intel_th: pci: Add Denverton SOC support.
>
> The bot has tested the following trees: v4.20.7, v4.19.20, v4.14.98.
>
> v4.20.7: Build OK!
> v4.19.20: Build OK!
> v4.14.98: Failed to apply! Possible dependencies:
> fa564ad96366 ("x86/PCI: Enable a 64bit BAR on AMD Family 15h (Models 00-1f, 30-3f, 60-7f)")
>
>
> How should we proceed with this patch?
This patch should be applied to all stable kernels. There is no
dependency on any other patch. There will be trivial conflicts on
kernels older than v4.15, but those are easy to resolve.
Bjorn
Kernel stable team,
here is a v2 respin of my XFS stable patches for v4.19.y. The only
change in this series is adding the upstream commit to the commit log,
and I've now also Cc'd stable(a)vger.kernel.org as well. No other issues
were spotted or raised with this series.
Reviews, questions, or rants are greatly appreciated.
Luis
Brian Foster (1):
xfs: fix shared extent data corruption due to missing cow reservation
Carlos Maiolino (1):
xfs: Fix xqmstats offsets in /proc/fs/xfs/xqmstat
Christoph Hellwig (1):
xfs: cancel COW blocks before swapext
Christophe JAILLET (1):
xfs: Fix error code in 'xfs_ioc_getbmap()'
Darrick J. Wong (1):
xfs: fix PAGE_MASK usage in xfs_free_file_space
Dave Chinner (3):
xfs: fix overflow in xfs_attr3_leaf_verify
xfs: fix transient reference count error in
xfs_buf_resubmit_failed_buffers
xfs: delalloc -> unwritten COW fork allocation can go wrong
Eric Sandeen (1):
xfs: fix inverted return from xfs_btree_sblock_verify_crc
Ye Yin (1):
fs/xfs: fix f_ffree value for statfs when project quota is set
fs/xfs/libxfs/xfs_attr_leaf.c | 11 +++++++++--
fs/xfs/libxfs/xfs_bmap.c | 5 ++++-
fs/xfs/libxfs/xfs_btree.c | 2 +-
fs/xfs/xfs_bmap_util.c | 10 ++++++++--
fs/xfs/xfs_buf_item.c | 28 +++++++++++++++++++++-------
fs/xfs/xfs_ioctl.c | 2 +-
fs/xfs/xfs_qm_bhv.c | 2 +-
fs/xfs/xfs_reflink.c | 1 +
fs/xfs/xfs_stats.c | 2 +-
9 files changed, 47 insertions(+), 16 deletions(-)
--
2.18.0
Dear Sir,
I'm using ArchLinux distribution. After kernel upgrade form 4.19.14 to
4.19.15 my X environment stopped working. I have AMD HD3300 (RS780D)
graphics card. I have bisected kernel and found a failing commit:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=…
I'm attaching Xorg.0.log file
Best Regards
Krzysztof Grygiencz
The patch titled
Subject: numa: change get_mempolicy() to use nr_node_ids instead of MAX_NUMNODES
has been added to the -mm tree. Its filename is
numa-change-get_mempolicy-to-use-nr_node_ids-instead-of-max_numnodes.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/numa-change-get_mempolicy-to-use-n…
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/numa-change-get_mempolicy-to-use-n…
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Ralph Campbell <rcampbell(a)nvidia.com>
Subject: numa: change get_mempolicy() to use nr_node_ids instead of MAX_NUMNODES
The system call, get_mempolicy() [1], passes an unsigned long *nodemask
pointer and an unsigned long maxnode argument which specifies the length
of the user's nodemask array in bits (which is rounded up). The manual
page says that if the maxnode value is too small, get_mempolicy will
return EINVAL but there is no system call to return this minimum value.
To determine this value, some programs search /proc/<pid>/status for a
line starting with "Mems_allowed:" and use the number of digits in the
mask to determine the minimum value. A recent change to the way this line
is formatted [2] causes these programs to compute a value less than
MAX_NUMNODES so get_mempolicy() returns EINVAL.
Change get_mempolicy(), the older compat version of get_mempolicy(), and
the copy_nodes_to_user() function to use nr_node_ids instead of
MAX_NUMNODES, thus preserving the defacto method of computing the minimum
size for the nodemask array and the maxnode argument.
[1] http://man7.org/linux/man-pages/man2/get_mempolicy.2.html
[2] https://lore.kernel.org/lkml/1545405631-6808-1-git-send-email-longman@redha…
Link: http://lkml.kernel.org/r/20190211180245.22295-1-rcampbell@nvidia.com
Fixes: 4fb8e5b89bcbbbb ("include/linux/nodemask.h: use nr_node_ids (not MAX_NUMNODES) in __nodemask_pr_numnodes()")
Signed-off-by: Ralph Campbell <rcampbell(a)nvidia.com>
Suggested-by: Alexander Duyck <alexander.duyck(a)gmail.com>
Cc: Waiman Long <longman(a)redhat.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/mempolicy.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- a/mm/mempolicy.c~numa-change-get_mempolicy-to-use-nr_node_ids-instead-of-max_numnodes
+++ a/mm/mempolicy.c
@@ -1314,7 +1314,7 @@ static int copy_nodes_to_user(unsigned l
nodemask_t *nodes)
{
unsigned long copy = ALIGN(maxnode-1, 64) / 8;
- const int nbytes = BITS_TO_LONGS(MAX_NUMNODES) * sizeof(long);
+ unsigned int nbytes = BITS_TO_LONGS(nr_node_ids) * sizeof(long);
if (copy > nbytes) {
if (copy > PAGE_SIZE)
@@ -1491,7 +1491,7 @@ static int kernel_get_mempolicy(int __us
int uninitialized_var(pval);
nodemask_t nodes;
- if (nmask != NULL && maxnode < MAX_NUMNODES)
+ if (nmask != NULL && maxnode < nr_node_ids)
return -EINVAL;
err = do_get_mempolicy(&pval, &nodes, addr, flags);
@@ -1527,7 +1527,7 @@ COMPAT_SYSCALL_DEFINE5(get_mempolicy, in
unsigned long nr_bits, alloc_size;
DECLARE_BITMAP(bm, MAX_NUMNODES);
- nr_bits = min_t(unsigned long, maxnode-1, MAX_NUMNODES);
+ nr_bits = min_t(unsigned long, maxnode-1, nr_node_ids);
alloc_size = ALIGN(nr_bits, BITS_PER_LONG) / 8;
if (nmask)
_
Patches currently in -mm which might be from rcampbell(a)nvidia.com are
numa-change-get_mempolicy-to-use-nr_node_ids-instead-of-max_numnodes.patch