From: kernel test robot <lkp@intel.com>
To: Thierry Reding <thierry.reding@gmail.com>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Sumit Semwal <sumit.semwal@linaro.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Benjamin Gaignard <benjamin.gaignard@collabora.com>,
Brian Starkey <Brian.Starkey@arm.com>,
John Stultz <jstultz@google.com>,
"T.J. Mercier" <tjmercier@google.com>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>,
David Hildenbrand <david@redhat.com>,
Mike Rapoport <rppt@kernel.org>,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-tegra@vger.kernel.org, linaro-mm-sig@lists.linaro.org
Subject: Re: [PATCH 5/9] dma-buf: heaps: Add support for Tegra VPR
Date: Fri, 5 Sep 2025 13:29:20 +0800 [thread overview]
Message-ID: <202509051316.Hlzf9HAw-lkp@intel.com> (raw)
In-Reply-To: <20250902154630.4032984-6-thierry.reding@gmail.com>
Hi Thierry,
kernel test robot noticed the following build errors:
[auto build test ERROR on next-20250902]
[also build test ERROR on v6.17-rc4]
[cannot apply to robh/for-next akpm-mm/mm-everything tegra/for-next linus/master v6.17-rc4 v6.17-rc3 v6.17-rc2]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Thierry-Reding/dt-bindings-reserved-memory-Document-Tegra-VPR/20250902-235038
base: next-20250902
patch link: https://lore.kernel.org/r/20250902154630.4032984-6-thierry.reding%40gmail.com
patch subject: [PATCH 5/9] dma-buf: heaps: Add support for Tegra VPR
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20250905/202509051316.Hlzf9HAw-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250905/202509051316.Hlzf9HAw-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202509051316.Hlzf9HAw-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/dma-buf/heaps/tegra-vpr.c:158:26: error: called object type 'void *' is not a function or function pointer
158 | err = pm_generic_freeze(node->dev);
| ~~~~~~~~~~~~~~~~~^
drivers/dma-buf/heaps/tegra-vpr.c:175:24: error: called object type 'void *' is not a function or function pointer
175 | err = pm_generic_thaw(node->dev);
| ~~~~~~~~~~~~~~~^
drivers/dma-buf/heaps/tegra-vpr.c:192:14: error: call to undeclared function '__ptep_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
192 | pte_t pte = __ptep_get(ptep);
| ^
drivers/dma-buf/heaps/tegra-vpr.c:192:14: note: did you mean 'ptep_get'?
include/linux/pgtable.h:338:21: note: 'ptep_get' declared here
338 | static inline pte_t ptep_get(pte_t *ptep)
| ^
drivers/dma-buf/heaps/tegra-vpr.c:192:8: error: initializing 'pte_t' with an expression of incompatible type 'int'
192 | pte_t pte = __ptep_get(ptep);
| ^ ~~~~~~~~~~~~~~~~
drivers/dma-buf/heaps/tegra-vpr.c:194:36: error: use of undeclared identifier 'PROT_NORMAL'; did you mean 'ZONE_NORMAL'?
194 | pte = clear_pte_bit(pte, __pgprot(PROT_NORMAL));
| ^~~~~~~~~~~
| ZONE_NORMAL
arch/s390/include/asm/page.h:122:36: note: expanded from macro '__pgprot'
122 | #define __pgprot(x) ((pgprot_t) { (x) } )
| ^
include/linux/mmzone.h:806:2: note: 'ZONE_NORMAL' declared here
806 | ZONE_NORMAL,
| ^
drivers/dma-buf/heaps/tegra-vpr.c:195:34: error: use of undeclared identifier 'PROT_DEVICE_nGnRnE'
195 | pte = set_pte_bit(pte, __pgprot(PROT_DEVICE_nGnRnE));
| ^
drivers/dma-buf/heaps/tegra-vpr.c:197:2: error: call to undeclared function '__set_pte'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
197 | __set_pte(ptep, pte);
| ^
drivers/dma-buf/heaps/tegra-vpr.c:197:2: note: did you mean 'set_pte'?
arch/s390/include/asm/pgtable.h:1041:20: note: 'set_pte' declared here
1041 | static inline void set_pte(pte_t *ptep, pte_t pte)
| ^
drivers/dma-buf/heaps/tegra-vpr.c:205:14: error: call to undeclared function '__ptep_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
205 | pte_t pte = __ptep_get(ptep);
| ^
drivers/dma-buf/heaps/tegra-vpr.c:205:8: error: initializing 'pte_t' with an expression of incompatible type 'int'
205 | pte_t pte = __ptep_get(ptep);
| ^ ~~~~~~~~~~~~~~~~
drivers/dma-buf/heaps/tegra-vpr.c:207:36: error: use of undeclared identifier 'PROT_DEVICE_nGnRnE'
207 | pte = clear_pte_bit(pte, __pgprot(PROT_DEVICE_nGnRnE));
| ^
drivers/dma-buf/heaps/tegra-vpr.c:208:34: error: use of undeclared identifier 'PROT_NORMAL'; did you mean 'ZONE_NORMAL'?
208 | pte = set_pte_bit(pte, __pgprot(PROT_NORMAL));
| ^~~~~~~~~~~
| ZONE_NORMAL
arch/s390/include/asm/page.h:122:36: note: expanded from macro '__pgprot'
122 | #define __pgprot(x) ((pgprot_t) { (x) } )
| ^
include/linux/mmzone.h:806:2: note: 'ZONE_NORMAL' declared here
806 | ZONE_NORMAL,
| ^
drivers/dma-buf/heaps/tegra-vpr.c:210:2: error: call to undeclared function '__set_pte'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
210 | __set_pte(ptep, pte);
| ^
12 errors generated.
vim +158 drivers/dma-buf/heaps/tegra-vpr.c
135
136 static int tegra_vpr_resize(struct tegra_vpr *vpr)
137 {
138 struct tegra_vpr_device *node;
139 phys_addr_t base, size;
140 int err;
141
142 err = tegra_vpr_get_extents(vpr, &base, &size);
143 if (err < 0) {
144 pr_err("%s(): failed to get VPR extents: %d\n", __func__, err);
145 return err;
146 }
147
148 if (vpr->use_freezer) {
149 err = freeze_processes();
150 if (err < 0) {
151 pr_err("%s(): failed to freeze processes: %d\n",
152 __func__, err);
153 return err;
154 }
155 }
156
157 list_for_each_entry(node, &vpr->devices, node) {
> 158 err = pm_generic_freeze(node->dev);
159 if (err < 0) {
160 pr_err("failed to runtime suspend %s\n",
161 dev_name(node->dev));
162 continue;
163 }
164 }
165
166 trace_tegra_vpr_set(base, size);
167
168 err = tegra_vpr_set(base, size);
169 if (err < 0) {
170 pr_err("failed to secure VPR: %d\n", err);
171 return err;
172 }
173
174 list_for_each_entry(node, &vpr->devices, node) {
175 err = pm_generic_thaw(node->dev);
176 if (err < 0) {
177 pr_err("failed to runtime resume %s\n",
178 dev_name(node->dev));
179 continue;
180 }
181 }
182
183 if (vpr->use_freezer)
184 thaw_processes();
185
186 return 0;
187 }
188
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-09-05 5:29 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-02 15:46 [PATCH 0/9] dma-buf: heaps: Add Tegra VPR support Thierry Reding
2025-09-02 15:46 ` [PATCH 1/9] dt-bindings: reserved-memory: Document Tegra VPR Thierry Reding
2025-09-03 16:45 ` Rob Herring (Arm)
2025-09-02 15:46 ` [PATCH 2/9] dt-bindings: display: tegra: Document memory regions Thierry Reding
2025-09-02 15:46 ` [PATCH 3/9] mm/cma: Allow dynamically creating CMA areas Thierry Reding
2025-09-02 17:27 ` Frank van der Linden
2025-09-02 19:04 ` David Hildenbrand
2025-09-03 16:12 ` Thierry Reding
2025-09-03 16:14 ` David Hildenbrand
2025-09-03 16:05 ` Thierry Reding
2025-09-03 16:41 ` Frank van der Linden
2025-09-04 12:06 ` Thierry Reding
2025-09-02 15:46 ` [PATCH 4/9] dma-buf: heaps: Add debugfs support Thierry Reding
2025-09-02 22:37 ` John Stultz
2025-09-03 15:38 ` Thierry Reding
2025-09-03 18:48 ` John Stultz
2025-09-04 12:04 ` Thierry Reding
2025-10-02 7:59 ` Maxime Ripard
2025-09-02 15:46 ` [PATCH 5/9] dma-buf: heaps: Add support for Tegra VPR Thierry Reding
2025-09-05 4:06 ` kernel test robot
2025-09-05 5:29 ` kernel test robot [this message]
2025-09-02 15:46 ` [PATCH 6/9] arm64: tegra: Add VPR placeholder node on Tegra234 Thierry Reding
2025-09-04 15:30 ` Thierry Reding
2025-09-02 15:46 ` [PATCH 7/9] arm64: tegra: Add GPU " Thierry Reding
2025-09-02 15:46 ` [PATCH 8/9] arm64: tegra: Hook up VPR to host1x Thierry Reding
2025-09-02 15:46 ` [PATCH 9/9] arm64: tegra: Hook up VPR to the GPU Thierry Reding
2025-09-03 11:54 ` [PATCH 0/9] dma-buf: heaps: Add Tegra VPR support David Hildenbrand
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=202509051316.Hlzf9HAw-lkp@intel.com \
--to=lkp@intel.com \
--cc=Brian.Starkey@arm.com \
--cc=airlied@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=benjamin.gaignard@collabora.com \
--cc=conor+dt@kernel.org \
--cc=david@redhat.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jstultz@google.com \
--cc=krzk@kernel.org \
--cc=linaro-mm-sig@lists.linaro.org \
--cc=linux-mm@kvack.org \
--cc=linux-tegra@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh@kernel.org \
--cc=rppt@kernel.org \
--cc=simona@ffwll.ch \
--cc=sumit.semwal@linaro.org \
--cc=thierry.reding@gmail.com \
--cc=tjmercier@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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