Re: [RFC PATCH 2/2] cifs: Implement cache I/O by accessing the cache directly
by kernel test robot
Hi David,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on cifs/for-next]
[also build test WARNING on linus/master v5.17-rc1 next-20220124]
[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]
url: https://github.com/0day-ci/linux/commits/David-Howells/cifs-Transition-fr...
base: git://git.samba.org/sfrench/cifs-2.6.git for-next
config: ia64-defconfig (https://download.01.org/0day-ci/archive/20220125/202201250621.d5okx8X3-lk...)
compiler: ia64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/ad0df70284e96423c577eb30a366eb814...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review David-Howells/cifs-Transition-from-readpages-to-readahead/20220125-010247
git checkout ad0df70284e96423c577eb30a366eb814888379b
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash fs/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from fs/cifs/cifsfs.c:41:
fs/cifs/fscache.h: In function 'cifs_fscache_query_occupancy':
>> fs/cifs/fscache.h:143:21: warning: assignment to 'long unsigned int *' from 'long unsigned int' makes pointer from integer without a cast [-Wint-conversion]
143 | _data_first = ULONG_MAX;
| ^
>> fs/cifs/fscache.h:140:57: warning: parameter '_data_first' set but not used [-Wunused-but-set-parameter]
140 | pgoff_t *_data_first,
>> fs/cifs/fscache.h:141:62: warning: parameter '_data_nr_pages' set but not used [-Wunused-but-set-parameter]
141 | unsigned int *_data_nr_pages)
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
vim +143 fs/cifs/fscache.h
137
138 static inline int cifs_fscache_query_occupancy(struct inode *inode,
139 pgoff_t first, unsigned nr_pages,
> 140 pgoff_t *_data_first,
> 141 unsigned int *_data_nr_pages)
142 {
> 143 _data_first = ULONG_MAX;
144 _data_nr_pages = 0;
145 return -ENOBUFS;
146 }
147
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
7 months, 4 weeks
Re: [RFC PATCH 4/6] fprobe: Add exit_handler support
by kernel test robot
Hi Masami,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on rostedt-trace/for-next]
[also build test ERROR on bpf-next/master bpf/master linus/master v5.17-rc1 next-20220124]
[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]
url: https://github.com/0day-ci/linux/commits/Masami-Hiramatsu/fprobe-Add-ftra...
base: https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20220125/202201250537.lwxse0qH-lk...)
compiler: s390-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/c0e0471b58c3c9122bbff7523f97a3635...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Masami-Hiramatsu/fprobe-Add-ftrace-based-probe-APIs/20220112-000050
git checkout c0e0471b58c3c9122bbff7523f97a363558284eb
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
s390-linux-ld: kernel/dma/coherent.o: in function `dma_init_coherent_memory':
coherent.c:(.text+0x13e): undefined reference to `memremap'
s390-linux-ld: coherent.c:(.text+0x274): undefined reference to `memunmap'
s390-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0x820): undefined reference to `memunmap'
s390-linux-ld: kernel/trace/rethook.o: in function `__rethook_find_ret_addr':
>> rethook.c:(.text+0xa8): undefined reference to `arch_rethook_trampoline'
s390-linux-ld: kernel/trace/rethook.o: in function `rethook_hook_current':
>> rethook.c:(.text+0x1a7e): undefined reference to `arch_rethook_prepare'
s390-linux-ld: kernel/trace/rethook.o: in function `rethook_trampoline_handler':
rethook.c:(.text+0x1bb2): undefined reference to `arch_rethook_trampoline'
s390-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
irq-al-fic.c:(.init.text+0x98): undefined reference to `of_iomap'
s390-linux-ld: irq-al-fic.c:(.init.text+0x5a8): undefined reference to `iounmap'
s390-linux-ld: drivers/clk/clk-fixed-mmio.o: in function `fixed_mmio_clk_setup':
clk-fixed-mmio.c:(.text+0x9a): undefined reference to `of_iomap'
s390-linux-ld: clk-fixed-mmio.c:(.text+0xe6): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_init':
timer-of.c:(.init.text+0x184): undefined reference to `of_iomap'
s390-linux-ld: timer-of.c:(.init.text+0x9bc): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_cleanup':
timer-of.c:(.init.text+0xc46): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-microchip-pit64b.o: in function `mchp_pit64b_dt_init_timer':
timer-microchip-pit64b.c:(.init.text+0x8a8): undefined reference to `of_iomap'
s390-linux-ld: timer-microchip-pit64b.c:(.init.text+0x1072): undefined reference to `iounmap'
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for RETHOOK
Depends on HAVE_RETHOOK
Selected by
- FPROBES && FTRACE && FUNCTION_TRACER && DYNAMIC_FTRACE_WITH_REGS
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
7 months, 4 weeks
Re: [PATCH net-next] net-core: add InMacErrors counter
by kernel test robot
Hi Jeffrey,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/Jeffrey-Ji/net-core-add-InMacErr...
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 8aaaf2f3af2ae212428f4db1af34214225f5cec3
config: mips-maltaaprp_defconfig (https://download.01.org/0day-ci/archive/20220125/202201250449.tTXEfxm8-lk...)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7b3d30728816403d1fd73cc5082e9fb761262bce)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://github.com/0day-ci/linux/commit/f8ea346d278c116f830459bae2a910fdc...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jeffrey-Ji/net-core-add-InMacErrors-counter/20220122-080455
git checkout f8ea346d278c116f830459bae2a910fdc5e96a35
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash net/ipv6/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> net/ipv6/ip6_input.c:153:24: warning: variable 'idev' is uninitialized when used here [-Wuninitialized]
__IP6_INC_STATS(net, idev, IPSTATS_MIB_INMACERRORS);
^~~~
include/net/ipv6.h:256:26: note: expanded from macro '__IP6_INC_STATS'
_DEVINC(net, ipv6, __, idev, field)
^~~~
include/net/ipv6.h:211:29: note: expanded from macro '_DEVINC'
struct inet6_dev *_idev = (idev); \
^~~~
net/ipv6/ip6_input.c:150:24: note: initialize the variable 'idev' to silence this warning
struct inet6_dev *idev;
^
= NULL
1 warning generated.
vim +/idev +153 net/ipv6/ip6_input.c
144
145 static struct sk_buff *ip6_rcv_core(struct sk_buff *skb, struct net_device *dev,
146 struct net *net)
147 {
148 const struct ipv6hdr *hdr;
149 u32 pkt_len;
150 struct inet6_dev *idev;
151
152 if (skb->pkt_type == PACKET_OTHERHOST) {
> 153 __IP6_INC_STATS(net, idev, IPSTATS_MIB_INMACERRORS);
154 kfree_skb(skb);
155 return NULL;
156 }
157
158 rcu_read_lock();
159
160 idev = __in6_dev_get(skb->dev);
161
162 __IP6_UPD_PO_STATS(net, idev, IPSTATS_MIB_IN, skb->len);
163
164 if ((skb = skb_share_check(skb, GFP_ATOMIC)) == NULL ||
165 !idev || unlikely(idev->cnf.disable_ipv6)) {
166 __IP6_INC_STATS(net, idev, IPSTATS_MIB_INDISCARDS);
167 goto drop;
168 }
169
170 memset(IP6CB(skb), 0, sizeof(struct inet6_skb_parm));
171
172 /*
173 * Store incoming device index. When the packet will
174 * be queued, we cannot refer to skb->dev anymore.
175 *
176 * BTW, when we send a packet for our own local address on a
177 * non-loopback interface (e.g. ethX), it is being delivered
178 * via the loopback interface (lo) here; skb->dev = loopback_dev.
179 * It, however, should be considered as if it is being
180 * arrived via the sending interface (ethX), because of the
181 * nature of scoping architecture. --yoshfuji
182 */
183 IP6CB(skb)->iif = skb_valid_dst(skb) ? ip6_dst_idev(skb_dst(skb))->dev->ifindex : dev->ifindex;
184
185 if (unlikely(!pskb_may_pull(skb, sizeof(*hdr))))
186 goto err;
187
188 hdr = ipv6_hdr(skb);
189
190 if (hdr->version != 6)
191 goto err;
192
193 __IP6_ADD_STATS(net, idev,
194 IPSTATS_MIB_NOECTPKTS +
195 (ipv6_get_dsfield(hdr) & INET_ECN_MASK),
196 max_t(unsigned short, 1, skb_shinfo(skb)->gso_segs));
197 /*
198 * RFC4291 2.5.3
199 * The loopback address must not be used as the source address in IPv6
200 * packets that are sent outside of a single node. [..]
201 * A packet received on an interface with a destination address
202 * of loopback must be dropped.
203 */
204 if ((ipv6_addr_loopback(&hdr->saddr) ||
205 ipv6_addr_loopback(&hdr->daddr)) &&
206 !(dev->flags & IFF_LOOPBACK) &&
207 !netif_is_l3_master(dev))
208 goto err;
209
210 /* RFC4291 Errata ID: 3480
211 * Interface-Local scope spans only a single interface on a
212 * node and is useful only for loopback transmission of
213 * multicast. Packets with interface-local scope received
214 * from another node must be discarded.
215 */
216 if (!(skb->pkt_type == PACKET_LOOPBACK ||
217 dev->flags & IFF_LOOPBACK) &&
218 ipv6_addr_is_multicast(&hdr->daddr) &&
219 IPV6_ADDR_MC_SCOPE(&hdr->daddr) == 1)
220 goto err;
221
222 /* If enabled, drop unicast packets that were encapsulated in link-layer
223 * multicast or broadcast to protected against the so-called "hole-196"
224 * attack in 802.11 wireless.
225 */
226 if (!ipv6_addr_is_multicast(&hdr->daddr) &&
227 (skb->pkt_type == PACKET_BROADCAST ||
228 skb->pkt_type == PACKET_MULTICAST) &&
229 idev->cnf.drop_unicast_in_l2_multicast)
230 goto err;
231
232 /* RFC4291 2.7
233 * Nodes must not originate a packet to a multicast address whose scope
234 * field contains the reserved value 0; if such a packet is received, it
235 * must be silently dropped.
236 */
237 if (ipv6_addr_is_multicast(&hdr->daddr) &&
238 IPV6_ADDR_MC_SCOPE(&hdr->daddr) == 0)
239 goto err;
240
241 /*
242 * RFC4291 2.7
243 * Multicast addresses must not be used as source addresses in IPv6
244 * packets or appear in any Routing header.
245 */
246 if (ipv6_addr_is_multicast(&hdr->saddr))
247 goto err;
248
249 skb->transport_header = skb->network_header + sizeof(*hdr);
250 IP6CB(skb)->nhoff = offsetof(struct ipv6hdr, nexthdr);
251
252 pkt_len = ntohs(hdr->payload_len);
253
254 /* pkt_len may be zero if Jumbo payload option is present */
255 if (pkt_len || hdr->nexthdr != NEXTHDR_HOP) {
256 if (pkt_len + sizeof(struct ipv6hdr) > skb->len) {
257 __IP6_INC_STATS(net,
258 idev, IPSTATS_MIB_INTRUNCATEDPKTS);
259 goto drop;
260 }
261 if (pskb_trim_rcsum(skb, pkt_len + sizeof(struct ipv6hdr))) {
262 __IP6_INC_STATS(net, idev, IPSTATS_MIB_INHDRERRORS);
263 goto drop;
264 }
265 hdr = ipv6_hdr(skb);
266 }
267
268 if (hdr->nexthdr == NEXTHDR_HOP) {
269 if (ipv6_parse_hopopts(skb) < 0) {
270 __IP6_INC_STATS(net, idev, IPSTATS_MIB_INHDRERRORS);
271 rcu_read_unlock();
272 return NULL;
273 }
274 }
275
276 rcu_read_unlock();
277
278 /* Must drop socket now because of tproxy. */
279 if (!skb_sk_is_prefetched(skb))
280 skb_orphan(skb);
281
282 return skb;
283 err:
284 __IP6_INC_STATS(net, idev, IPSTATS_MIB_INHDRERRORS);
285 drop:
286 rcu_read_unlock();
287 kfree_skb(skb);
288 return NULL;
289 }
290
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
7 months, 4 weeks
Re: [PATCH net-next] net-core: add InMacErrors counter
by kernel test robot
Hi Jeffrey,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/Jeffrey-Ji/net-core-add-InMacErr...
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 8aaaf2f3af2ae212428f4db1af34214225f5cec3
config: x86_64-randconfig-a001-20220117 (https://download.01.org/0day-ci/archive/20220125/202201250416.QEl2tmqY-lk...)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7b3d30728816403d1fd73cc5082e9fb761262bce)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/f8ea346d278c116f830459bae2a910fdc...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jeffrey-Ji/net-core-add-InMacErrors-counter/20220122-080455
git checkout f8ea346d278c116f830459bae2a910fdc5e96a35
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash net/ipv6/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> net/ipv6/ip6_input.c:153:24: warning: variable 'idev' is uninitialized when used here [-Wuninitialized]
__IP6_INC_STATS(net, idev, IPSTATS_MIB_INMACERRORS);
^~~~
include/net/ipv6.h:256:26: note: expanded from macro '__IP6_INC_STATS'
_DEVINC(net, ipv6, __, idev, field)
^~~~
include/net/ipv6.h:211:29: note: expanded from macro '_DEVINC'
struct inet6_dev *_idev = (idev); \
^~~~
net/ipv6/ip6_input.c:150:24: note: initialize the variable 'idev' to silence this warning
struct inet6_dev *idev;
^
= NULL
1 warning generated.
vim +/idev +153 net/ipv6/ip6_input.c
144
145 static struct sk_buff *ip6_rcv_core(struct sk_buff *skb, struct net_device *dev,
146 struct net *net)
147 {
148 const struct ipv6hdr *hdr;
149 u32 pkt_len;
150 struct inet6_dev *idev;
151
152 if (skb->pkt_type == PACKET_OTHERHOST) {
> 153 __IP6_INC_STATS(net, idev, IPSTATS_MIB_INMACERRORS);
154 kfree_skb(skb);
155 return NULL;
156 }
157
158 rcu_read_lock();
159
160 idev = __in6_dev_get(skb->dev);
161
162 __IP6_UPD_PO_STATS(net, idev, IPSTATS_MIB_IN, skb->len);
163
164 if ((skb = skb_share_check(skb, GFP_ATOMIC)) == NULL ||
165 !idev || unlikely(idev->cnf.disable_ipv6)) {
166 __IP6_INC_STATS(net, idev, IPSTATS_MIB_INDISCARDS);
167 goto drop;
168 }
169
170 memset(IP6CB(skb), 0, sizeof(struct inet6_skb_parm));
171
172 /*
173 * Store incoming device index. When the packet will
174 * be queued, we cannot refer to skb->dev anymore.
175 *
176 * BTW, when we send a packet for our own local address on a
177 * non-loopback interface (e.g. ethX), it is being delivered
178 * via the loopback interface (lo) here; skb->dev = loopback_dev.
179 * It, however, should be considered as if it is being
180 * arrived via the sending interface (ethX), because of the
181 * nature of scoping architecture. --yoshfuji
182 */
183 IP6CB(skb)->iif = skb_valid_dst(skb) ? ip6_dst_idev(skb_dst(skb))->dev->ifindex : dev->ifindex;
184
185 if (unlikely(!pskb_may_pull(skb, sizeof(*hdr))))
186 goto err;
187
188 hdr = ipv6_hdr(skb);
189
190 if (hdr->version != 6)
191 goto err;
192
193 __IP6_ADD_STATS(net, idev,
194 IPSTATS_MIB_NOECTPKTS +
195 (ipv6_get_dsfield(hdr) & INET_ECN_MASK),
196 max_t(unsigned short, 1, skb_shinfo(skb)->gso_segs));
197 /*
198 * RFC4291 2.5.3
199 * The loopback address must not be used as the source address in IPv6
200 * packets that are sent outside of a single node. [..]
201 * A packet received on an interface with a destination address
202 * of loopback must be dropped.
203 */
204 if ((ipv6_addr_loopback(&hdr->saddr) ||
205 ipv6_addr_loopback(&hdr->daddr)) &&
206 !(dev->flags & IFF_LOOPBACK) &&
207 !netif_is_l3_master(dev))
208 goto err;
209
210 /* RFC4291 Errata ID: 3480
211 * Interface-Local scope spans only a single interface on a
212 * node and is useful only for loopback transmission of
213 * multicast. Packets with interface-local scope received
214 * from another node must be discarded.
215 */
216 if (!(skb->pkt_type == PACKET_LOOPBACK ||
217 dev->flags & IFF_LOOPBACK) &&
218 ipv6_addr_is_multicast(&hdr->daddr) &&
219 IPV6_ADDR_MC_SCOPE(&hdr->daddr) == 1)
220 goto err;
221
222 /* If enabled, drop unicast packets that were encapsulated in link-layer
223 * multicast or broadcast to protected against the so-called "hole-196"
224 * attack in 802.11 wireless.
225 */
226 if (!ipv6_addr_is_multicast(&hdr->daddr) &&
227 (skb->pkt_type == PACKET_BROADCAST ||
228 skb->pkt_type == PACKET_MULTICAST) &&
229 idev->cnf.drop_unicast_in_l2_multicast)
230 goto err;
231
232 /* RFC4291 2.7
233 * Nodes must not originate a packet to a multicast address whose scope
234 * field contains the reserved value 0; if such a packet is received, it
235 * must be silently dropped.
236 */
237 if (ipv6_addr_is_multicast(&hdr->daddr) &&
238 IPV6_ADDR_MC_SCOPE(&hdr->daddr) == 0)
239 goto err;
240
241 /*
242 * RFC4291 2.7
243 * Multicast addresses must not be used as source addresses in IPv6
244 * packets or appear in any Routing header.
245 */
246 if (ipv6_addr_is_multicast(&hdr->saddr))
247 goto err;
248
249 skb->transport_header = skb->network_header + sizeof(*hdr);
250 IP6CB(skb)->nhoff = offsetof(struct ipv6hdr, nexthdr);
251
252 pkt_len = ntohs(hdr->payload_len);
253
254 /* pkt_len may be zero if Jumbo payload option is present */
255 if (pkt_len || hdr->nexthdr != NEXTHDR_HOP) {
256 if (pkt_len + sizeof(struct ipv6hdr) > skb->len) {
257 __IP6_INC_STATS(net,
258 idev, IPSTATS_MIB_INTRUNCATEDPKTS);
259 goto drop;
260 }
261 if (pskb_trim_rcsum(skb, pkt_len + sizeof(struct ipv6hdr))) {
262 __IP6_INC_STATS(net, idev, IPSTATS_MIB_INHDRERRORS);
263 goto drop;
264 }
265 hdr = ipv6_hdr(skb);
266 }
267
268 if (hdr->nexthdr == NEXTHDR_HOP) {
269 if (ipv6_parse_hopopts(skb) < 0) {
270 __IP6_INC_STATS(net, idev, IPSTATS_MIB_INHDRERRORS);
271 rcu_read_unlock();
272 return NULL;
273 }
274 }
275
276 rcu_read_unlock();
277
278 /* Must drop socket now because of tproxy. */
279 if (!skb_sk_is_prefetched(skb))
280 skb_orphan(skb);
281
282 return skb;
283 err:
284 __IP6_INC_STATS(net, idev, IPSTATS_MIB_INHDRERRORS);
285 drop:
286 rcu_read_unlock();
287 kfree_skb(skb);
288 return NULL;
289 }
290
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
7 months, 4 weeks
Re: [RFC 7/7] nvme: add support for enhanced metadata
by kernel test robot
Hi Keith,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on axboe-block/for-next]
[also build test WARNING on linux/master linus/master v5.17-rc1 next-20220124]
[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]
url: https://github.com/0day-ci/linux/commits/Keith-Busch/64-bit-data-integrit...
base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
config: x86_64-randconfig-s021-20220124 (https://download.01.org/0day-ci/archive/20220125/202201250552.LY0QkQNT-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://github.com/0day-ci/linux/commit/15e965a414da565fcf7d7aa958a9850bb...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Keith-Busch/64-bit-data-integrity-field-support/20220125-000232
git checkout 15e965a414da565fcf7d7aa958a9850bb714db17
# save the config file to linux build tree
mkdir build_dir
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/nvme/host/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/nvme/host/core.c:1805:17: sparse: sparse: cast from restricted __le32
>> drivers/nvme/host/core.c:1805:15: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] elbaf @@ got restricted __le32 [usertype] @@
drivers/nvme/host/core.c:1805:15: sparse: expected unsigned int [usertype] elbaf
drivers/nvme/host/core.c:1805:15: sparse: got restricted __le32 [usertype]
vim +1805 drivers/nvme/host/core.c
1773
1774 static int nvme_init_ms(struct nvme_ns *ns, struct nvme_id_ns *id)
1775 {
1776 bool first = id->dps & NVME_NS_DPS_PI_FIRST;
1777 unsigned lbaf = nvme_lbaf_index(id->flbas);
1778 struct nvme_ctrl *ctrl = ns->ctrl;
1779 struct nvme_command c = { };
1780 struct nvme_id_ns_nvm *nvm;
1781 u8 pi_size = 0;
1782 int ret = 0;
1783 u32 elbaf;
1784
1785 ns->ms = le16_to_cpu(id->lbaf[lbaf].ms);
1786 if (!(ctrl->ctratt & NVME_CTRL_ATTR_ELBAS)) {
1787 pi_size = sizeof(struct t10_pi_tuple);
1788 ns->guard_type = NVME_NVM_NS_16B_GUARD;
1789 goto set_pi;
1790 }
1791
1792 nvm = kzalloc(sizeof(*nvm), GFP_KERNEL);
1793 if (!nvm)
1794 return -ENOMEM;
1795
1796 c.identify.opcode = nvme_admin_identify;
1797 c.identify.nsid = cpu_to_le32(ns->head->ns_id);
1798 c.identify.cns = NVME_ID_CNS_CS_NS;
1799 c.identify.csi = NVME_CSI_NVM;
1800
1801 ret = nvme_submit_sync_cmd(ns->ctrl->admin_q, &c, nvm, sizeof(*nvm));
1802 if (ret)
1803 goto free_data;
1804
> 1805 elbaf = cpu_to_le32(nvm->elbaf[lbaf]);
1806
1807 /* no support for storage tag formats right now */
1808 if (nvme_elbaf_sts(elbaf))
1809 goto free_data;
1810
1811 ns->guard_type = nvme_elbaf_guard_type(elbaf);
1812 switch (ns->guard_type) {
1813 case NVME_NVM_NS_64B_GUARD:
1814 pi_size = sizeof(struct nvme_crc64_pi_tuple);
1815 break;
1816 case NVME_NVM_NS_16B_GUARD:
1817 pi_size = sizeof(struct t10_pi_tuple);
1818 break;
1819 default:
1820 break;
1821 }
1822
1823 free_data:
1824 kfree(nvm);
1825 set_pi:
1826 if (pi_size && (first || ns->ms == pi_size))
1827 ns->pi_type = id->dps & NVME_NS_DPS_PI_MASK;
1828 else
1829 ns->pi_type = 0;
1830
1831 return ret;
1832 }
1833
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
7 months, 4 weeks
Re: [PATCH v4 4/9] rethook: x86: Add rethook x86 implementation
by kernel test robot
Hi Masami,
I love your patch! Yet something to improve:
[auto build test ERROR on rostedt-trace/for-next]
[also build test ERROR on tip/x86/core linus/master v5.17-rc1 next-20220124]
[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]
url: https://github.com/0day-ci/linux/commits/Masami-Hiramatsu/fprobe-Introduc...
base: https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next
config: i386-tinyconfig (https://download.01.org/0day-ci/archive/20220125/202201250509.MSbKNePn-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/6366c7f830e71242dd9538fbdb09acdcc...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Masami-Hiramatsu/fprobe-Introduce-fprobe-function-entry-exit-probe/20220125-001253
git checkout 6366c7f830e71242dd9538fbdb09acdccea6e786
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kernel/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from arch/x86/kernel/process.c:48:
arch/x86/include/asm/unwind.h: In function 'unwind_recover_kretprobe':
>> arch/x86/include/asm/unwind.h:113:17: error: 'struct unwind_state' has no member named 'kr_cur'
113 | &state->kr_cur);
| ^~
arch/x86/kernel/process.c: At top level:
arch/x86/kernel/process.c:887:13: warning: no previous prototype for 'arch_post_acpi_subsys_init' [-Wmissing-prototypes]
887 | void __init arch_post_acpi_subsys_init(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from arch/x86/kernel/unwind_guess.c:7:
arch/x86/include/asm/unwind.h: In function 'unwind_recover_kretprobe':
>> arch/x86/include/asm/unwind.h:113:17: error: 'struct unwind_state' has no member named 'kr_cur'
113 | &state->kr_cur);
| ^~
vim +113 arch/x86/include/asm/unwind.h
106
107 static inline
108 unsigned long unwind_recover_kretprobe(struct unwind_state *state,
109 unsigned long addr, unsigned long *addr_p)
110 {
111 if (IS_ENABLED(CONFIG_RETHOOK) && is_rethook_trampoline(addr))
112 return rethook_find_ret_addr(state->task, (unsigned long)addr_p,
> 113 &state->kr_cur);
114 #ifdef CONFIG_KRETPROBES
115 return is_kretprobe_trampoline(addr) ?
116 kretprobe_find_ret_addr(state->task, addr_p, &state->kr_cur) :
117 addr;
118 #else
119 return addr;
120 #endif
121 }
122
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
7 months, 4 weeks
Re: [PATCH 3/3] v4l: ioctl: Set bus_info in v4l_querycap()
by kernel test robot
Hi Sakari,
I love your patch! Perhaps something to improve:
[auto build test WARNING on media-tree/master]
[also build test WARNING on v5.17-rc1 next-20220124]
[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]
url: https://github.com/0day-ci/linux/commits/Sakari-Ailus/Set-bus_info-field-...
base: git://linuxtv.org/media_tree.git master
config: mips-randconfig-r036-20220124 (https://download.01.org/0day-ci/archive/20220125/202201250515.dkk038WS-lk...)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 2e58a18910867ba6795066e044293e6daf89edf5)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://github.com/0day-ci/linux/commit/512d690d3258afe250b666da9ee728ae5...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Sakari-Ailus/Set-bus_info-field-in-framework/20220123-004134
git checkout 512d690d3258afe250b666da9ee728ae54877083
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/media/platform/allegro-dvt/ drivers/media/platform/exynos-gsc/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/media/platform/allegro-dvt/allegro-core.c:3253:22: warning: unused variable 'dev'
struct allegro_dev = video_get_drvdata(vdev);
^
fatal error: error in backend: Nested variants found in inline asm string: ' .set push
.set noat
.set push
.set arch=r4000
.if ( 0x00 ) != -1)) 0x00 ) != -1)) : ($( static struct ftrace_branch_data __attribute__((__aligned__(4))) __attribute__((__section__("_ftrace_branch"))) __if_trace = $( .func = __func__, .file = "arch/mips/include/asm/cmpxchg.h", .line = 163, $); 0x00 ) != -1)) : $))) ) && ( 0 ); .set push; .set mips64r2; .rept 1; sync 0x00; .endr; .set pop; .else; ; .endif
1: ll $0, $2 # __cmpxchg_asm
bne $0, ${3:z}, 2f
.set pop
move $$1, ${4:z}
.set arch=r4000
sc $$1, $1
beqz $$1, 1b
.set pop
2: .if ( 0x00 ) != -1)) 0x00 ) != -1)) : ($( static struct ftrace_branch_data __attribute__((__aligned__(4))) __attribute__((__section__("_ftrace_branch"))) __if_trace = $( .func = __func__, .file = "arch/mips/include/asm/cmpxchg.h", .line = 163, $); 0x00 ) != -1)) : $))) ) && ( 0 ); .set push; .set mips64r2; .rept 1; sync 0x00; .endr; .set pop; .else; ; .endif
'
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: clang -Wp,-MMD,drivers/media/platform/allegro-dvt/.allegro-core.o.d -nostdinc -Iarch/mips/include -I./arch/mips/include/generated -Iinclude -I./include -Iarch/mips/include/uapi -I./arch/mips/include/generated/uapi -Iinclude/uapi -I./include/generated/uapi -include include/linux/compiler-version.h -include include/linux/kconfig.h -include include/linux/compiler_types.h -D__KERNEL__ -DVMLINUX_LOAD_ADDRESS=0xffffffff80100000 -DLINKER_LOAD_ADDRESS=0x80100000 -DDATAOFFSET=0 -Qunused-arguments -fmacro-prefix-map== -DKBUILD_EXTRA_WARN1 -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 --target=mipsel-linux -fintegrated-as -Werror=unknown-warning-option -Werror=ignored-optimization-argument -mno-check-zero-division -mabi=32 -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -DGAS_HAS_SET_HARDFLOAT -Wa,-msoft-float -ffreestanding -EL -fno-stack-check -march=mips32 -Wa,--trap -DTOOLCHAIN_SUPPORTS_VIRT -Iarch/mips/include/asm/mach-generic -Iarch/mips/include/asm/mach-generic -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-address-of-packed-member -O2 -Wframe-larger-than=1024 -fno-stack-protector -Wimplicit-fallthrough -Wno-gnu -mno-global-merge -Wno-unused-but-set-variable -Wno-unused-const-variable -ftrivial-auto-var-init=pattern -fno-stack-clash-protection -pg -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-array-bounds -fno-strict-overflow -fno-stack-check -Werror=date-time -Werror=incompatible-pointer-types -Wextra -Wunused -Wno-unused-parameter -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wold-style-definition -Wmissing-include-dirs -Wunused-but-set-variable -Wunused-const-variable -Wno-missing-field-initializers -Wno-sign-compare -Wno-type-limits -I drivers/media/platform/allegro-dvt -I ./drivers/media/platform/allegro-dvt -DKBUILD_MODFILE="drivers/media/platform/allegro-dvt/allegro" -DKBUILD_BASENAME="allegro_core" -DKBUILD_MODNAME="allegro" -D__KBUILD_MODNAME=kmod_allegro -c -o drivers/media/platform/allegro-dvt/allegro-core.o drivers/media/platform/allegro-dvt/allegro-core.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'drivers/media/platform/allegro-dvt/allegro-core.c'.
4. Running pass 'Mips Assembly Printer' on function '@pm_runtime_resume_and_get'
#0 0x000055cb759f39ef Signals.cpp:0:0
#1 0x000055cb759f18cc llvm::sys::CleanupOnSignal(unsigned long) (/opt/cross/clang-2e58a18910/bin/clang-14+0x34288cc)
#2 0x000055cb759317d7 llvm::CrashRecoveryContext::HandleExit(int) (/opt/cross/clang-2e58a18910/bin/clang-14+0x33687d7)
#3 0x000055cb759e9f7e llvm::sys::Process::Exit(int, bool) (/opt/cross/clang-2e58a18910/bin/clang-14+0x3420f7e)
#4 0x000055cb73653dcb (/opt/cross/clang-2e58a18910/bin/clang-14+0x108adcb)
#5 0x000055cb7593828c llvm::report_fatal_error(llvm::Twine const&, bool) (/opt/cross/clang-2e58a18910/bin/clang-14+0x336f28c)
#6 0x000055cb7661bd77 llvm::AsmPrinter::emitInlineAsm(llvm::MachineInstr const (/opt/cross/clang-2e58a18910/bin/clang-14+0x4052d77)
#7 0x000055cb76617cd4 llvm::AsmPrinter::emitFunctionBody() (/opt/cross/clang-2e58a18910/bin/clang-14+0x404ecd4)
#8 0x000055cb740b6d07 llvm::MipsAsmPrinter::runOnMachineFunction(llvm::MachineFunction&) (/opt/cross/clang-2e58a18910/bin/clang-14+0x1aedd07)
#9 0x000055cb74d5bbfd llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.53) MachineFunctionPass.cpp:0:0
#10 0x000055cb751947b7 llvm::FPPassManager::runOnFunction(llvm::Function&) (/opt/cross/clang-2e58a18910/bin/clang-14+0x2bcb7b7)
#11 0x000055cb75194931 llvm::FPPassManager::runOnModule(llvm::Module&) (/opt/cross/clang-2e58a18910/bin/clang-14+0x2bcb931)
#12 0x000055cb75195c0f llvm::legacy::PassManagerImpl::run(llvm::Module&) (/opt/cross/clang-2e58a18910/bin/clang-14+0x2bccc0f)
#13 0x000055cb75d03607 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream> >) (/opt/cross/clang-2e58a18910/bin/clang-14+0x373a607)
#14 0x000055cb76933c03 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/opt/cross/clang-2e58a18910/bin/clang-14+0x436ac03)
#15 0x000055cb7743e539 clang::ParseAST(clang::Sema&, bool, bool) (/opt/cross/clang-2e58a18910/bin/clang-14+0x4e75539)
#16 0x000055cb76932a4f clang::CodeGenAction::ExecuteAction() (/opt/cross/clang-2e58a18910/bin/clang-14+0x4369a4f)
#17 0x000055cb76332591 clang::FrontendAction::Execute() (/opt/cross/clang-2e58a18910/bin/clang-14+0x3d69591)
#18 0x000055cb762c9c1a clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/cross/clang-2e58a18910/bin/clang-14+0x3d00c1a)
#19 0x000055cb763f66fb (/opt/cross/clang-2e58a18910/bin/clang-14+0x3e2d6fb)
#20 0x000055cb73654b14 cc1_main(llvm::ArrayRef<char char (/opt/cross/clang-2e58a18910/bin/clang-14+0x108bb14)
#21 0x000055cb7365205b ExecuteCC1Tool(llvm::SmallVectorImpl<char driver.cpp:0:0
#22 0x000055cb76165195 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> const::'lambda'()>(long) Job.cpp:0:0
#23 0x000055cb75931693 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/opt/cross/clang-2e58a18910/bin/clang-14+0x3368693)
#24 0x000055cb76165a8e clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> const (.part.216) Job.cpp:0:0
#25 0x000055cb7613c167 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const (/opt/cross/clang-2e58a18910/bin/clang-14+0x3b73167)
#26 0x000055cb7613cb47 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command >&) const (/opt/cross/clang-2e58a18910/bin/clang-14+0x3b73b47)
#27 0x000055cb761464b9 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command >&) (/opt/cross/clang-2e58a18910/bin/clang-14+0x3b7d4b9)
#28 0x000055cb7357c45f main (/opt/cross/clang-2e58a18910/bin/clang-14+0xfb345f)
#29 0x00007f8bd5928d0a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x26d0a)
#30 0x000055cb73651b7a _start (/opt/cross/clang-2e58a18910/bin/clang-14+0x1088b7a)
clang-14: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 14.0.0 (git://gitmirror/llvm_project 2e58a18910867ba6795066e044293e6daf89edf5)
Target: mipsel-unknown-linux
Thread model: posix
InstalledDir: /opt/cross/clang-2e58a18910/bin
clang-14: note: diagnostic msg:
Makefile arch drivers include kernel nr_bisected scripts source usr
--
>> drivers/media/platform/exynos-gsc/gsc-m2m.c:289:18: warning: unused variable 'gsc'
struct gsc_dev = ctx->gsc_dev;
^
fatal error: error in backend: Nested variants found in inline asm string: ' .set push
.set mips64r2
.if ( 0x00 ) != -1)) 0x00 ) != -1)) : ($( static struct ftrace_branch_data __attribute__((__aligned__(4))) __attribute__((__section__("_ftrace_branch"))) __if_trace = $( .func = __func__, .file = "arch/mips/include/asm/bitops.h", .line = 105, $); 0x00 ) != -1)) : $))) ) && ( 0 ); .set push; .set mips64r2; .rept 1; sync 0x00; .endr; .set pop; .else; ; .endif
1: ll $0, $1
or $0, $2
sc $0, $1
beqz $0, 1b
.set pop
'
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: clang -Wp,-MMD,drivers/media/platform/exynos-gsc/.gsc-m2m.o.d -nostdinc -Iarch/mips/include -I./arch/mips/include/generated -Iinclude -I./include -Iarch/mips/include/uapi -I./arch/mips/include/generated/uapi -Iinclude/uapi -I./include/generated/uapi -include include/linux/compiler-version.h -include include/linux/kconfig.h -include include/linux/compiler_types.h -D__KERNEL__ -DVMLINUX_LOAD_ADDRESS=0xffffffff80100000 -DLINKER_LOAD_ADDRESS=0x80100000 -DDATAOFFSET=0 -Qunused-arguments -fmacro-prefix-map== -DKBUILD_EXTRA_WARN1 -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 --target=mipsel-linux -fintegrated-as -Werror=unknown-warning-option -Werror=ignored-optimization-argument -mno-check-zero-division -mabi=32 -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -DGAS_HAS_SET_HARDFLOAT -Wa,-msoft-float -ffreestanding -EL -fno-stack-check -march=mips32 -Wa,--trap -DTOOLCHAIN_SUPPORTS_VIRT -Iarch/mips/include/asm/mach-generic -Iarch/mips/include/asm/mach-generic -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-address-of-packed-member -O2 -Wframe-larger-than=1024 -fno-stack-protector -Wimplicit-fallthrough -Wno-gnu -mno-global-merge -Wno-unused-but-set-variable -Wno-unused-const-variable -ftrivial-auto-var-init=pattern -fno-stack-clash-protection -pg -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-array-bounds -fno-strict-overflow -fno-stack-check -Werror=date-time -Werror=incompatible-pointer-types -Wextra -Wunused -Wno-unused-parameter -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wold-style-definition -Wmissing-include-dirs -Wunused-but-set-variable -Wunused-const-variable -Wno-missing-field-initializers -Wno-sign-compare -Wno-type-limits -I drivers/media/platform/exynos-gsc -I ./drivers/media/platform/exynos-gsc -DKBUILD_MODFILE="drivers/media/platform/exynos-gsc/exynos-gsc" -DKBUILD_BASENAME="gsc_m2m" -DKBUILD_MODNAME="exynos_gsc" -D__KBUILD_MODNAME=kmod_exynos_gsc -c -o drivers/media/platform/exynos-gsc/gsc-m2m.o drivers/media/platform/exynos-gsc/gsc-m2m.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'drivers/media/platform/exynos-gsc/gsc-m2m.c'.
4. Running pass 'Mips Assembly Printer' on function '@gsc_m2m_open'
#0 0x0000560afb7049ef Signals.cpp:0:0
#1 0x0000560afb7028cc llvm::sys::CleanupOnSignal(unsigned long) (/opt/cross/clang-2e58a18910/bin/clang-14+0x34288cc)
#2 0x0000560afb6427d7 llvm::CrashRecoveryContext::HandleExit(int) (/opt/cross/clang-2e58a18910/bin/clang-14+0x33687d7)
#3 0x0000560afb6faf7e llvm::sys::Process::Exit(int, bool) (/opt/cross/clang-2e58a18910/bin/clang-14+0x3420f7e)
#4 0x0000560af9364dcb (/opt/cross/clang-2e58a18910/bin/clang-14+0x108adcb)
#5 0x0000560afb64928c llvm::report_fatal_error(llvm::Twine const&, bool) (/opt/cross/clang-2e58a18910/bin/clang-14+0x336f28c)
#6 0x0000560afc32cd77 llvm::AsmPrinter::emitInlineAsm(llvm::MachineInstr const (/opt/cross/clang-2e58a18910/bin/clang-14+0x4052d77)
#7 0x0000560afc328cd4 llvm::AsmPrinter::emitFunctionBody() (/opt/cross/clang-2e58a18910/bin/clang-14+0x404ecd4)
#8 0x0000560af9dc7d07 llvm::MipsAsmPrinter::runOnMachineFunction(llvm::MachineFunction&) (/opt/cross/clang-2e58a18910/bin/clang-14+0x1aedd07)
#9 0x0000560afaa6cbfd llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.53) MachineFunctionPass.cpp:0:0
#10 0x0000560afaea57b7 llvm::FPPassManager::runOnFunction(llvm::Function&) (/opt/cross/clang-2e58a18910/bin/clang-14+0x2bcb7b7)
#11 0x0000560afaea5931 llvm::FPPassManager::runOnModule(llvm::Module&) (/opt/cross/clang-2e58a18910/bin/clang-14+0x2bcb931)
#12 0x0000560afaea6c0f llvm::legacy::PassManagerImpl::run(llvm::Module&) (/opt/cross/clang-2e58a18910/bin/clang-14+0x2bccc0f)
#13 0x0000560afba14607 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream> >) (/opt/cross/clang-2e58a18910/bin/clang-14+0x373a607)
#14 0x0000560afc644c03 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/opt/cross/clang-2e58a18910/bin/clang-14+0x436ac03)
#15 0x0000560afd14f539 clang::ParseAST(clang::Sema&, bool, bool) (/opt/cross/clang-2e58a18910/bin/clang-14+0x4e75539)
#16 0x0000560afc643a4f clang::CodeGenAction::ExecuteAction() (/opt/cross/clang-2e58a18910/bin/clang-14+0x4369a4f)
#17 0x0000560afc043591 clang::FrontendAction::Execute() (/opt/cross/clang-2e58a18910/bin/clang-14+0x3d69591)
#18 0x0000560afbfdac1a clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/cross/clang-2e58a18910/bin/clang-14+0x3d00c1a)
#19 0x0000560afc1076fb (/opt/cross/clang-2e58a18910/bin/clang-14+0x3e2d6fb)
#20 0x0000560af9365b14 cc1_main(llvm::ArrayRef<char char (/opt/cross/clang-2e58a18910/bin/clang-14+0x108bb14)
#21 0x0000560af936305b ExecuteCC1Tool(llvm::SmallVectorImpl<char driver.cpp:0:0
#22 0x0000560afbe76195 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> const::'lambda'()>(long) Job.cpp:0:0
#23 0x0000560afb642693 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/opt/cross/clang-2e58a18910/bin/clang-14+0x3368693)
#24 0x0000560afbe76a8e clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> const (.part.216) Job.cpp:0:0
#25 0x0000560afbe4d167 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const (/opt/cross/clang-2e58a18910/bin/clang-14+0x3b73167)
#26 0x0000560afbe4db47 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command >&) const (/opt/cross/clang-2e58a18910/bin/clang-14+0x3b73b47)
#27 0x0000560afbe574b9 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command >&) (/opt/cross/clang-2e58a18910/bin/clang-14+0x3b7d4b9)
#28 0x0000560af928d45f main (/opt/cross/clang-2e58a18910/bin/clang-14+0xfb345f)
#29 0x00007f5f10baed0a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x26d0a)
#30 0x0000560af9362b7a _start (/opt/cross/clang-2e58a18910/bin/clang-14+0x1088b7a)
clang-14: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 14.0.0 (git://gitmirror/llvm_project 2e58a18910867ba6795066e044293e6daf89edf5)
Target: mipsel-unknown-linux
Thread model: posix
InstalledDir: /opt/cross/clang-2e58a18910/bin
clang-14: note: diagnostic msg:
Makefile arch drivers include kernel nr_bisected scripts source usr
vim +/dev +3253 drivers/media/platform/allegro-dvt/allegro-core.c
f20387dfd06569 drivers/staging/media/allegro-dvt/allegro-core.c Michael Tretter 2019-05-28 3248
f20387dfd06569 drivers/staging/media/allegro-dvt/allegro-core.c Michael Tretter 2019-05-28 3249 static int allegro_querycap(struct file *file, void *fh,
f20387dfd06569 drivers/staging/media/allegro-dvt/allegro-core.c Michael Tretter 2019-05-28 3250 struct v4l2_capability *cap)
f20387dfd06569 drivers/staging/media/allegro-dvt/allegro-core.c Michael Tretter 2019-05-28 3251 {
f20387dfd06569 drivers/staging/media/allegro-dvt/allegro-core.c Michael Tretter 2019-05-28 3252 struct video_device *vdev = video_devdata(file);
f20387dfd06569 drivers/staging/media/allegro-dvt/allegro-core.c Michael Tretter 2019-05-28 @3253 struct allegro_dev *dev = video_get_drvdata(vdev);
f20387dfd06569 drivers/staging/media/allegro-dvt/allegro-core.c Michael Tretter 2019-05-28 3254
f20387dfd06569 drivers/staging/media/allegro-dvt/allegro-core.c Michael Tretter 2019-05-28 3255 strscpy(cap->driver, KBUILD_MODNAME, sizeof(cap->driver));
f20387dfd06569 drivers/staging/media/allegro-dvt/allegro-core.c Michael Tretter 2019-05-28 3256 strscpy(cap->card, "Allegro DVT Video Encoder", sizeof(cap->card));
f20387dfd06569 drivers/staging/media/allegro-dvt/allegro-core.c Michael Tretter 2019-05-28 3257
f20387dfd06569 drivers/staging/media/allegro-dvt/allegro-core.c Michael Tretter 2019-05-28 3258 return 0;
f20387dfd06569 drivers/staging/media/allegro-dvt/allegro-core.c Michael Tretter 2019-05-28 3259 }
f20387dfd06569 drivers/staging/media/allegro-dvt/allegro-core.c Michael Tretter 2019-05-28 3260
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
7 months, 4 weeks
[esmil:visionfive 59/63] drivers/soc/sifive/sifive_l2_cache.c:158:3: error: implicit declaration of function 'writeq'
by kernel test robot
tree: https://github.com/esmil/linux visionfive
head: fdbe623707a8f3f9b9d2cb3c4c240299a12b8302
commit: c17f07c367229d46348e9005d004d8b3416637bc [59/63] RISC-V: Enable SIFIVE_L2_FLUSH for StarFive SoCs
config: riscv-randconfig-r015-20220124 (https://download.01.org/0day-ci/archive/20220125/202201250552.SryPX3ni-lk...)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7b3d30728816403d1fd73cc5082e9fb761262bce)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/esmil/linux/commit/c17f07c367229d46348e9005d004d8b3416...
git remote add esmil https://github.com/esmil/linux
git fetch --no-tags esmil visionfive
git checkout c17f07c367229d46348e9005d004d8b3416637bc
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> drivers/soc/sifive/sifive_l2_cache.c:158:3: error: implicit declaration of function 'writeq' [-Werror,-Wimplicit-function-declaration]
writeq(line, l2_base + SIFIVE_L2_FLUSH64);
^
drivers/soc/sifive/sifive_l2_cache.c:148:19: warning: result of comparison of constant 36507222016 with expression of type 'unsigned long' is always false [-Wtautological-constant-out-of-range-compare]
(start + len) > (CONFIG_SIFIVE_L2_FLUSH_START +
~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
vim +/writeq +158 drivers/soc/sifive/sifive_l2_cache.c
a967a289f16969 arch/riscv/mm/sifive_l2_cache.c Yash Shah 2019-05-06 126
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 127 #ifdef CONFIG_SIFIVE_L2_FLUSH
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 128 void sifive_l2_flush64_range(unsigned long start, unsigned long len)
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 129 {
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 130 unsigned long line;
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 131
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 132 if(!l2_base) {
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 133 pr_warn("L2CACHE: base addr invalid, skipping flush\n");
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 134 return;
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 135 }
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 136
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 137 /* TODO: if (len == 0), skipping flush or going on? */
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 138 if(!len) {
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 139 pr_debug("L2CACHE: flush64 range @ 0x%lx(len:0)\n", start);
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 140 return;
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 141 }
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 142
0684fe29f5de5f drivers/soc/sifive/sifive_l2_cache.c Atish Patra 2021-06-12 143 len = len + (start % SIFIVE_L2_FLUSH64_LINE_LEN);
0684fe29f5de5f drivers/soc/sifive/sifive_l2_cache.c Atish Patra 2021-06-12 144 start = ALIGN_DOWN(start, SIFIVE_L2_FLUSH64_LINE_LEN);
0684fe29f5de5f drivers/soc/sifive/sifive_l2_cache.c Atish Patra 2021-06-12 145
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 146 /* make sure the address is in the range */
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 147 if(start < CONFIG_SIFIVE_L2_FLUSH_START ||
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 148 (start + len) > (CONFIG_SIFIVE_L2_FLUSH_START +
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 149 CONFIG_SIFIVE_L2_FLUSH_SIZE)) {
b5cf3456431952 drivers/soc/sifive/sifive_l2_cache.c Geert Uytterhoeven 2021-05-21 150 WARN(1, "L2CACHE: flush64 out of range: %lx(%lx), skip flush\n",
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 151 start, len);
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 152 return;
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 153 }
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 154
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 155 mb(); /* sync */
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 156 for (line = start; line < start + len;
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 157 line += SIFIVE_L2_FLUSH64_LINE_LEN) {
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 @158 writeq(line, l2_base + SIFIVE_L2_FLUSH64);
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 159 mb();
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 160 }
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 161 }
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 162 EXPORT_SYMBOL_GPL(sifive_l2_flush64_range);
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 163 #endif
c6649e71d37210 drivers/soc/sifive/sifive_l2_cache.c Tom 2021-01-08 164
:::::: The code at line 158 was first introduced by commit
:::::: c6649e71d37210bc4c33eada849aeda98c823de9 sifive/sifive_l2_cache: Add sifive_l2_flush64_range function
:::::: TO: Tom <support(a)vamrs.com>
:::::: CC: Emil Renner Berthing <kernel(a)esmil.dk>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
7 months, 4 weeks
dtbs_check: arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml: i2s@3830000: 'assigned-clock-rates' does not match any of the regexes: 'pinctrl-[0-9]+'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: dd81e1c7d5fb126e5fbc5c9e334d7b3ec29a16a0
commit: 58dfff3e984dfb96dae98008e6ea0ab92248d003 dt-bindings: Drop unnecessary pinctrl properties
date: 4 days ago
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
reproduce: make ARCH=arm dtbs_check
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
dtcheck warnings: (new ones prefixed by >>)
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/pinctrl@13400000/wakeup-interrupt-controller: failed to match any schema with compatible: ['samsung,exynos4210-wakeup-eint']
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/pinctrl@13410000: failed to match any schema with compatible: ['samsung,exynos5420-pinctrl']
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/pinctrl@14000000: failed to match any schema with compatible: ['samsung,exynos5420-pinctrl']
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/pinctrl@14010000: failed to match any schema with compatible: ['samsung,exynos5420-pinctrl']
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/pinctrl@3860000: failed to match any schema with compatible: ['samsung,exynos5420-pinctrl']
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/adma@3880000: failed to match any schema with compatible: ['arm,pl330', 'arm,primecell']
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/pdma@121a0000: failed to match any schema with compatible: ['arm,pl330', 'arm,primecell']
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/pdma@121b0000: failed to match any schema with compatible: ['arm,pl330', 'arm,primecell']
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/mdma@10800000: failed to match any schema with compatible: ['arm,pl330', 'arm,primecell']
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/mdma@11c10000: failed to match any schema with compatible: ['arm,pl330', 'arm,primecell']
>> arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml: i2s@3830000: 'assigned-clock-rates' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/sound/samsung-i2s.yaml
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/spi@12d20000: failed to match any schema with compatible: ['samsung,exynos4210-spi']
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/spi@12d30000: failed to match any schema with compatible: ['samsung,exynos4210-spi']
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/spi@12d40000: failed to match any schema with compatible: ['samsung,exynos4210-spi']
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/dp-video-phy: failed to match any schema with compatible: ['samsung,exynos5420-dp-video-phy']
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/mipi-video-phy: failed to match any schema with compatible: ['samsung,s5pv210-mipi-video-phy']
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/dsi@14500000: failed to match any schema with compatible: ['samsung,exynos5410-mipi-dsi']
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/i2c@12e00000: failed to match any schema with compatible: ['samsung,exynos5250-hsi2c']
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/i2c@12e10000: failed to match any schema with compatible: ['samsung,exynos5250-hsi2c']
arch/arm/boot/dts/exynos5422-odroidxu3.dt.yaml:0:0: /soc/i2c@12e20000: failed to match any schema with compatible: ['samsung,exynos5250-hsi2c']
--
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/pinctrl@13400000/wakeup-interrupt-controller: failed to match any schema with compatible: ['samsung,exynos4210-wakeup-eint']
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/pinctrl@13410000: failed to match any schema with compatible: ['samsung,exynos5420-pinctrl']
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/pinctrl@14000000: failed to match any schema with compatible: ['samsung,exynos5420-pinctrl']
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/pinctrl@14010000: failed to match any schema with compatible: ['samsung,exynos5420-pinctrl']
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/pinctrl@3860000: failed to match any schema with compatible: ['samsung,exynos5420-pinctrl']
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/adma@3880000: failed to match any schema with compatible: ['arm,pl330', 'arm,primecell']
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/pdma@121a0000: failed to match any schema with compatible: ['arm,pl330', 'arm,primecell']
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/pdma@121b0000: failed to match any schema with compatible: ['arm,pl330', 'arm,primecell']
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/mdma@10800000: failed to match any schema with compatible: ['arm,pl330', 'arm,primecell']
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/mdma@11c10000: failed to match any schema with compatible: ['arm,pl330', 'arm,primecell']
>> arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml: i2s@3830000: 'assigned-clock-rates' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/sound/samsung-i2s.yaml
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/spi@12d20000: failed to match any schema with compatible: ['samsung,exynos4210-spi']
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/spi@12d30000: failed to match any schema with compatible: ['samsung,exynos4210-spi']
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/spi@12d40000: failed to match any schema with compatible: ['samsung,exynos4210-spi']
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/dp-video-phy: failed to match any schema with compatible: ['samsung,exynos5420-dp-video-phy']
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/mipi-video-phy: failed to match any schema with compatible: ['samsung,s5pv210-mipi-video-phy']
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/dsi@14500000: failed to match any schema with compatible: ['samsung,exynos5410-mipi-dsi']
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/i2c@12e00000: failed to match any schema with compatible: ['samsung,exynos5250-hsi2c']
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/i2c@12e10000: failed to match any schema with compatible: ['samsung,exynos5250-hsi2c']
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dt.yaml:0:0: /soc/i2c@12e20000: failed to match any schema with compatible: ['samsung,exynos5250-hsi2c']
--
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/pinctrl@13400000/wakeup-interrupt-controller: failed to match any schema with compatible: ['samsung,exynos4210-wakeup-eint']
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/pinctrl@13410000: failed to match any schema with compatible: ['samsung,exynos5420-pinctrl']
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/pinctrl@14000000: failed to match any schema with compatible: ['samsung,exynos5420-pinctrl']
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/pinctrl@14010000: failed to match any schema with compatible: ['samsung,exynos5420-pinctrl']
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/pinctrl@3860000: failed to match any schema with compatible: ['samsung,exynos5420-pinctrl']
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/adma@3880000: failed to match any schema with compatible: ['arm,pl330', 'arm,primecell']
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/pdma@121a0000: failed to match any schema with compatible: ['arm,pl330', 'arm,primecell']
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/pdma@121b0000: failed to match any schema with compatible: ['arm,pl330', 'arm,primecell']
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/mdma@10800000: failed to match any schema with compatible: ['arm,pl330', 'arm,primecell']
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/mdma@11c10000: failed to match any schema with compatible: ['arm,pl330', 'arm,primecell']
>> arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml: i2s@3830000: 'assigned-clock-rates' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/sound/samsung-i2s.yaml
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/spi@12d20000: failed to match any schema with compatible: ['samsung,exynos4210-spi']
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/spi@12d30000: failed to match any schema with compatible: ['samsung,exynos4210-spi']
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/spi@12d40000: failed to match any schema with compatible: ['samsung,exynos4210-spi']
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/dp-video-phy: failed to match any schema with compatible: ['samsung,exynos5420-dp-video-phy']
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/mipi-video-phy: failed to match any schema with compatible: ['samsung,s5pv210-mipi-video-phy']
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/dsi@14500000: failed to match any schema with compatible: ['samsung,exynos5410-mipi-dsi']
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/i2c@12e00000: failed to match any schema with compatible: ['samsung,exynos5250-hsi2c']
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/i2c@12e10000: failed to match any schema with compatible: ['samsung,exynos5250-hsi2c']
arch/arm/boot/dts/exynos5422-odroidxu4.dt.yaml:0:0: /soc/i2c@12e20000: failed to match any schema with compatible: ['samsung,exynos5250-hsi2c']
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
7 months, 4 weeks
[ti:ti-rt-linux-5.10.y 8457/9999] drivers/media/platform/vxe-vxd/decoder/vxd_v4l2.c:714:36: error: implicit declaration of function 'phys_to_page'; did you mean 'pfn_to_page'?
by kernel test robot
Hi Sidraya,
First bad commit (maybe != root cause):
tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.10.y
head: d19d8f329cd20e1e2d14f30ed08d6a1164e6e9d9
commit: 97dfdd999ba7266785579c99c40a3c65e63e864a [8457/9999] media: platform: vxd: Kconfig: Add Video decoder Kconfig and Makefile
config: parisc-allyesconfig (https://download.01.org/0day-ci/archive/20220125/202201250439.tpEqvG2U-lk...)
compiler: hppa-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git fetch --no-tags ti ti-rt-linux-5.10.y
git checkout 97dfdd999ba7266785579c99c40a3c65e63e864a
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=parisc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/media/platform/vxe-vxd/decoder/vxd_v4l2.c: In function 'vxd_dec_buf_prepare':
>> drivers/media/platform/vxe-vxd/decoder/vxd_v4l2.c:714:36: error: implicit declaration of function 'phys_to_page'; did you mean 'pfn_to_page'? [-Werror=implicit-function-declaration]
714 | new_page = phys_to_page(vb2_dma_contig_plane_dma_addr(vb, plane));
| ^~~~~~~~~~~~
| pfn_to_page
drivers/media/platform/vxe-vxd/decoder/vxd_v4l2.c:714:34: warning: assignment to 'struct page *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
714 | new_page = phys_to_page(vb2_dma_contig_plane_dma_addr(vb, plane));
| ^
drivers/media/platform/vxe-vxd/decoder/vxd_v4l2.c:620:13: warning: variable 'pages' set but not used [-Wunused-but-set-variable]
620 | int pages;
| ^~~~~
In file included from drivers/media/platform/vxe-vxd/decoder/vxd_props.h:19,
from drivers/media/platform/vxe-vxd/decoder/decoder.h:29,
from drivers/media/platform/vxe-vxd/decoder/core.h:20,
from drivers/media/platform/vxe-vxd/decoder/vxd_v4l2.c:53:
At top level:
drivers/media/platform/vxe-vxd/common/imgmmu.h:65:28: warning: 'VIRT_DIR_IDX_MASK' defined but not used [-Wunused-const-variable=]
65 | static const unsigned long VIRT_DIR_IDX_MASK = (~((1 << MMU_DIR_SHIFT) - 1));
| ^~~~~~~~~~~~~~~~~
drivers/media/platform/vxe-vxd/common/imgmmu.h:62:28: warning: 'VIRT_PAGE_TBL_MASK' defined but not used [-Wunused-const-variable=]
62 | static const unsigned long VIRT_PAGE_TBL_MASK =
| ^~~~~~~~~~~~~~~~~~
drivers/media/platform/vxe-vxd/common/imgmmu.h:60:28: warning: 'VIRT_PAGE_OFF_MASK' defined but not used [-Wunused-const-variable=]
60 | static const unsigned long VIRT_PAGE_OFF_MASK = ((1 << MMU_PAGE_SHIFT) - 1);
| ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +714 drivers/media/platform/vxe-vxd/decoder/vxd_v4l2.c
cab68dd5406350 Sidraya 2021-11-02 606
cab68dd5406350 Sidraya 2021-11-02 607 static int vxd_dec_buf_prepare(struct vb2_buffer *vb)
cab68dd5406350 Sidraya 2021-11-02 608 {
cab68dd5406350 Sidraya 2021-11-02 609 struct vxd_dec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
cab68dd5406350 Sidraya 2021-11-02 610 struct device *dev = ctx->dev->dev;
cab68dd5406350 Sidraya 2021-11-02 611 struct vxd_dec_q_data *q_data;
cab68dd5406350 Sidraya 2021-11-02 612 void *sgt;
cab68dd5406350 Sidraya 2021-11-02 613 #ifdef CAPTURE_CONTIG_ALLOC
cab68dd5406350 Sidraya 2021-11-02 614 struct page *new_page;
cab68dd5406350 Sidraya 2021-11-02 615 #else
cab68dd5406350 Sidraya 2021-11-02 616 void *sgl;
cab68dd5406350 Sidraya 2021-11-02 617 #endif
cab68dd5406350 Sidraya 2021-11-02 618 struct sg_table *sgt_new;
cab68dd5406350 Sidraya 2021-11-02 619 void *sgl_new;
cab68dd5406350 Sidraya 2021-11-02 620 int pages;
cab68dd5406350 Sidraya 2021-11-02 621 int nents = 0;
cab68dd5406350 Sidraya 2021-11-02 622 int size = 0;
cab68dd5406350 Sidraya 2021-11-02 623 int plane, num_planes, ret = 0;
cab68dd5406350 Sidraya 2021-11-02 624 struct vxd_buffer *buf =
cab68dd5406350 Sidraya 2021-11-02 625 container_of(vb, struct vxd_buffer, buffer.vb.vb2_buf);
cab68dd5406350 Sidraya 2021-11-02 626
cab68dd5406350 Sidraya 2021-11-02 627 q_data = get_q_data(ctx, vb->vb2_queue->type);
cab68dd5406350 Sidraya 2021-11-02 628 if (!q_data)
cab68dd5406350 Sidraya 2021-11-02 629 return -EINVAL;
cab68dd5406350 Sidraya 2021-11-02 630
cab68dd5406350 Sidraya 2021-11-02 631 num_planes = q_data->fmt->num_planes;
cab68dd5406350 Sidraya 2021-11-02 632
cab68dd5406350 Sidraya 2021-11-02 633 for (plane = 0; plane < num_planes; plane++) {
cab68dd5406350 Sidraya 2021-11-02 634 if (vb2_plane_size(vb, plane) < q_data->size_image[plane]) {
cab68dd5406350 Sidraya 2021-11-02 635 dev_err(dev, "data will not fit into plane (%lu < %lu)\n",
cab68dd5406350 Sidraya 2021-11-02 636 vb2_plane_size(vb, plane),
cab68dd5406350 Sidraya 2021-11-02 637 (long)q_data->size_image[plane]);
cab68dd5406350 Sidraya 2021-11-02 638 return -EINVAL;
cab68dd5406350 Sidraya 2021-11-02 639 }
cab68dd5406350 Sidraya 2021-11-02 640 }
cab68dd5406350 Sidraya 2021-11-02 641
cab68dd5406350 Sidraya 2021-11-02 642 if (buf->mapped)
cab68dd5406350 Sidraya 2021-11-02 643 return 0;
cab68dd5406350 Sidraya 2021-11-02 644
cab68dd5406350 Sidraya 2021-11-02 645 buf->buf_info.cpu_linear_addr = vb2_plane_vaddr(vb, 0);
cab68dd5406350 Sidraya 2021-11-02 646 buf->buf_info.buf_size = vb2_plane_size(vb, 0);
cab68dd5406350 Sidraya 2021-11-02 647 buf->buf_info.fd = -1;
cab68dd5406350 Sidraya 2021-11-02 648 sgt = vb2_dma_sg_plane_desc(vb, 0);
cab68dd5406350 Sidraya 2021-11-02 649 if (!sgt) {
cab68dd5406350 Sidraya 2021-11-02 650 dev_err(dev, "Could not get sg_table from plane 0\n");
cab68dd5406350 Sidraya 2021-11-02 651 return -EINVAL;
cab68dd5406350 Sidraya 2021-11-02 652 }
cab68dd5406350 Sidraya 2021-11-02 653
cab68dd5406350 Sidraya 2021-11-02 654 if (V4L2_TYPE_IS_OUTPUT(vb->type)) {
cab68dd5406350 Sidraya 2021-11-02 655 ret = core_stream_map_buf_sg(ctx->res_str_id,
cab68dd5406350 Sidraya 2021-11-02 656 VDEC_BUFTYPE_BITSTREAM,
cab68dd5406350 Sidraya 2021-11-02 657 &buf->buf_info, sgt,
cab68dd5406350 Sidraya 2021-11-02 658 &buf->buf_map_id);
cab68dd5406350 Sidraya 2021-11-02 659 if (ret) {
cab68dd5406350 Sidraya 2021-11-02 660 dev_err(dev, "OUTPUT core_stream_map_buf_sg failed\n");
cab68dd5406350 Sidraya 2021-11-02 661 return ret;
cab68dd5406350 Sidraya 2021-11-02 662 }
cab68dd5406350 Sidraya 2021-11-02 663
cab68dd5406350 Sidraya 2021-11-02 664 buf->bstr_info.buf_size = q_data->size_image[0];
cab68dd5406350 Sidraya 2021-11-02 665 buf->bstr_info.cpu_virt_addr = buf->buf_info.cpu_linear_addr;
cab68dd5406350 Sidraya 2021-11-02 666 buf->bstr_info.mem_attrib =
cab68dd5406350 Sidraya 2021-11-02 667 SYS_MEMATTRIB_UNCACHED | SYS_MEMATTRIB_WRITECOMBINE |
cab68dd5406350 Sidraya 2021-11-02 668 SYS_MEMATTRIB_INPUT | SYS_MEMATTRIB_CPU_WRITE;
cab68dd5406350 Sidraya 2021-11-02 669 buf->bstr_info.bufmap_id = buf->buf_map_id;
cab68dd5406350 Sidraya 2021-11-02 670 lst_init(&buf->seq_unit.bstr_seg_list);
cab68dd5406350 Sidraya 2021-11-02 671 lst_init(&buf->pic_unit.bstr_seg_list);
cab68dd5406350 Sidraya 2021-11-02 672 lst_init(&buf->end_unit.bstr_seg_list);
cab68dd5406350 Sidraya 2021-11-02 673
cab68dd5406350 Sidraya 2021-11-02 674 list_add_tail(&buf->list, &ctx->out_buffers);
cab68dd5406350 Sidraya 2021-11-02 675 } else {
cab68dd5406350 Sidraya 2021-11-02 676 /* Create a single sgt from the plane(s) */
cab68dd5406350 Sidraya 2021-11-02 677 sgt_new = kmalloc(sizeof(*sgt_new), GFP_KERNEL);
cab68dd5406350 Sidraya 2021-11-02 678 if (!sgt_new)
cab68dd5406350 Sidraya 2021-11-02 679 return -EINVAL;
cab68dd5406350 Sidraya 2021-11-02 680
cab68dd5406350 Sidraya 2021-11-02 681 for (plane = 0; plane < num_planes; plane++) {
cab68dd5406350 Sidraya 2021-11-02 682 size += ALIGN(vb2_plane_size(vb, plane), PAGE_SIZE);
cab68dd5406350 Sidraya 2021-11-02 683 sgt = vb2_dma_sg_plane_desc(vb, plane);
cab68dd5406350 Sidraya 2021-11-02 684 if (!sgt) {
cab68dd5406350 Sidraya 2021-11-02 685 dev_err(dev, "Could not get sg_table from plane %d\n", plane);
cab68dd5406350 Sidraya 2021-11-02 686 kfree(sgt_new);
cab68dd5406350 Sidraya 2021-11-02 687 return -EINVAL;
cab68dd5406350 Sidraya 2021-11-02 688 }
cab68dd5406350 Sidraya 2021-11-02 689 #ifdef CAPTURE_CONTIG_ALLOC
cab68dd5406350 Sidraya 2021-11-02 690 nents += 1;
cab68dd5406350 Sidraya 2021-11-02 691 #else
cab68dd5406350 Sidraya 2021-11-02 692 nents += sg_nents(img_mmu_get_sgl(sgt));
cab68dd5406350 Sidraya 2021-11-02 693 #endif
cab68dd5406350 Sidraya 2021-11-02 694 }
cab68dd5406350 Sidraya 2021-11-02 695 buf->buf_info.buf_size = size;
cab68dd5406350 Sidraya 2021-11-02 696
cab68dd5406350 Sidraya 2021-11-02 697 pages = (size + PAGE_SIZE - 1) / PAGE_SIZE;
cab68dd5406350 Sidraya 2021-11-02 698 ret = sg_alloc_table(sgt_new, nents, GFP_KERNEL);
cab68dd5406350 Sidraya 2021-11-02 699 if (ret) {
cab68dd5406350 Sidraya 2021-11-02 700 kfree(sgt_new);
cab68dd5406350 Sidraya 2021-11-02 701 return -EINVAL;
cab68dd5406350 Sidraya 2021-11-02 702 }
cab68dd5406350 Sidraya 2021-11-02 703 sgl_new = img_mmu_get_sgl(sgt_new);
cab68dd5406350 Sidraya 2021-11-02 704
cab68dd5406350 Sidraya 2021-11-02 705 for (plane = 0; plane < num_planes; plane++) {
cab68dd5406350 Sidraya 2021-11-02 706 sgt = vb2_dma_sg_plane_desc(vb, plane);
cab68dd5406350 Sidraya 2021-11-02 707 if (!sgt) {
cab68dd5406350 Sidraya 2021-11-02 708 dev_err(dev, "Could not get sg_table from plane %d\n", plane);
cab68dd5406350 Sidraya 2021-11-02 709 sg_free_table(sgt_new);
cab68dd5406350 Sidraya 2021-11-02 710 kfree(sgt_new);
cab68dd5406350 Sidraya 2021-11-02 711 return -EINVAL;
cab68dd5406350 Sidraya 2021-11-02 712 }
cab68dd5406350 Sidraya 2021-11-02 713 #ifdef CAPTURE_CONTIG_ALLOC
cab68dd5406350 Sidraya 2021-11-02 @714 new_page = phys_to_page(vb2_dma_contig_plane_dma_addr(vb, plane));
cab68dd5406350 Sidraya 2021-11-02 715 sg_set_page(sgl_new, new_page, ALIGN(vb2_plane_size(vb, plane),
cab68dd5406350 Sidraya 2021-11-02 716 PAGE_SIZE), 0);
cab68dd5406350 Sidraya 2021-11-02 717 sgl_new = sg_next(sgl_new);
cab68dd5406350 Sidraya 2021-11-02 718 #else
cab68dd5406350 Sidraya 2021-11-02 719 sgl = img_mmu_get_sgl(sgt);
cab68dd5406350 Sidraya 2021-11-02 720
cab68dd5406350 Sidraya 2021-11-02 721 while (sgl) {
cab68dd5406350 Sidraya 2021-11-02 722 sg_set_page(sgl_new, sg_page(sgl), img_mmu_get_sgl_length(sgl), 0);
cab68dd5406350 Sidraya 2021-11-02 723 sgl = sg_next(sgl);
cab68dd5406350 Sidraya 2021-11-02 724 sgl_new = sg_next(sgl_new);
cab68dd5406350 Sidraya 2021-11-02 725 }
cab68dd5406350 Sidraya 2021-11-02 726 #endif
cab68dd5406350 Sidraya 2021-11-02 727 }
cab68dd5406350 Sidraya 2021-11-02 728
cab68dd5406350 Sidraya 2021-11-02 729 buf->buf_info.pictbuf_cfg = ctx->pict_bufcfg;
cab68dd5406350 Sidraya 2021-11-02 730 ret = core_stream_map_buf_sg(ctx->res_str_id,
cab68dd5406350 Sidraya 2021-11-02 731 VDEC_BUFTYPE_PICTURE,
cab68dd5406350 Sidraya 2021-11-02 732 &buf->buf_info, sgt_new,
cab68dd5406350 Sidraya 2021-11-02 733 &buf->buf_map_id);
cab68dd5406350 Sidraya 2021-11-02 734 sg_free_table(sgt_new);
cab68dd5406350 Sidraya 2021-11-02 735 kfree(sgt_new);
cab68dd5406350 Sidraya 2021-11-02 736 if (ret) {
cab68dd5406350 Sidraya 2021-11-02 737 dev_err(dev, "CAPTURE core_stream_map_buf_sg failed\n");
cab68dd5406350 Sidraya 2021-11-02 738 return ret;
cab68dd5406350 Sidraya 2021-11-02 739 }
cab68dd5406350 Sidraya 2021-11-02 740 list_add_tail(&buf->list, &ctx->cap_buffers);
cab68dd5406350 Sidraya 2021-11-02 741 }
cab68dd5406350 Sidraya 2021-11-02 742 buf->mapped = TRUE;
cab68dd5406350 Sidraya 2021-11-02 743 buf->reuse = TRUE;
cab68dd5406350 Sidraya 2021-11-02 744
cab68dd5406350 Sidraya 2021-11-02 745 return 0;
cab68dd5406350 Sidraya 2021-11-02 746 }
cab68dd5406350 Sidraya 2021-11-02 747
:::::: The code at line 714 was first introduced by commit
:::::: cab68dd5406350efd2567bed47586c0a82940f40 v4l: Add V4L2 Interface function implementations
:::::: TO: Sidraya <sidraya.bj(a)pathpartnertech.com>
:::::: CC: Praneeth Bajjuri <praneeth(a)ti.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
7 months, 4 weeks