From: "Aneesh Kumar K.V" <aneesh.kumar@linux•vnet.ibm.com>
To: Scott Wood <oss@buserror•net>, Michael Ellerman <mpe@ellerman•id.au>
Cc: linuxppc-dev@lists•ozlabs.org
Subject: Re: Pull request: scottwood/linux.git next
Date: Tue, 13 Dec 2016 21:19:40 +0530 [thread overview]
Message-ID: <87lgvjrfqj.fsf@linux.vnet.ibm.com> (raw)
In-Reply-To: <20161212081731.GA31497@home.buserror.net>
Scott Wood <oss@buserror•net> writes:
> Highlights include 8xx hugepage support, qbman fixes/cleanup, device
> tree updates, and some misc cleanup.
>
> The following changes since commit 555c16328ae6d75a90e234eac9b51998d68f185b:
>
> powerpc/mm: Correct process and partition table max size (2016-11-17 17:11:53 +1100)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux.git next
>
> for you to fetch changes up to baae856ebdeeaefbadd4a02cdb54b7c2277ff4dd:
>
> powerpc/fsl/dts: add FMan node for t1042d4rdb (2016-12-09 23:11:17 -0600)
>
> ----------------------------------------------------------------
> Andy Fleming (1):
> powerpc/85xx: Enable gpio power/reset driver
>
> Christophe Leroy (3):
> powerpc: port 64 bits pgtable_cache to 32 bits
> powerpc: get hugetlbpage handling more generic
> powerpc/8xx: Implement support of hugepages
So i guess it got pulled into linux-next and 4k page size boot on ppc64.
That is easy to fix such as doing something below.
- if (PMD_INDEX_SIZE && !PGT_CACHE(PMD_INDEX_SIZE))
+ if (PMD_CACHE_INDEX && !PGT_CACHE(PMD_CACHE_INDEX)) {
pgtable_cache_add(PMD_CACHE_INDEX, pmd_ctor);
+ }
But then we also have crashes when using hugetlb
[ 59.089441] Unable to handle kernel paging request for data at address 0xe8dc493a00000000
[ 59.089591] Faulting instruction address: 0xc000000000054da0
[ 59.089685] Oops: Kernel access of bad area, sig: 11 [#2]
[ 59.089753] SMP NR_CPUS=2048
[ 59.089797] NUMA
[ 59.089817] pSeries
[ 59.089840] Modules linked in:
[ 59.089904] CPU: 1 PID: 3689 Comm: hugepage-mmap Tainted: G D 4.9.0-next-20161213-11823-gff9fa2f-dirty #6
[ 59.090058] task: c00000003efbc900 task.stack: c000000038d5c000
[ 59.090145] NIP: c000000000054da0 LR: c000000000262e38 CTR: 0000000000000000
NIP: c000000000054da0 LR: c000000000262e38 CTR: 0000000000000000
REGS: c000000038d5f3b0 TRAP: 0380 Tainted: G D (4.9.0-next-20161213-11823-gff9fa2f-dirty)
MSR: 8000000000001033 <SF,ME,IR,DR,RI,LE> CR: 28002422 XER: 20000000
CFAR: c000000000054ebc SOFTE: 0
GPR00: 0000000000000007 c000000038d5f630 c000000000de2600 c000000000000000
GPR04: 00003efff0000000 0000000000000000 0000000000000000 0000000000000015
GPR08: 000000000000007f 0000000000000000 e8dc493a00000000 0000000000000000
GPR12: 0000000000000009 c00000000fe00400 00003efff0000000 0000000000000001
GPR16: 00003efff0000000 0000000000001000 c00000003ee70eb8 0000000000000000
GPR20: 0000000000000000 c00000003e956508 0000000000000000 c000000000ea7478
GPR24: c000000038d5f7d0 c1fffffffffff7ff 0000000000000000 00003f0000000000
GPR28: 0000000001000000 c00000003ee70a00 0000000000000009 0000000000000010
NIP [c000000000054da0] __find_linux_pte_or_hugepte+0x1c0/0x380
LR [c000000000262e38] __unmap_hugepage_range+0x198/0x6d0
Call Trace:
[c000000038d5f630] [c000000000262d80] __unmap_hugepage_range+0xe0/0x6d0 (unreliable)
[c000000038d5f6f0] [c000000000263390] __unmap_hugepage_range_final+0x20/0x50
[c000000038d5f720] [c0000000002344fc] unmap_single_vma+0xcc/0x120
[c000000038d5f760] [c000000000234954] unmap_vmas+0x84/0x120
[c000000038d5f7b0] [c000000000241438] exit_mmap+0xd8/0x190
[c000000038d5f870] [c0000000000acf3c] mmput+0x6c/0x1d0
[c000000038d5f8a0] [c0000000000b6b64] do_exit+0x324/0xcd0
[c000000038d5f960] [c000000000023900] oops_end+0x150/0x1f0
[c000000038d5f9e0] [c000000000047118] bad_page_fault+0xd8/0x150
[c000000038d5fa50] [c000000000025330] slb_miss_bad_addr+0x30/0x70
[c000000038d5fa70] [c000000000008c38] bad_addr_slb+0x158/0x160
I will see if this is easy to fix. But just want to update the list.
-aneesh
next prev parent reply other threads:[~2016-12-13 15:49 UTC|newest]
Thread overview: 82+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-12 8:17 Pull request: scottwood/linux.git next Scott Wood
2016-12-13 15:49 ` Aneesh Kumar K.V [this message]
2016-12-13 18:34 ` Aneesh Kumar K.V
-- strict thread matches above, loose matches on Subject: below --
2019-11-17 9:44 Scott Wood
2019-10-22 23:21 Scott Wood
2019-10-31 2:01 ` Jason Yan
2019-11-01 17:01 ` Scott Wood
2019-11-04 2:36 ` Jason Yan
2019-11-02 10:38 ` Michael Ellerman
2019-11-04 2:38 ` Jason Yan
2019-11-13 9:23 ` Michael Ellerman
2019-11-14 6:00 ` Jason Yan
2018-12-22 4:42 Scott Wood
2018-12-22 10:50 ` christophe leroy
2018-12-22 20:01 ` Scott Wood
2018-12-23 13:13 ` Michael Ellerman
2018-12-24 2:09 ` Scott Wood
2018-12-27 13:10 ` Christoph Hellwig
2018-12-28 0:03 ` Scott Wood
2018-10-23 0:22 Scott Wood
2018-08-11 5:29 Scott Wood
2018-01-21 7:55 Scott Wood
2018-01-23 5:24 ` Michael Ellerman
2017-08-29 4:20 Scott Wood
2017-05-06 3:42 Scott Wood
2017-01-27 23:53 Scott Wood
2017-02-17 11:08 ` Scott Wood
2017-02-18 8:00 ` Michael Ellerman
2016-09-27 22:08 Scott Wood
2016-07-21 17:09 Scott Wood
2016-05-17 1:37 Scott Wood
2016-05-19 12:35 ` Michael Ellerman
2016-03-12 3:15 Scott Wood
2016-03-15 0:19 ` Michael Ellerman
2016-03-15 7:01 ` Scott Wood
2016-03-15 9:07 ` Michael Ellerman
2016-03-15 17:50 ` Scott Wood
2016-03-15 10:27 ` Christophe Leroy
2016-01-04 21:38 Scott Wood
2016-01-14 13:05 ` Michael Ellerman
2015-10-28 21:56 Scott Wood
2015-08-18 4:30 Scott Wood
2015-08-26 14:14 ` Scott Wood
2015-08-27 1:14 ` Michael Ellerman
2015-06-05 23:06 Scott Wood
2015-04-02 22:47 Scott Wood
2015-02-03 17:20 Scott Wood
2015-02-04 0:58 ` Michael Ellerman
2015-02-04 1:05 ` Scott Wood
2015-02-04 2:25 ` Michael Ellerman
2014-11-18 5:20 Scott Wood
2014-09-22 22:21 Scott Wood
2014-09-23 3:52 ` Bob Cochran
2014-09-23 5:45 ` Scott Wood
2014-09-23 10:47 ` Joakim Tjernlund
2014-09-23 12:37 ` Scott Wood
2014-09-23 16:19 ` Bob Cochran
2014-10-03 19:52 ` Scott Wood
2014-10-03 23:06 ` Stephen Rothwell
2014-08-01 19:54 Scott Wood
2014-07-03 0:51 Scott Wood
2014-03-20 4:25 Scott Wood
2014-03-23 23:16 ` Benjamin Herrenschmidt
2014-03-23 23:33 ` Benjamin Herrenschmidt
2014-03-25 1:09 ` Scott Wood
2013-10-29 2:44 Scott Wood
2013-10-29 3:05 ` Scott Wood
2013-08-24 1:07 Scott Wood
2013-08-26 15:48 ` Scott Wood
2013-08-08 22:45 Scott Wood
2013-08-09 6:03 ` Benjamin Herrenschmidt
2013-08-09 14:43 ` Kumar Gala
2013-08-09 16:30 ` Scott Wood
2013-08-14 4:18 ` Benjamin Herrenschmidt
2013-08-14 17:02 ` Scott Wood
2013-08-14 21:01 ` Benjamin Herrenschmidt
2013-08-19 22:56 ` Scott Wood
2013-08-19 23:47 ` Benjamin Herrenschmidt
2013-08-19 23:49 ` Josh Boyer
2013-08-20 0:49 ` Benjamin Herrenschmidt
2013-07-01 23:43 Scott Wood
2013-07-02 7:43 ` Benjamin Herrenschmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lgvjrfqj.fsf@linux.vnet.ibm.com \
--to=aneesh.kumar@linux$(echo .)vnet.ibm.com \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=mpe@ellerman$(echo .)id.au \
--cc=oss@buserror$(echo .)net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox