drivers/net/ethernet/chelsio/cxgb4/sge.c:2571 cxgb4_ethofld_send_flowc() warn: missing error code 'ret'
by Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 79160a603bdb51916226caf4a6616cc4e1c58a58
commit: 52bfcdd87e83d9e69d22da5f26b1512ffc81deed net:CXGB4: fix leak if sk_buff is not used
config: x86_64-randconfig-m001-20210706 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Reported-by: Dan Carpenter <dan.carpenter(a)oracle.com>
New smatch warnings:
drivers/net/ethernet/chelsio/cxgb4/sge.c:2571 cxgb4_ethofld_send_flowc() warn: missing error code 'ret'
vim +/ret +2571 drivers/net/ethernet/chelsio/cxgb4/sge.c
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2535 int cxgb4_ethofld_send_flowc(struct net_device *dev, u32 eotid, u32 tc)
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2536 {
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2537 struct port_info *pi = netdev2pinfo(dev);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2538 struct adapter *adap = netdev2adap(dev);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2539 enum sge_eosw_state next_state;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2540 struct sge_eosw_txq *eosw_txq;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2541 u32 len, len16, nparams = 6;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2542 struct fw_flowc_wr *flowc;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2543 struct eotid_entry *entry;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2544 struct sge_ofld_rxq *rxq;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2545 struct sk_buff *skb;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2546 int ret = 0;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2547
a422d5ff6defb1 Gustavo A. R. Silva 2020-06-19 2548 len = struct_size(flowc, mnemval, nparams);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2549 len16 = DIV_ROUND_UP(len, 16);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2550
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2551 entry = cxgb4_lookup_eotid(&adap->tids, eotid);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2552 if (!entry)
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2553 return -ENOMEM;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2554
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2555 eosw_txq = (struct sge_eosw_txq *)entry->data;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2556 if (!eosw_txq)
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2557 return -ENOMEM;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2558
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2559 skb = alloc_skb(len, GFP_KERNEL);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2560 if (!skb)
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2561 return -ENOMEM;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2562
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2563 spin_lock_bh(&eosw_txq->lock);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2564 if (tc != FW_SCHED_CLS_NONE) {
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2565 if (eosw_txq->state != CXGB4_EO_STATE_CLOSED)
52bfcdd87e83d9 Íñigo Huguet 2021-05-05 2566 goto out_free_skb;
^^^^^^^^^^^^^^^^^
Are these error paths?
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2567
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2568 next_state = CXGB4_EO_STATE_FLOWC_OPEN_SEND;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2569 } else {
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2570 if (eosw_txq->state != CXGB4_EO_STATE_ACTIVE)
52bfcdd87e83d9 Íñigo Huguet 2021-05-05 @2571 goto out_free_skb;
Here too
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2572
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2573 next_state = CXGB4_EO_STATE_FLOWC_CLOSE_SEND;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2574 }
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2575
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2576 flowc = __skb_put(skb, len);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2577 memset(flowc, 0, len);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2578
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2579 rxq = &adap->sge.eohw_rxq[eosw_txq->hwqid];
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2580 flowc->flowid_len16 = cpu_to_be32(FW_WR_LEN16_V(len16) |
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2581 FW_WR_FLOWID_V(eosw_txq->hwtid));
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2582 flowc->op_to_nparams = cpu_to_be32(FW_WR_OP_V(FW_FLOWC_WR) |
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2583 FW_FLOWC_WR_NPARAMS_V(nparams) |
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2584 FW_WR_COMPL_V(1));
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2585 flowc->mnemval[0].mnemonic = FW_FLOWC_MNEM_PFNVFN;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2586 flowc->mnemval[0].val = cpu_to_be32(FW_PFVF_CMD_PFN_V(adap->pf));
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2587 flowc->mnemval[1].mnemonic = FW_FLOWC_MNEM_CH;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2588 flowc->mnemval[1].val = cpu_to_be32(pi->tx_chan);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2589 flowc->mnemval[2].mnemonic = FW_FLOWC_MNEM_PORT;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2590 flowc->mnemval[2].val = cpu_to_be32(pi->tx_chan);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2591 flowc->mnemval[3].mnemonic = FW_FLOWC_MNEM_IQID;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2592 flowc->mnemval[3].val = cpu_to_be32(rxq->rspq.abs_id);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2593 flowc->mnemval[4].mnemonic = FW_FLOWC_MNEM_SCHEDCLASS;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2594 flowc->mnemval[4].val = cpu_to_be32(tc);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2595 flowc->mnemval[5].mnemonic = FW_FLOWC_MNEM_EOSTATE;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2596 flowc->mnemval[5].val = cpu_to_be32(tc == FW_SCHED_CLS_NONE ?
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2597 FW_FLOWC_MNEM_EOSTATE_CLOSING :
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2598 FW_FLOWC_MNEM_EOSTATE_ESTABLISHED);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2599
69422a7e5d578a Rahul Lakkireddy 2020-04-30 2600 /* Free up any pending skbs to ensure there's room for
69422a7e5d578a Rahul Lakkireddy 2020-04-30 2601 * termination FLOWC.
69422a7e5d578a Rahul Lakkireddy 2020-04-30 2602 */
69422a7e5d578a Rahul Lakkireddy 2020-04-30 2603 if (tc == FW_SCHED_CLS_NONE)
69422a7e5d578a Rahul Lakkireddy 2020-04-30 2604 eosw_txq_flush_pending_skbs(eosw_txq);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2605
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2606 ret = eosw_txq_enqueue(eosw_txq, skb);
52bfcdd87e83d9 Íñigo Huguet 2021-05-05 2607 if (ret)
52bfcdd87e83d9 Íñigo Huguet 2021-05-05 2608 goto out_free_skb;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2609
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2610 eosw_txq->state = next_state;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2611 eosw_txq->flowc_idx = eosw_txq->pidx;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2612 eosw_txq_advance(eosw_txq, 1);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2613 ethofld_xmit(dev, eosw_txq);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2614
52bfcdd87e83d9 Íñigo Huguet 2021-05-05 2615 spin_unlock_bh(&eosw_txq->lock);
52bfcdd87e83d9 Íñigo Huguet 2021-05-05 2616 return 0;
52bfcdd87e83d9 Íñigo Huguet 2021-05-05 2617
52bfcdd87e83d9 Íñigo Huguet 2021-05-05 2618 out_free_skb:
52bfcdd87e83d9 Íñigo Huguet 2021-05-05 2619 dev_consume_skb_any(skb);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2620 spin_unlock_bh(&eosw_txq->lock);
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2621 return ret;
0e395b3cb1fb82 Rahul Lakkireddy 2019-11-07 2622 }
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
3 months, 2 weeks
Online Service Provider
by flora davis
If you are facing any issues regarding Bitdefender, Garmin, Rand McNally dock , ij.start.cannon , AOL Mail , network privacy shield , Cash app login , netgear extender setup , www.amazon.com/mytv , my.avast.com , Roadrunner Email , TomTom Home , 123.hp.com , Avast download , Office 365 login ,belkin range Webroot Download , Extender.linksys.com Avast support , HP Printer support , BT Mail and Mywifiext you will get an instant online solution. For more details visit this link which is given below:
http://bitdefender-centrals.com/
http://randmcnallydockz.com/
http://ijstartcanonn.com/
http://garmincomexpress.live/
http://myaolmailx.com/
http://www.driversandshield.com/network-privacy-shield/
http://technicalserviceprovider5.blogspot.com/
http://bitdefendercentral7.blogspot.com/
http://sites.google.com/view/bitdefendercentralx/home
http://sites.google.com/view/garmin-dot-com-slash-express/home
http://garmindotcomexpress.blogspot.com/
http://randmcnallydock5.blogspot.com/
http://sites.google.com/view/install-rand-mcnally-dock/home?authuser=1
http://sites.google.com/site/ijstartcannon55/
http://ijstartcannon5.blogspot.com/
http://sites.google.com/d/1bJc_3UKFx7SIFYgNgCBtoffLign8Z5QG/p/1vVJ3igXjnd...
http://aolmail5.blogspot.com
http://sites.google.com/view/cash-app-login-usa
http://sites.google.com/view/netgear-extender-setup-us
http://sites.google.com/view/wwwamazoncommytv-code
http://sites.google.com/view/myavastcom-guide
http://sites.google.com/view/myroadrunneremail
http://sites.google.com/view/tomtomhome-help
http://sites.google.com/view/123hpcomsetup-now
http://sites.google.com/view/avast-download-now
http://sites.google.com/view/office365loginnow
http://sites.google.com/view/belkinrangeguide
http://sites.google.com/view/webrootdownload-now
http://sites.google.com/view/extenderlinksys-com
http://contactassistance.com/avast-support/
http://contactassistance.com/hp-printer-support/
http://sites.google.com/view/btmail-uk
https://flora.wgz.cz/rubriky/sluzby/online-service-provider
http://www.good-tutorials.com/users/florina
https://duckduckgo.com/?q=+http%3A%2F%2Fbitdefender-centrals.com%2F&t=hy&...
https://visual.ly/community/Others/technology/online-service-provider
https://career.habr.com/shashi-gandhi
https://pinshape.com/users/859867-flora#designs-tab-open
https://www.sbnation.com/users/floradavis
https://www.polygon.com/users/floradavis
https://www.intothecalderon.com/users/floradavis
https://www.sbnation.com/users/floradavis
https://www.rumbleinthegarden.com/users/floradavis/
https://www.nucksmisconduct.com/users/floradavis
https://www.bringonthecats.com/users/floradavis/
https://www.hottimeinoldtown.com/users/floradavis
https://www.collegecrosse.com/users/floradavis
https://www.anaheimcalling.com/users/floradavis
https://www.serpentsofmadonnina.com/users/floradavis
https://www.anonymouseagle.com/users/floradavis
https://www.downthedrive.com/users/floradavis
https://www.villarrealusa.com/users/floradavis
https://www.minerrush.com/users/floradavis
https://muabs.com/profile/flora/
https://pastelink.net/3ddan
https://www.forexfactory.com/floradavis
https://www.ted.com/profiles/22168479
https://amara.org/en/profiles/profile/XL5RMz0LjLvWYg0Gm8p8ld7xH-Lo60pJIZV...
https://demodrop.com/user/789446
https://creator.wonderhowto.com/floradavis/
http://diendan.lyhocdongphuong.org.vn/profile/54229-flora/?tab=field_core...
https://repositorio.cnmp.mp.br/snippets/502
https://www.myinfer.com/services/technology/chelannur/online-service-prov...
http://trvl.uz/members/flora.38269/#about
https://forum.igrowgame.co.uk/index.php?action=profile;area=summary;u=419
https://forum.rogalia.ru/user/flora
https://hasster.com/flora
https://openspaces.platoniq.net/profiles/flora/timeline?locale=en
https://www.chandigarhcity.com/groups/online-service-provider-1782056784/
http://www.renexus.org/network/read-blog/2510
https://social.artisanssoft.com/read-blog/2925
https://corosocial.com/flora
https://kaalama.org/read-blog/37986
https://fireland.aliv.us/read-blog/964
https://uconnect.ae/flora
https://selfieoo.com/flora
https://www.promorapid.com/read-blog/51070
https://www.social-vape.com/read-blog/39863
https://worlegram.com/read-blog/9179
https://acrochat.com/read-blog/54979
https://weoneit.com/flora
https://www.ihker.com/flora
https://cliqafriq.com/read-blog/86887
https://www.buzzbii.com/flora
https://chikkahub.com/read-blog/11981
https://heroes.app/flora
http://lifestory.roleplayproject.com/floradavis
https://trumpbookusa.com/floradavis
https://www.recentstatus.com/flora
https://www.login-faq.com/http:--bitdefender-centrals.com-/
https://linkorado.com/browse/computers/software/
https://quisitio.com/go?ss=sb&q=http%3A%2F%2Fbitdefender-centrals.com%2F
https://www.webscan.cc/site_bitdefender-centrals.com/
https://sakyant.org/http-bitdefender-centralscom-
https://loguk.de/search.php?c=http%3A%2F%2Fbitdefender-centrals.com%2F
https://newnationnews.org/centrals/http-bitdefender-centrals-com-4002860
https://www.widerightnattylite.com/users/floradavis
https://www.ubbullrun.com/users/floradavis/
https://www.nevermanagealone.com/users/floradavis
https://www.againstallenemies.com/users/floradavis/
https://www.frogsowar.com/users/floradavis/
https://www.ourdailybears.com/users/floradavis
https://www.ruleoftree.com/users/floradavis
https://www.ralphiereport.com/users/floradavis
https://www.thechampaignroom.com/users/floradavis
https://www.onefootdown.com/users/floradavis
https://www.casualhoya.com/users/floradavis
https://www.rockchalktalk.com/users/floradavis
https://www.pacifictakes.com/users/floradavis
https://www.conquestchronicles.com/users/floradavis
https://www.crimsonquarry.com/users/floradavis
https://www.vanquishthefoe.com/users/floradavis
https://www.gobblercountry.com/users/floradavis
https://www.forwhomthecowbelltolls.com/users/floradavis
https://www.underdogdynasty.com/users/floradavis
https://www.slipperstillfits.com/users/floradavis
5 months, 1 week
[aa:mapcount_deshare 20/27] mm/gup.c:2756:3: error: implicit declaration of function 'mm_set_has_pinned_flag'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/andrea/aa.git mapcount_deshare
head: 3e2f198cce0c1792ad71d6d81974b091019b6483
commit: 8dec302e87453234fc7ac1cf4d09e4d577a06cf3 [20/27] mm: gup: pack has_pinned in MMF_HAS_PINNED
config: arm-randconfig-r014-20210511 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a0fed635fe1701470062495a6ffee1c608f3f1bc)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/andrea/aa.git/commit/?id=...
git remote add aa https://git.kernel.org/pub/scm/linux/kernel/git/andrea/aa.git
git fetch --no-tags aa mapcount_deshare
git checkout 8dec302e87453234fc7ac1cf4d09e4d577a06cf3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm
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 >>):
>> mm/gup.c:2756:3: error: implicit declaration of function 'mm_set_has_pinned_flag' [-Werror,-Wimplicit-function-declaration]
mm_set_has_pinned_flag(¤t->mm->flags);
^
1 error generated.
vim +/mm_set_has_pinned_flag +2756 mm/gup.c
2740
2741 static int internal_get_user_pages_fast(unsigned long start,
2742 unsigned long nr_pages,
2743 unsigned int gup_flags,
2744 struct page **pages)
2745 {
2746 unsigned long len, end;
2747 unsigned long nr_pinned;
2748 int ret;
2749
2750 if (WARN_ON_ONCE(gup_flags & ~(FOLL_WRITE | FOLL_LONGTERM |
2751 FOLL_FORCE | FOLL_PIN | FOLL_GET |
2752 FOLL_FAST_ONLY)))
2753 return -EINVAL;
2754
2755 if (gup_flags & FOLL_PIN)
> 2756 mm_set_has_pinned_flag(¤t->mm->flags);
2757
2758 if (!(gup_flags & FOLL_FAST_ONLY))
2759 might_lock_read(¤t->mm->mmap_lock);
2760
2761 start = untagged_addr(start) & PAGE_MASK;
2762 len = nr_pages << PAGE_SHIFT;
2763 if (check_add_overflow(start, len, &end))
2764 return 0;
2765 if (unlikely(!access_ok((void __user *)start, len)))
2766 return -EFAULT;
2767
2768 nr_pinned = lockless_pages_from_mm(start, end, gup_flags, pages);
2769 if (nr_pinned == nr_pages || gup_flags & FOLL_FAST_ONLY)
2770 return nr_pinned;
2771
2772 /* Slow path: try to get the remaining pages with get_user_pages */
2773 start += nr_pinned << PAGE_SHIFT;
2774 pages += nr_pinned;
2775 ret = __gup_longterm_unlocked(start, nr_pages - nr_pinned, gup_flags,
2776 pages);
2777 if (ret < 0) {
2778 /*
2779 * The caller has to unpin the pages we already pinned so
2780 * returning -errno is not an option
2781 */
2782 if (nr_pinned)
2783 return nr_pinned;
2784 return ret;
2785 }
2786 return ret + nr_pinned;
2787 }
2788
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
6 months, 1 week
[PATCH v4 0/3] Add ilitek ili9341 panel driver
by dillon.minfei@gmail.com
From: Dillon Min <dillon.minfei(a)gmail.com>
Since the st,sf-tc240t-9370-t dts binding already exist in stm32f429-disco.dts
but, the panel driver didn't get accepted from mainline. it's time to submit
patch fot it.
This driver can support two different interface by different dts bindings:
- spi+dpi, use spi to configure register, dpi for graphic data.
st,sf-tc240t-9370-t
- only spi, just like tiny/ili9341.c (actually, this part is copy from tiny)
adafruit,yx240qv29
I was submited the first patch last year, you can find it at [1].
this patch has one major difference from that one, which is replace the low
level communication way, from spi_sync() to mipi_dbi_{command,
command_stackbuf}() interface, referred from Linus's patch [2].
both the two dpi/dbi interface was tested on stm32f429-disco board, if anyone
want to verify this patch, you need apply the clk patch for this board first,
you can get it from [3].
[1] "drm/panel: Add ilitek ili9341 panel driver"
https://lore.kernel.org/lkml/1590378348-8115-7-git-send-email-dillon.minf...
[2] "drm/panel: s6e63m0: Switch to DBI abstraction for SPI"
https://lore.kernel.org/dri-devel/20210611214243.669892-1-linus.walleij@l...
[3]
https://lore.kernel.org/lkml/1590378348-8115-6-git-send-email-dillon.minf...
v4:
- fix m68k-allmodconfig build error which reported by lkp, thanks.
- add Copyright 2018 David Lechner <david(a)lechnology.com>.
v3 link:
https://lore.kernel.org/lkml/1627013203-23099-1-git-send-email-dillon.min...
v3:
- add Fixes tags.
- collect reviewed-by tags from linus and jagan.
- replace DRM_ERROR() with dev_err() or drm_err().
- remove kernel-doc markers from struct ili9341_config{}.
- reorder include headers.
- remove the struct device *dev from struct ili9341{}.
- restructure the ili9341_probe() function, add two ili9341_{dbi,dpi)_probe()
to make it more readable according to jagan's suggestion, thanks.
for the full drm driver exist in drm/panel need Sam and Laurent's feedback.
so, not cover this part at this time, will be update later.
v2 link:
https://lore.kernel.org/lkml/1626853288-31223-1-git-send-email-dillon.min...
v2:
- replace vcc regulator to bulk regulators in driver, from linus suggestion.
- fix dtbs_check warnings on ili9341 dts binding check.
- add bulk regulation node in ilitek,ili9341.yaml.
v1 link:
https://lore.kernel.org/lkml/1626430843-23823-1-git-send-email-dillon.min...
Dillon Min (3):
dt-bindings: display: panel: Add ilitek ili9341 panel bindings
ARM: dts: stm32: fix dtbs_check warning on ili9341 dts binding
drm/panel: Add ilitek ili9341 panel driver
.../bindings/display/panel/ilitek,ili9341.yaml | 78 ++
arch/arm/boot/dts/stm32f429-disco.dts | 2 +-
drivers/gpu/drm/panel/Kconfig | 12 +
drivers/gpu/drm/panel/Makefile | 1 +
drivers/gpu/drm/panel/panel-ilitek-ili9341.c | 792 +++++++++++++++++++++
5 files changed, 884 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml
create mode 100644 drivers/gpu/drm/panel/panel-ilitek-ili9341.c
--
1.9.1
7 months
Re: [PATCH v42 01/13] Linux Random Number Generator
by kernel test robot
Hi "Stephan,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on herbert-crypto-2.6/master]
[cannot apply to char-misc/char-misc-testing herbert-cryptodev-2.6/master v5.15-rc1 next-20210917]
[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/Stephan-M-ller/dev-random-a-new-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git master
config: nds32-allyesconfig (attached as .config)
compiler: nds32le-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/335ce64ab466685e61b363a33a405c9c4...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Stephan-M-ller/dev-random-a-new-approach/20210917-174624
git checkout 335ce64ab466685e61b363a33a405c9c49c7a099
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nds32
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/char/lrng/lrng_chacha20.c:35: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Update of the ChaCha20 state by either using an unused buffer part or by
--
>> drivers/char/lrng/lrng_es_aux.c:185: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Get auxiliary entropy pool and its entropy content for seed buffer.
--
drivers/char/lrng/lrng_es_irq.c:316: warning: Function parameter or member 'node' not described in 'lrng_pcpu_switch_hash'
drivers/char/lrng/lrng_es_irq.c:316: warning: Function parameter or member 'new_cb' not described in 'lrng_pcpu_switch_hash'
drivers/char/lrng/lrng_es_irq.c:316: warning: Function parameter or member 'new_hash' not described in 'lrng_pcpu_switch_hash'
drivers/char/lrng/lrng_es_irq.c:316: warning: Function parameter or member 'old_cb' not described in 'lrng_pcpu_switch_hash'
>> drivers/char/lrng/lrng_es_irq.c:316: warning: expecting prototype for Trigger a switch of the hash implementation for the per(). Prototype was for lrng_pcpu_switch_hash() instead
>> drivers/char/lrng/lrng_es_irq.c:444: warning: expecting prototype for Hash all per(). Prototype was for lrng_pcpu_pool_hash() instead
vim +35 drivers/char/lrng/lrng_chacha20.c
33
34 /**
> 35 * Update of the ChaCha20 state by either using an unused buffer part or by
36 * generating one ChaCha20 block which is half of the state of the ChaCha20.
37 * The block is XORed into the key part of the state. This shall ensure
38 * backtracking resistance as well as a proper mix of the ChaCha20 state once
39 * the key is injected.
40 */
41 static void lrng_chacha20_update(struct chacha20_state *chacha20_state,
42 __le32 *buf, u32 used_words)
43 {
44 struct chacha20_block *chacha20 = &chacha20_state->block;
45 u32 i;
46 __le32 tmp[CHACHA_BLOCK_WORDS];
47
48 BUILD_BUG_ON(sizeof(struct chacha20_block) != CHACHA_BLOCK_SIZE);
49 BUILD_BUG_ON(CHACHA_BLOCK_SIZE != 2 * CHACHA_KEY_SIZE);
50
51 if (used_words > CHACHA_KEY_SIZE_WORDS) {
52 chacha20_block(&chacha20->constants[0], (u8 *)tmp);
53 for (i = 0; i < CHACHA_KEY_SIZE_WORDS; i++)
54 chacha20->key.u[i] ^= le32_to_cpu(tmp[i]);
55 memzero_explicit(tmp, sizeof(tmp));
56 } else {
57 for (i = 0; i < CHACHA_KEY_SIZE_WORDS; i++)
58 chacha20->key.u[i] ^= le32_to_cpu(buf[i + used_words]);
59 }
60
61 /* Deterministic increment of nonce as required in RFC 7539 chapter 4 */
62 chacha20->nonce[0]++;
63 if (chacha20->nonce[0] == 0) {
64 chacha20->nonce[1]++;
65 if (chacha20->nonce[1] == 0)
66 chacha20->nonce[2]++;
67 }
68
69 /* Leave counter untouched as it is start value is undefined in RFC */
70 }
71
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months
[vfio:next 33/38] drivers/gpu/drm/i915/i915_pci.c:975:2: warning: missing field 'override_only' initializer
by kernel test robot
tree: https://github.com/awilliam/linux-vfio.git next
head: ea870730d83fc13a5fa2bd0e175176d7ac8a400a
commit: 343b7258687ecfbb363bfda8833a7cf641aac524 [33/38] PCI: Add 'override_only' field to struct pci_device_id
config: i386-randconfig-a004-20210827 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1076082a0d97bd5c16a25ee7cf3dbb6ee4b5a9fe)
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/awilliam/linux-vfio/commit/343b7258687ecfbb363bfda8833...
git remote add vfio https://github.com/awilliam/linux-vfio.git
git fetch --no-tags vfio next
git checkout 343b7258687ecfbb363bfda8833a7cf641aac524
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=i386
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/gpu/drm/i915/i915_pci.c:953:2: note: previous initialization is here
GEN12_FEATURES,
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:862:2: note: expanded from macro 'GEN12_FEATURES'
GEN11_FEATURES, \
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:833:15: note: expanded from macro 'GEN11_FEATURES'
.dbuf.size = 2048, \
^~~~
drivers/gpu/drm/i915/i915_pci.c:954:2: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
XE_LPD_FEATURES,
^~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:950:21: note: expanded from macro 'XE_LPD_FEATURES'
.dbuf.slice_mask = BIT(DBUF_S1) | BIT(DBUF_S2) | BIT(DBUF_S3) | BIT(DBUF_S4)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/vdso/bits.h:7:19: note: expanded from macro 'BIT'
#define BIT(nr) (UL(1) << (nr))
^
drivers/gpu/drm/i915/i915_pci.c:953:2: note: previous initialization is here
GEN12_FEATURES,
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:862:2: note: expanded from macro 'GEN12_FEATURES'
GEN11_FEATURES, \
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:834:21: note: expanded from macro 'GEN11_FEATURES'
.dbuf.slice_mask = BIT(DBUF_S1) | BIT(DBUF_S2), \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/vdso/bits.h:7:19: note: expanded from macro 'BIT'
#define BIT(nr) (UL(1) << (nr))
^
drivers/gpu/drm/i915/i915_pci.c:960:3: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
BIT(RCS0) | BIT(BCS0) | BIT(VECS0) | BIT(VCS0) | BIT(VCS2),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/vdso/bits.h:7:19: note: expanded from macro 'BIT'
#define BIT(nr) (UL(1) << (nr))
^
drivers/gpu/drm/i915/i915_pci.c:953:2: note: previous initialization is here
GEN12_FEATURES,
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:862:2: note: expanded from macro 'GEN12_FEATURES'
GEN11_FEATURES, \
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:810:2: note: expanded from macro 'GEN11_FEATURES'
GEN10_FEATURES, \
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:791:2: note: expanded from macro 'GEN10_FEATURES'
GEN9_FEATURES, \
^~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
drivers/gpu/drm/i915/i915_pci.c:573:2: note: expanded from macro 'GEN8_FEATURES'
G75_FEATURES, \
^~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:540:26: note: expanded from macro 'G75_FEATURES'
.platform_engine_mask = BIT(RCS0) | BIT(VCS0) | BIT(BCS0) | BIT(VECS0), \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/vdso/bits.h:7:19: note: expanded from macro 'BIT'
#define BIT(nr) (UL(1) << (nr))
^
drivers/gpu/drm/i915/i915_pci.c:961:16: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
.ppgtt_size = 48,
^~
drivers/gpu/drm/i915/i915_pci.c:953:2: note: previous initialization is here
GEN12_FEATURES,
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:862:2: note: expanded from macro 'GEN12_FEATURES'
GEN11_FEATURES, \
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:810:2: note: expanded from macro 'GEN11_FEATURES'
GEN10_FEATURES, \
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:791:2: note: expanded from macro 'GEN10_FEATURES'
GEN9_FEATURES, \
^~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:643:2: note: expanded from macro 'GEN9_FEATURES'
GEN8_FEATURES, \
^~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:578:16: note: expanded from macro 'GEN8_FEATURES'
.ppgtt_size = 48, \
^~
drivers/gpu/drm/i915/i915_pci.c:962:19: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
.dma_mask_size = 39,
^~
drivers/gpu/drm/i915/i915_pci.c:953:2: note: previous initialization is here
GEN12_FEATURES,
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:862:2: note: expanded from macro 'GEN12_FEATURES'
GEN11_FEATURES, \
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:810:2: note: expanded from macro 'GEN11_FEATURES'
GEN10_FEATURES, \
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:791:2: note: expanded from macro 'GEN10_FEATURES'
GEN9_FEATURES, \
^~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:643:2: note: expanded from macro 'GEN9_FEATURES'
GEN8_FEATURES, \
^~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_pci.c:576:19: note: expanded from macro 'GEN8_FEATURES'
.dma_mask_size = 39, \
^~
>> drivers/gpu/drm/i915/i915_pci.c:975:2: warning: missing field 'override_only' initializer [-Wmissing-field-initializers]
INTEL_I830_IDS(&i830_info),
^
include/drm/i915_pciids.h:59:2: note: expanded from macro 'INTEL_I830_IDS'
INTEL_VGA_DEVICE(0x3577, info)
^
include/drm/i915_pciids.h:42:23: note: expanded from macro 'INTEL_VGA_DEVICE'
(unsigned long) info }
^
drivers/gpu/drm/i915/i915_pci.c:976:2: warning: missing field 'override_only' initializer [-Wmissing-field-initializers]
INTEL_I845G_IDS(&i845g_info),
^
include/drm/i915_pciids.h:62:2: note: expanded from macro 'INTEL_I845G_IDS'
INTEL_VGA_DEVICE(0x2562, info)
^
include/drm/i915_pciids.h:42:23: note: expanded from macro 'INTEL_VGA_DEVICE'
(unsigned long) info }
^
drivers/gpu/drm/i915/i915_pci.c:977:2: warning: missing field 'override_only' initializer [-Wmissing-field-initializers]
INTEL_I85X_IDS(&i85x_info),
^
include/drm/i915_pciids.h:65:2: note: expanded from macro 'INTEL_I85X_IDS'
INTEL_VGA_DEVICE(0x3582, info), /* I855_GM */ \
^
include/drm/i915_pciids.h:42:23: note: expanded from macro 'INTEL_VGA_DEVICE'
(unsigned long) info }
^
drivers/gpu/drm/i915/i915_pci.c:977:2: warning: missing field 'override_only' initializer [-Wmissing-field-initializers]
include/drm/i915_pciids.h:66:2: note: expanded from macro 'INTEL_I85X_IDS'
INTEL_VGA_DEVICE(0x358e, info)
^
include/drm/i915_pciids.h:42:23: note: expanded from macro 'INTEL_VGA_DEVICE'
(unsigned long) info }
^
drivers/gpu/drm/i915/i915_pci.c:978:2: warning: missing field 'override_only' initializer [-Wmissing-field-initializers]
INTEL_I865G_IDS(&i865g_info),
^
include/drm/i915_pciids.h:69:2: note: expanded from macro 'INTEL_I865G_IDS'
INTEL_VGA_DEVICE(0x2572, info) /* I865_G */
^
include/drm/i915_pciids.h:42:23: note: expanded from macro 'INTEL_VGA_DEVICE'
(unsigned long) info }
^
drivers/gpu/drm/i915/i915_pci.c:979:2: warning: missing field 'override_only' initializer [-Wmissing-field-initializers]
INTEL_I915G_IDS(&i915g_info),
^
include/drm/i915_pciids.h:72:2: note: expanded from macro 'INTEL_I915G_IDS'
INTEL_VGA_DEVICE(0x2582, info), /* I915_G */ \
^
include/drm/i915_pciids.h:42:23: note: expanded from macro 'INTEL_VGA_DEVICE'
(unsigned long) info }
^
drivers/gpu/drm/i915/i915_pci.c:979:2: warning: missing field 'override_only' initializer [-Wmissing-field-initializers]
include/drm/i915_pciids.h:73:2: note: expanded from macro 'INTEL_I915G_IDS'
INTEL_VGA_DEVICE(0x258a, info) /* E7221_G */
^
include/drm/i915_pciids.h:42:23: note: expanded from macro 'INTEL_VGA_DEVICE'
(unsigned long) info }
^
drivers/gpu/drm/i915/i915_pci.c:980:2: warning: missing field 'override_only' initializer [-Wmissing-field-initializers]
INTEL_I915GM_IDS(&i915gm_info),
^
include/drm/i915_pciids.h:76:2: note: expanded from macro 'INTEL_I915GM_IDS'
INTEL_VGA_DEVICE(0x2592, info) /* I915_GM */
^
include/drm/i915_pciids.h:42:23: note: expanded from macro 'INTEL_VGA_DEVICE'
(unsigned long) info }
^
drivers/gpu/drm/i915/i915_pci.c:981:2: warning: missing field 'override_only' initializer [-Wmissing-field-initializers]
INTEL_I945G_IDS(&i945g_info),
^
include/drm/i915_pciids.h:79:2: note: expanded from macro 'INTEL_I945G_IDS'
INTEL_VGA_DEVICE(0x2772, info) /* I945_G */
^
include/drm/i915_pciids.h:42:23: note: expanded from macro 'INTEL_VGA_DEVICE'
(unsigned long) info }
^
drivers/gpu/drm/i915/i915_pci.c:982:2: warning: missing field 'override_only' initializer [-Wmissing-field-initializers]
INTEL_I945GM_IDS(&i945gm_info),
^
include/drm/i915_pciids.h:82:2: note: expanded from macro 'INTEL_I945GM_IDS'
INTEL_VGA_DEVICE(0x27a2, info), /* I945_GM */ \
^
include/drm/i915_pciids.h:42:23: note: expanded from macro 'INTEL_VGA_DEVICE'
(unsigned long) info }
^
drivers/gpu/drm/i915/i915_pci.c:982:2: warning: missing field 'override_only' initializer [-Wmissing-field-initializers]
include/drm/i915_pciids.h:83:2: note: expanded from macro 'INTEL_I945GM_IDS'
INTEL_VGA_DEVICE(0x27ae, info) /* I945_GME */
^
include/drm/i915_pciids.h:42:23: note: expanded from macro 'INTEL_VGA_DEVICE'
(unsigned long) info }
^
drivers/gpu/drm/i915/i915_pci.c:983:2: warning: missing field 'override_only' initializer [-Wmissing-field-initializers]
INTEL_I965G_IDS(&i965g_info),
^
include/drm/i915_pciids.h:86:2: note: expanded from macro 'INTEL_I965G_IDS'
INTEL_VGA_DEVICE(0x2972, info), /* I946_GZ */ \
^
include/drm/i915_pciids.h:42:23: note: expanded from macro 'INTEL_VGA_DEVICE'
(unsigned long) info }
vim +/override_only +975 drivers/gpu/drm/i915/i915_pci.c
bc76298e68e791 Chris Wilson 2018-02-15 967
42f5551d276921 Chris Wilson 2016-06-24 968 /*
42f5551d276921 Chris Wilson 2016-06-24 969 * Make sure any device matches here are from most specific to most
42f5551d276921 Chris Wilson 2016-06-24 970 * general. For example, since the Quanta match is based on the subsystem
42f5551d276921 Chris Wilson 2016-06-24 971 * and subvendor IDs, we need it to come before the more general IVB
42f5551d276921 Chris Wilson 2016-06-24 972 * PCI ID matches, otherwise we'll use the wrong info struct above.
42f5551d276921 Chris Wilson 2016-06-24 973 */
42f5551d276921 Chris Wilson 2016-06-24 974 static const struct pci_device_id pciidlist[] = {
31409fff1a392f Lucas De Marchi 2019-12-24 @975 INTEL_I830_IDS(&i830_info),
31409fff1a392f Lucas De Marchi 2019-12-24 976 INTEL_I845G_IDS(&i845g_info),
31409fff1a392f Lucas De Marchi 2019-12-24 977 INTEL_I85X_IDS(&i85x_info),
31409fff1a392f Lucas De Marchi 2019-12-24 978 INTEL_I865G_IDS(&i865g_info),
31409fff1a392f Lucas De Marchi 2019-12-24 979 INTEL_I915G_IDS(&i915g_info),
31409fff1a392f Lucas De Marchi 2019-12-24 980 INTEL_I915GM_IDS(&i915gm_info),
31409fff1a392f Lucas De Marchi 2019-12-24 981 INTEL_I945G_IDS(&i945g_info),
31409fff1a392f Lucas De Marchi 2019-12-24 982 INTEL_I945GM_IDS(&i945gm_info),
31409fff1a392f Lucas De Marchi 2019-12-24 983 INTEL_I965G_IDS(&i965g_info),
31409fff1a392f Lucas De Marchi 2019-12-24 984 INTEL_G33_IDS(&g33_info),
31409fff1a392f Lucas De Marchi 2019-12-24 985 INTEL_I965GM_IDS(&i965gm_info),
31409fff1a392f Lucas De Marchi 2019-12-24 986 INTEL_GM45_IDS(&gm45_info),
31409fff1a392f Lucas De Marchi 2019-12-24 987 INTEL_G45_IDS(&g45_info),
31409fff1a392f Lucas De Marchi 2019-12-24 988 INTEL_PINEVIEW_G_IDS(&pnv_g_info),
31409fff1a392f Lucas De Marchi 2019-12-24 989 INTEL_PINEVIEW_M_IDS(&pnv_m_info),
31409fff1a392f Lucas De Marchi 2019-12-24 990 INTEL_IRONLAKE_D_IDS(&ilk_d_info),
31409fff1a392f Lucas De Marchi 2019-12-24 991 INTEL_IRONLAKE_M_IDS(&ilk_m_info),
31409fff1a392f Lucas De Marchi 2019-12-24 992 INTEL_SNB_D_GT1_IDS(&snb_d_gt1_info),
31409fff1a392f Lucas De Marchi 2019-12-24 993 INTEL_SNB_D_GT2_IDS(&snb_d_gt2_info),
31409fff1a392f Lucas De Marchi 2019-12-24 994 INTEL_SNB_M_GT1_IDS(&snb_m_gt1_info),
31409fff1a392f Lucas De Marchi 2019-12-24 995 INTEL_SNB_M_GT2_IDS(&snb_m_gt2_info),
31409fff1a392f Lucas De Marchi 2019-12-24 996 INTEL_IVB_Q_IDS(&ivb_q_info), /* must be first IVB */
31409fff1a392f Lucas De Marchi 2019-12-24 997 INTEL_IVB_M_GT1_IDS(&ivb_m_gt1_info),
31409fff1a392f Lucas De Marchi 2019-12-24 998 INTEL_IVB_M_GT2_IDS(&ivb_m_gt2_info),
31409fff1a392f Lucas De Marchi 2019-12-24 999 INTEL_IVB_D_GT1_IDS(&ivb_d_gt1_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1000 INTEL_IVB_D_GT2_IDS(&ivb_d_gt2_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1001 INTEL_HSW_GT1_IDS(&hsw_gt1_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1002 INTEL_HSW_GT2_IDS(&hsw_gt2_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1003 INTEL_HSW_GT3_IDS(&hsw_gt3_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1004 INTEL_VLV_IDS(&vlv_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1005 INTEL_BDW_GT1_IDS(&bdw_gt1_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1006 INTEL_BDW_GT2_IDS(&bdw_gt2_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1007 INTEL_BDW_GT3_IDS(&bdw_gt3_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1008 INTEL_BDW_RSVD_IDS(&bdw_rsvd_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1009 INTEL_CHV_IDS(&chv_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1010 INTEL_SKL_GT1_IDS(&skl_gt1_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1011 INTEL_SKL_GT2_IDS(&skl_gt2_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1012 INTEL_SKL_GT3_IDS(&skl_gt3_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1013 INTEL_SKL_GT4_IDS(&skl_gt4_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1014 INTEL_BXT_IDS(&bxt_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1015 INTEL_GLK_IDS(&glk_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1016 INTEL_KBL_GT1_IDS(&kbl_gt1_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1017 INTEL_KBL_GT2_IDS(&kbl_gt2_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1018 INTEL_KBL_GT3_IDS(&kbl_gt3_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1019 INTEL_KBL_GT4_IDS(&kbl_gt3_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1020 INTEL_AML_KBL_GT2_IDS(&kbl_gt2_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1021 INTEL_CFL_S_GT1_IDS(&cfl_gt1_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1022 INTEL_CFL_S_GT2_IDS(&cfl_gt2_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1023 INTEL_CFL_H_GT1_IDS(&cfl_gt1_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1024 INTEL_CFL_H_GT2_IDS(&cfl_gt2_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1025 INTEL_CFL_U_GT2_IDS(&cfl_gt2_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1026 INTEL_CFL_U_GT3_IDS(&cfl_gt3_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1027 INTEL_WHL_U_GT1_IDS(&cfl_gt1_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1028 INTEL_WHL_U_GT2_IDS(&cfl_gt2_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1029 INTEL_AML_CFL_GT2_IDS(&cfl_gt2_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1030 INTEL_WHL_U_GT3_IDS(&cfl_gt3_info),
5f4ae2704d59ee Chris Wilson 2020-06-02 1031 INTEL_CML_GT1_IDS(&cml_gt1_info),
5f4ae2704d59ee Chris Wilson 2020-06-02 1032 INTEL_CML_GT2_IDS(&cml_gt2_info),
5f4ae2704d59ee Chris Wilson 2020-06-02 1033 INTEL_CML_U_GT1_IDS(&cml_gt1_info),
5f4ae2704d59ee Chris Wilson 2020-06-02 1034 INTEL_CML_U_GT2_IDS(&cml_gt2_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1035 INTEL_CNL_IDS(&cnl_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1036 INTEL_ICL_11_IDS(&icl_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1037 INTEL_EHL_IDS(&ehl_info),
24ea098b7c0d80 Tejas Upadhyay 2020-10-14 1038 INTEL_JSL_IDS(&jsl_info),
31409fff1a392f Lucas De Marchi 2019-12-24 1039 INTEL_TGL_12_IDS(&tgl_info),
123f62de419f2a Matt Roper 2020-05-04 1040 INTEL_RKL_IDS(&rkl_info),
0883d63b19bbd6 Caz Yokoyama 2021-01-19 1041 INTEL_ADLS_IDS(&adl_s_info),
bdd27cad22379a Clinton Taylor 2021-05-06 1042 INTEL_ADLP_IDS(&adl_p_info),
42f5551d276921 Chris Wilson 2016-06-24 1043 {0, 0, 0}
42f5551d276921 Chris Wilson 2016-06-24 1044 };
42f5551d276921 Chris Wilson 2016-06-24 1045 MODULE_DEVICE_TABLE(pci, pciidlist);
42f5551d276921 Chris Wilson 2016-06-24 1046
:::::: The code at line 975 was first introduced by commit
:::::: 31409fff1a392fabebf59e3c58f606c7a1a2d24e drm/i915: simplify prefixes on device_info
:::::: TO: Lucas De Marchi <lucas.demarchi(a)intel.com>
:::::: CC: Lucas De Marchi <lucas.demarchi(a)intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months, 3 weeks
Re: [PATCH bpf-next v3 06/10] xsk: propagate napi_id to XDP socket Rx path
by kernel test robot
Hi "Björn,
I love your patch! Yet something to improve:
[auto build test ERROR on 4e99d115d865d45e17e83478d757b58d8fa66d3c]
url: https://github.com/0day-ci/linux/commits/Bj-rn-T-pel/Introduce-preferred-...
base: 4e99d115d865d45e17e83478d757b58d8fa66d3c
config: um-kunit_defconfig (attached as .config)
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/f481c00164924dd5d782a92cc67897cc7...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Bj-rn-T-pel/Introduce-preferred-busy-polling/20210929-234934
git checkout f481c00164924dd5d782a92cc67897cc7f804502
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=um 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 >>):
cc1: warning: arch/um/include/uapi: No such file or directory [-Wmissing-include-dirs]
In file included from fs/select.c:32:
include/net/busy_poll.h: In function 'sk_mark_napi_id_once':
>> include/net/busy_poll.h:150:36: error: 'const struct sk_buff' has no member named 'napi_id'
150 | __sk_mark_napi_id_once_xdp(sk, skb->napi_id);
| ^~
vim +150 include/net/busy_poll.h
145
146 /* variant used for unconnected sockets */
147 static inline void sk_mark_napi_id_once(struct sock *sk,
148 const struct sk_buff *skb)
149 {
> 150 __sk_mark_napi_id_once_xdp(sk, skb->napi_id);
151 }
152
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months, 3 weeks