Thread (45 messages) 45 messages, 7 authors, 2016-06-22

Re: Kernel 4.7: PAGE_GUARDED and _PAGE_NO_CACHE

From: Aneesh Kumar K.V <hidden>
Date: 2016-06-04 14:46:37

Christian Zigotzky [off-list ref] writes:
Hi All,

I compiled the latest git version of kernel 4.7 with all PowerPC=20
commits. Maybe the latest commit powerpc-4.7-2 solved the boot issues.=20
Our latest Nemo patch 4.7-1 works without any problems with the latest=20
git version.

instead of using powerpc-4.7-2 can you use the upstream SHA1 commit id
?. I am not sure how to map 4.7-2 to a kernel version.
I got the following error message:

arch/powerpc/kernel/pci-common.c: In function=20
=E2=80=98pci_process_bridge_OF_ranges=E2=80=99:
arch/powerpc/kernel/pci-common.c:732:59: error: =E2=80=98_PAGE_GUARDED=E2=
=80=99=20
undeclared (first use in this function)
                                 range.size, _PAGE_NO_CACHE|_PAGE_GUARDED=
);
                                                            ^
arch/powerpc/kernel/pci-common.c:732:59: note: each undeclared=20
identifier is reported only once for each function it appears in
make[1]: *** [arch/powerpc/kernel/pci-common.o] Error 1
make: *** [arch/powerpc/kernel] Error 2


Which kernel is that ? For upstream I have at that line

 729                         hose->pci_io_size =3D range.pci_addr + range.s=
ize;
 730                         hose->io_base_phys =3D range.cpu_addr - range.=
pci_addr;
 731=20
 732                         /* Build resource */
 733                         res =3D &hose->io_resource;
 734                         range.cpu_addr =3D range.pci_addr;
 735                         break;
 736                 case IORESOURCE_MEM:


-aneesh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help