[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201706172210.QSL4W3Q1%fengguang.wu@intel.com>
Date: Sat, 17 Jun 2017 22:08:20 +0800
From: kbuild test robot <lkp@...el.com>
To: Tom Lendacky <thomas.lendacky@....com>
Cc: kbuild-all@...org, linux-arch@...r.kernel.org,
linux-efi@...r.kernel.org, kvm@...r.kernel.org,
linux-doc@...r.kernel.org, x86@...nel.org,
kexec@...ts.infradead.org, linux-kernel@...r.kernel.org,
kasan-dev@...glegroups.com, xen-devel@...ts.xen.org,
linux-mm@...ck.org, iommu@...ts.linux-foundation.org,
Brijesh Singh <brijesh.singh@....com>,
Toshimitsu Kani <toshi.kani@....com>,
Radim Krčmář <rkrcmar@...hat.com>,
Matt Fleming <matt@...eblueprint.co.uk>,
Alexander Potapenko <glider@...gle.com>,
"H. Peter Anvin" <hpa@...or.com>,
Larry Woodman <lwoodman@...hat.com>,
Jonathan Corbet <corbet@....net>,
Joerg Roedel <joro@...tes.org>,
"Michael S. Tsirkin" <mst@...hat.com>,
Ingo Molnar <mingo@...hat.com>,
Andrey Ryabinin <aryabinin@...tuozzo.com>,
Dave Young <dyoung@...hat.com>, Rik van Riel <riel@...hat.com>,
Arnd Bergmann <arnd@...db.de>,
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
Borislav Petkov <bp@...en8.de>,
Andy Lutomirski <luto@...nel.org>,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
Dmitry Vyukov <dvyukov@...gle.com>,
Juergen Gross <jgross@...e.com>,
Thomas Gleixner <tglx@...utronix.de>,
Paolo Bonzini <pbonzini@...hat.com>
Subject: Re: [PATCH v7 29/36] x86, drm, fbdev: Do not specify encrypted
memory for video mappings
Hi Tom,
[auto build test ERROR on next-20170616]
[cannot apply to tip/x86/core linus/master linux/master v4.9-rc8 v4.9-rc7 v4.9-rc6 v4.12-rc5]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Tom-Lendacky/x86-Secure-Memory-Encryption-AMD/20170617-210824
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sh
All errors (new ones prefixed by >>):
drivers/gpu/drm/drm_gem.c: In function 'drm_gem_mmap_obj':
>> drivers/gpu/drm/drm_gem.c:932:22: error: implicit declaration of function 'pgprot_decrypted' [-Werror=implicit-function-declaration]
vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot);
^~~~~~~~~~~~~~~~
>> drivers/gpu/drm/drm_gem.c:932:20: error: incompatible types when assigning to type 'pgprot_t {aka struct <anonymous>}' from type 'int'
vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot);
^
cc1: some warnings being treated as errors
--
drivers/video/fbdev/core/fbmem.c: In function 'fb_mmap':
>> drivers/video/fbdev/core/fbmem.c:1414:23: error: implicit declaration of function 'pgprot_decrypted' [-Werror=implicit-function-declaration]
vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot);
^~~~~~~~~~~~~~~~
>> drivers/video/fbdev/core/fbmem.c:1414:21: error: incompatible types when assigning to type 'pgprot_t {aka struct <anonymous>}' from type 'int'
vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot);
^
drivers/video/fbdev/core/fbmem.c:1444:20: error: incompatible types when assigning to type 'pgprot_t {aka struct <anonymous>}' from type 'int'
vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot);
^
cc1: some warnings being treated as errors
--
drivers/gpu/drm/udl/udl_fb.c: In function 'udl_fb_mmap':
>> drivers/gpu/drm/udl/udl_fb.c:174:22: error: implicit declaration of function 'pgprot_decrypted' [-Werror=implicit-function-declaration]
vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot);
^~~~~~~~~~~~~~~~
>> drivers/gpu/drm/udl/udl_fb.c:174:20: error: incompatible types when assigning to type 'pgprot_t {aka struct <anonymous>}' from type 'int'
vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot);
^
cc1: some warnings being treated as errors
vim +/pgprot_decrypted +932 drivers/gpu/drm/drm_gem.c
926 return -EINVAL;
927
928 vma->vm_flags |= VM_IO | VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP;
929 vma->vm_ops = dev->driver->gem_vm_ops;
930 vma->vm_private_data = obj;
931 vma->vm_page_prot = pgprot_writecombine(vm_get_page_prot(vma->vm_flags));
> 932 vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot);
933
934 /* Take a ref for this mapping of the object, so that the fault
935 * handler can dereference the mmap offset's pointer to the object.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (45695 bytes)
Powered by blists - more mailing lists