Re: [PATCH] x86/speculation/l1tf: Add KConfig for setting the L1D cache flush mode
by kernel test robot
CC: kbuild-all(a)lists.01.org
In-Reply-To: <20200702161916.2456342-1-abhishekbh(a)google.com>
References: <20200702161916.2456342-1-abhishekbh(a)google.com>
TO: Abhishek Bhardwaj <abhishekbh(a)google.com>
TO: LKML <linux-kernel(a)vger.kernel.org>
CC: Abhishek Bhardwaj <abhishekbh(a)google.com>
CC: Anthony Steinhauser <asteinhauser(a)google.com>
CC: Borislav Petkov <bp(a)alien8.de>
CC: "H. Peter Anvin" <hpa(a)zytor.com>
CC: Ingo Molnar <mingo(a)redhat.com>
CC: Jim Mattson <jmattson(a)google.com>
CC: Joerg Roedel <joro(a)8bytes.org>
CC: Josh Poimboeuf <jpoimboe(a)redhat.com>
CC: Mark Gross <mgross(a)linux.intel.com>
Hi Abhishek,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on tip/auto-latest]
[also build test WARNING on linux/master tip/x86/core kvm/linux-next linus/master v5.8-rc3 next-20200702]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Abhishek-Bhardwaj/x86-speculatio...
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 7e44a91e0445a854af5d34ca0f5baceccd518e73
:::::: branch date: 3 hours ago
:::::: commit date: 3 hours ago
config: i386-randconfig-s002-20200702 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-3-gfa153962-dirty
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
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 >>)
>> arch/x86/kernel/cpu/bugs.c:1402:6: sparse: sparse: undefined preprocessor identifier 'CONFIG_KVM_VMENTRY_L1D_FLUSH'
arch/x86/kernel/cpu/bugs.c:1404:8: sparse: sparse: undefined preprocessor identifier 'CONFIG_KVM_VMENTRY_L1D_FLUSH'
arch/x86/kernel/cpu/bugs.c:1406:8: sparse: sparse: undefined preprocessor identifier 'CONFIG_KVM_VMENTRY_L1D_FLUSH'
# https://github.com/0day-ci/linux/commit/893761b6e087104d84679082e5dfb90d4...
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout 893761b6e087104d84679082e5dfb90d41fd2878
vim +/CONFIG_KVM_VMENTRY_L1D_FLUSH +1402 arch/x86/kernel/cpu/bugs.c
72c6d2db64fa18c Thomas Gleixner 2018-07-13 1396
d90a7a0ec83fb86 Jiri Kosina 2018-07-13 1397 /* Default mitigation for L1TF-affected CPUs */
d90a7a0ec83fb86 Jiri Kosina 2018-07-13 1398 enum l1tf_mitigations l1tf_mitigation __ro_after_init = L1TF_MITIGATION_FLUSH;
72c6d2db64fa18c Thomas Gleixner 2018-07-13 1399 #if IS_ENABLED(CONFIG_KVM_INTEL)
d90a7a0ec83fb86 Jiri Kosina 2018-07-13 1400 EXPORT_SYMBOL_GPL(l1tf_mitigation);
1eb46908b35dfba Guenter Roeck 2018-08-15 1401 #endif
893761b6e087104 Abhishek Bhardwaj 2020-07-02 @1402 #if (CONFIG_KVM_VMENTRY_L1D_FLUSH == 1)
893761b6e087104 Abhishek Bhardwaj 2020-07-02 1403 enum vmx_l1d_flush_state l1tf_vmx_mitigation = VMENTER_L1D_FLUSH_NEVER;
893761b6e087104 Abhishek Bhardwaj 2020-07-02 1404 #elif (CONFIG_KVM_VMENTRY_L1D_FLUSH == 2)
893761b6e087104 Abhishek Bhardwaj 2020-07-02 1405 enum vmx_l1d_flush_state l1tf_vmx_mitigation = VMENTER_L1D_FLUSH_COND;
893761b6e087104 Abhishek Bhardwaj 2020-07-02 1406 #elif (CONFIG_KVM_VMENTRY_L1D_FLUSH == 3)
893761b6e087104 Abhishek Bhardwaj 2020-07-02 1407 enum vmx_l1d_flush_state l1tf_vmx_mitigation = VMENTER_L1D_FLUSH_ALWAYS;
893761b6e087104 Abhishek Bhardwaj 2020-07-02 1408 #else
895ae47f9918833 Thomas Gleixner 2018-07-13 1409 enum vmx_l1d_flush_state l1tf_vmx_mitigation = VMENTER_L1D_FLUSH_AUTO;
893761b6e087104 Abhishek Bhardwaj 2020-07-02 1410 #endif
72c6d2db64fa18c Thomas Gleixner 2018-07-13 1411 EXPORT_SYMBOL_GPL(l1tf_vmx_mitigation);
72c6d2db64fa18c Thomas Gleixner 2018-07-13 1412
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [PATCH] mac80211: keep non-zero sequence counter of injected frames
by kernel test robot
CC: kbuild-all(a)lists.01.org
In-Reply-To: <20200628220512.28535ebc(a)mathy-work.localhost>
References: <20200628220512.28535ebc(a)mathy-work.localhost>
TO: Mathy Vanhoef <Mathy.Vanhoef(a)kuleuven.be>
TO: Johannes Berg <johannes(a)sipsolutions.net>
TO: linux-wireless(a)vger.kernel.org
CC: mathy.vanhoef(a)nyu.edu
Hi Mathy,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on mac80211-next/master]
[also build test WARNING on mac80211/master v5.8-rc3 next-20200702]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Mathy-Vanhoef/mac80211-keep-non-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master
:::::: branch date: 4 days ago
:::::: commit date: 4 days ago
config: arm-randconfig-m031-20200701 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 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:
net/mac80211/tx.c:816 ieee80211_tx_h_sequence() warn: compare has higher precedence than mask
net/mac80211/tx.c:816 ieee80211_tx_h_sequence() warn: add some parenthesis here?
Old smatch warnings:
net/mac80211/tx.c:1831 invoke_tx_handlers_late() warn: variable dereferenced before check 'tx->skb' (see line 1809)
net/mac80211/tx.c:3426 ieee80211_xmit_fast_finish() error: we previously assumed 'key' could be null (see line 3394)
# https://github.com/0day-ci/linux/commit/f452608b92bbd4fff530a8f234d4e9092...
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout f452608b92bbd4fff530a8f234d4e909287d249c
vim +816 net/mac80211/tx.c
ba8c3d6f16a1f9 Felix Fietkau 2015-03-27 802
f591fa5dbbbeae Johannes Berg 2008-07-10 803 static ieee80211_tx_result debug_noinline
f591fa5dbbbeae Johannes Berg 2008-07-10 804 ieee80211_tx_h_sequence(struct ieee80211_tx_data *tx)
f591fa5dbbbeae Johannes Berg 2008-07-10 805 {
f591fa5dbbbeae Johannes Berg 2008-07-10 806 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx->skb);
f591fa5dbbbeae Johannes Berg 2008-07-10 807 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx->skb->data;
f591fa5dbbbeae Johannes Berg 2008-07-10 808 int tid;
f591fa5dbbbeae Johannes Berg 2008-07-10 809
25d834e16294c8 Johannes Berg 2008-09-12 810 /*
f452608b92bbd4 Mathy Vanhoef 2020-06-28 811 * Packet injection may want to control the sequence number.
f452608b92bbd4 Mathy Vanhoef 2020-06-28 812 * Do not assign one ourselves, and do not ask the driver to,
f452608b92bbd4 Mathy Vanhoef 2020-06-28 813 * if there is no matching interface or if the injected frame
f452608b92bbd4 Mathy Vanhoef 2020-06-28 814 * was already assigned a non-zero sequence number.
25d834e16294c8 Johannes Berg 2008-09-12 815 */
f452608b92bbd4 Mathy Vanhoef 2020-06-28 @816 if (unlikely(info->control.vif->type == NL80211_IFTYPE_MONITOR ||
f452608b92bbd4 Mathy Vanhoef 2020-06-28 817 (info->flags & IEEE80211_TX_CTL_INJECTED != 0 &&
f452608b92bbd4 Mathy Vanhoef 2020-06-28 818 hdr->seq_ctrl != 0)))
25d834e16294c8 Johannes Berg 2008-09-12 819 return TX_CONTINUE;
25d834e16294c8 Johannes Berg 2008-09-12 820
f591fa5dbbbeae Johannes Berg 2008-07-10 821 if (unlikely(ieee80211_is_ctl(hdr->frame_control)))
f591fa5dbbbeae Johannes Berg 2008-07-10 822 return TX_CONTINUE;
f591fa5dbbbeae Johannes Berg 2008-07-10 823
f591fa5dbbbeae Johannes Berg 2008-07-10 824 if (ieee80211_hdrlen(hdr->frame_control) < 24)
f591fa5dbbbeae Johannes Berg 2008-07-10 825 return TX_CONTINUE;
f591fa5dbbbeae Johannes Berg 2008-07-10 826
49a59543eb5a5d Johannes Berg 2011-09-29 827 if (ieee80211_is_qos_nullfunc(hdr->frame_control))
49a59543eb5a5d Johannes Berg 2011-09-29 828 return TX_CONTINUE;
49a59543eb5a5d Johannes Berg 2011-09-29 829
94778280fabdb6 Johannes Berg 2008-10-10 830 /*
94778280fabdb6 Johannes Berg 2008-10-10 831 * Anything but QoS data that has a sequence number field
94778280fabdb6 Johannes Berg 2008-10-10 832 * (is long enough) gets a sequence number from the global
c4c205f3cd17b5 Bob Copeland 2013-08-23 833 * counter. QoS data frames with a multicast destination
c4c205f3cd17b5 Bob Copeland 2013-08-23 834 * also use the global counter (802.11-2012 9.3.2.10).
94778280fabdb6 Johannes Berg 2008-10-10 835 */
c4c205f3cd17b5 Bob Copeland 2013-08-23 836 if (!ieee80211_is_data_qos(hdr->frame_control) ||
c4c205f3cd17b5 Bob Copeland 2013-08-23 837 is_multicast_ether_addr(hdr->addr1)) {
b9771d41aee7aa Johannes Berg 2018-05-28 838 if (tx->flags & IEEE80211_TX_NO_SEQNO)
b9771d41aee7aa Johannes Berg 2018-05-28 839 return TX_CONTINUE;
94778280fabdb6 Johannes Berg 2008-10-10 840 /* driver should assign sequence number */
f591fa5dbbbeae Johannes Berg 2008-07-10 841 info->flags |= IEEE80211_TX_CTL_ASSIGN_SEQ;
94778280fabdb6 Johannes Berg 2008-10-10 842 /* for pure STA mode without beacons, we can do it */
94778280fabdb6 Johannes Berg 2008-10-10 843 hdr->seq_ctrl = cpu_to_le16(tx->sdata->sequence_number);
94778280fabdb6 Johannes Berg 2008-10-10 844 tx->sdata->sequence_number += 0x10;
79c892b85027d5 Johannes Berg 2014-11-21 845 if (tx->sta)
e5a9f8d04660da Johannes Berg 2015-10-16 846 tx->sta->tx_stats.msdu[IEEE80211_NUM_TIDS]++;
f591fa5dbbbeae Johannes Berg 2008-07-10 847 return TX_CONTINUE;
f591fa5dbbbeae Johannes Berg 2008-07-10 848 }
f591fa5dbbbeae Johannes Berg 2008-07-10 849
f591fa5dbbbeae Johannes Berg 2008-07-10 850 /*
f591fa5dbbbeae Johannes Berg 2008-07-10 851 * This should be true for injected/management frames only, for
f591fa5dbbbeae Johannes Berg 2008-07-10 852 * management frames we have set the IEEE80211_TX_CTL_ASSIGN_SEQ
f591fa5dbbbeae Johannes Berg 2008-07-10 853 * above since they are not QoS-data frames.
f591fa5dbbbeae Johannes Berg 2008-07-10 854 */
f591fa5dbbbeae Johannes Berg 2008-07-10 855 if (!tx->sta)
f591fa5dbbbeae Johannes Berg 2008-07-10 856 return TX_CONTINUE;
f591fa5dbbbeae Johannes Berg 2008-07-10 857
f591fa5dbbbeae Johannes Berg 2008-07-10 858 /* include per-STA, per-TID sequence counter */
a1f2ba04cc9241 Sara Sharon 2018-02-19 859 tid = ieee80211_get_tid(hdr);
e5a9f8d04660da Johannes Berg 2015-10-16 860 tx->sta->tx_stats.msdu[tid]++;
f591fa5dbbbeae Johannes Berg 2008-07-10 861
ba8c3d6f16a1f9 Felix Fietkau 2015-03-27 862 hdr->seq_ctrl = ieee80211_tx_next_seq(tx->sta, tid);
f591fa5dbbbeae Johannes Berg 2008-07-10 863
f591fa5dbbbeae Johannes Berg 2008-07-10 864 return TX_CONTINUE;
f591fa5dbbbeae Johannes Berg 2008-07-10 865 }
f591fa5dbbbeae Johannes Berg 2008-07-10 866
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [PATCH] clk: vc5: Add memory check to prevent oops
by Dan Carpenter
Hi Adam,
Thank you for the patch! Perhaps something to improve:
url: https://github.com/0day-ci/linux/commits/Adam-Ford/clk-vc5-Add-memory-che...
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: i386-randconfig-m021-20200701 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 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/clk/clk-versaclock5.c:818 vc5_get_output_config() error: uninitialized symbol 'np_output'.
# https://github.com/0day-ci/linux/commit/d445df5e4f918f08f66e20c366dc6c81d...
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout d445df5e4f918f08f66e20c366dc6c81dcdc8b57
vim +/np_output +818 drivers/clk/clk-versaclock5.c
260249f929e81d Adam Ford 2020-06-03 783
260249f929e81d Adam Ford 2020-06-03 784 static int vc5_get_output_config(struct i2c_client *client,
260249f929e81d Adam Ford 2020-06-03 785 struct vc5_hw_data *clk_out)
260249f929e81d Adam Ford 2020-06-03 786 {
260249f929e81d Adam Ford 2020-06-03 787 struct device_node *np_output;
^^^^^^^^^
260249f929e81d Adam Ford 2020-06-03 788 char *child_name;
260249f929e81d Adam Ford 2020-06-03 789 int ret = 0;
260249f929e81d Adam Ford 2020-06-03 790
260249f929e81d Adam Ford 2020-06-03 791 child_name = kasprintf(GFP_KERNEL, "OUT%d", clk_out->num + 1);
d445df5e4f918f Adam Ford 2020-06-30 792 if (!child_name) {
d445df5e4f918f Adam Ford 2020-06-30 793 ret = -ENOMEM;
d445df5e4f918f Adam Ford 2020-06-30 794 goto output_error;
^^^^^^^^^^^^^^^^^^
Better to just return directly, because there is no clean up.
d445df5e4f918f Adam Ford 2020-06-30 795 }
260249f929e81d Adam Ford 2020-06-03 796 np_output = of_get_child_by_name(client->dev.of_node, child_name);
260249f929e81d Adam Ford 2020-06-03 797 kfree(child_name);
260249f929e81d Adam Ford 2020-06-03 798 if (!np_output)
d445df5e4f918f Adam Ford 2020-06-30 799 return 0;
260249f929e81d Adam Ford 2020-06-03 800
260249f929e81d Adam Ford 2020-06-03 801 ret = vc5_update_mode(np_output, clk_out);
260249f929e81d Adam Ford 2020-06-03 802 if (ret)
260249f929e81d Adam Ford 2020-06-03 803 goto output_error;
260249f929e81d Adam Ford 2020-06-03 804
260249f929e81d Adam Ford 2020-06-03 805 ret = vc5_update_power(np_output, clk_out);
260249f929e81d Adam Ford 2020-06-03 806 if (ret)
260249f929e81d Adam Ford 2020-06-03 807 goto output_error;
260249f929e81d Adam Ford 2020-06-03 808
260249f929e81d Adam Ford 2020-06-03 809 ret = vc5_update_slew(np_output, clk_out);
260249f929e81d Adam Ford 2020-06-03 810
260249f929e81d Adam Ford 2020-06-03 811 output_error:
260249f929e81d Adam Ford 2020-06-03 812 if (ret) {
260249f929e81d Adam Ford 2020-06-03 813 dev_err(&client->dev,
260249f929e81d Adam Ford 2020-06-03 814 "Invalid clock output configuration OUT%d\n",
260249f929e81d Adam Ford 2020-06-03 815 clk_out->num + 1);
260249f929e81d Adam Ford 2020-06-03 816 }
260249f929e81d Adam Ford 2020-06-03 817
260249f929e81d Adam Ford 2020-06-03 @818 of_node_put(np_output);
^^^^^^^^^
Uninitialized.
260249f929e81d Adam Ford 2020-06-03 819
260249f929e81d Adam Ford 2020-06-03 820 return ret;
260249f929e81d Adam Ford 2020-06-03 821 }
260249f929e81d Adam Ford 2020-06-03 822
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [PATCH] clk: vc5: Add memory check to prevent oops
by kernel test robot
CC: kbuild-all(a)lists.01.org
In-Reply-To: <20200630210155.459250-1-aford173(a)gmail.com>
References: <20200630210155.459250-1-aford173(a)gmail.com>
TO: Adam Ford <aford173(a)gmail.com>
TO: linux-clk(a)vger.kernel.org
CC: dan.carpenter(a)oracle.com
CC: aford(a)beaconembedded.com
CC: Adam Ford <aford173(a)gmail.com>
CC: Marek Vasut <marek.vasut(a)gmail.com>
CC: Michael Turquette <mturquette(a)baylibre.com>
CC: Stephen Boyd <sboyd(a)kernel.org>
CC: linux-kernel(a)vger.kernel.org
Hi Adam,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on clk/clk-next]
[also build test WARNING on next-20200702]
[cannot apply to v5.8-rc3]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Adam-Ford/clk-vc5-Add-memory-che...
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
config: i386-randconfig-m021-20200701 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 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/clk/clk-versaclock5.c:818 vc5_get_output_config() error: uninitialized symbol 'np_output'.
Old smatch warnings:
drivers/clk/clk-versaclock5.c:890 vc5_probe() warn: passing freed memory 'init.name'
drivers/clk/clk-versaclock5.c:908 vc5_probe() warn: passing freed memory 'init.name'
drivers/clk/clk-versaclock5.c:929 vc5_probe() warn: passing freed memory 'init.name'
drivers/clk/clk-versaclock5.c:947 vc5_probe() warn: passing freed memory 'init.name'
drivers/clk/clk-versaclock5.c:968 vc5_probe() warn: passing freed memory 'init.name'
drivers/clk/clk-versaclock5.c:989 vc5_probe() warn: passing freed memory 'init.name'
drivers/clk/clk-versaclock5.c:1016 vc5_probe() warn: passing freed memory 'init.name'
# https://github.com/0day-ci/linux/commit/d445df5e4f918f08f66e20c366dc6c81d...
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout d445df5e4f918f08f66e20c366dc6c81dcdc8b57
vim +/np_output +818 drivers/clk/clk-versaclock5.c
260249f929e81d Adam Ford 2020-06-03 783
260249f929e81d Adam Ford 2020-06-03 784 static int vc5_get_output_config(struct i2c_client *client,
260249f929e81d Adam Ford 2020-06-03 785 struct vc5_hw_data *clk_out)
260249f929e81d Adam Ford 2020-06-03 786 {
260249f929e81d Adam Ford 2020-06-03 787 struct device_node *np_output;
260249f929e81d Adam Ford 2020-06-03 788 char *child_name;
260249f929e81d Adam Ford 2020-06-03 789 int ret = 0;
260249f929e81d Adam Ford 2020-06-03 790
260249f929e81d Adam Ford 2020-06-03 791 child_name = kasprintf(GFP_KERNEL, "OUT%d", clk_out->num + 1);
d445df5e4f918f Adam Ford 2020-06-30 792 if (!child_name) {
d445df5e4f918f Adam Ford 2020-06-30 793 ret = -ENOMEM;
d445df5e4f918f Adam Ford 2020-06-30 794 goto output_error;
d445df5e4f918f Adam Ford 2020-06-30 795 }
260249f929e81d Adam Ford 2020-06-03 796 np_output = of_get_child_by_name(client->dev.of_node, child_name);
260249f929e81d Adam Ford 2020-06-03 797 kfree(child_name);
260249f929e81d Adam Ford 2020-06-03 798 if (!np_output)
d445df5e4f918f Adam Ford 2020-06-30 799 return 0;
260249f929e81d Adam Ford 2020-06-03 800
260249f929e81d Adam Ford 2020-06-03 801 ret = vc5_update_mode(np_output, clk_out);
260249f929e81d Adam Ford 2020-06-03 802 if (ret)
260249f929e81d Adam Ford 2020-06-03 803 goto output_error;
260249f929e81d Adam Ford 2020-06-03 804
260249f929e81d Adam Ford 2020-06-03 805 ret = vc5_update_power(np_output, clk_out);
260249f929e81d Adam Ford 2020-06-03 806 if (ret)
260249f929e81d Adam Ford 2020-06-03 807 goto output_error;
260249f929e81d Adam Ford 2020-06-03 808
260249f929e81d Adam Ford 2020-06-03 809 ret = vc5_update_slew(np_output, clk_out);
260249f929e81d Adam Ford 2020-06-03 810
260249f929e81d Adam Ford 2020-06-03 811 output_error:
260249f929e81d Adam Ford 2020-06-03 812 if (ret) {
260249f929e81d Adam Ford 2020-06-03 813 dev_err(&client->dev,
260249f929e81d Adam Ford 2020-06-03 814 "Invalid clock output configuration OUT%d\n",
260249f929e81d Adam Ford 2020-06-03 815 clk_out->num + 1);
260249f929e81d Adam Ford 2020-06-03 816 }
260249f929e81d Adam Ford 2020-06-03 817
260249f929e81d Adam Ford 2020-06-03 @818 of_node_put(np_output);
260249f929e81d Adam Ford 2020-06-03 819
260249f929e81d Adam Ford 2020-06-03 820 return ret;
260249f929e81d Adam Ford 2020-06-03 821 }
260249f929e81d Adam Ford 2020-06-03 822
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [PATCH 5/5] connector: Create connector per namespace
by Dan Carpenter
Hi Matt,
url: https://github.com/0day-ci/linux/commits/Matt-Bennett/RFC-connector-Add-n...
base: https://git.kernel.org/pub/scm/linux/kernel/git/horms/ipvs.git master
config: arm-randconfig-m031-20200701 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 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>
smatch warnings:
drivers/connector/connector.c:71 cn_netlink_send_mult() warn: impossible condition '(len < 0) => (0-u16max < 0)'
# https://github.com/0day-ci/linux/commit/32f49fbf9dcfe5c3bc100728f5b8b5f9c...
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout 32f49fbf9dcfe5c3bc100728f5b8b5f9c95757cb
vim +71 drivers/connector/connector.c
e921441014422d Matt Bennett 2020-07-02 59 int cn_netlink_send_mult(struct net *net, struct cn_msg *msg, u16 len,
^^^^^^^
e921441014422d Matt Bennett 2020-07-02 60 u32 portid, u32 __group, gfp_t gfp_mask)
7672d0b5441137 Evgeniy Polyakov 2005-09-11 61 {
7672d0b5441137 Evgeniy Polyakov 2005-09-11 62 struct cn_callback_entry *__cbq;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 63 unsigned int size;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 64 struct sk_buff *skb;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 65 struct nlmsghdr *nlh;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 66 struct cn_msg *data;
32f49fbf9dcfe5 Matt Bennett 2020-07-02 67 struct cn_dev *dev = &(net->cdev);
7672d0b5441137 Evgeniy Polyakov 2005-09-11 68 u32 group = 0;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 69 int found = 0;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 70
32f49fbf9dcfe5 Matt Bennett 2020-07-02 @71 if (!msg || len < 0)
^^^^^^^
Unsigned can't be less than zero.
32f49fbf9dcfe5 Matt Bennett 2020-07-02 72 return -EINVAL;
32f49fbf9dcfe5 Matt Bennett 2020-07-02 73
ac8f73305eea8a David Fries 2014-01-15 74 if (portid || __group) {
ac8f73305eea8a David Fries 2014-01-15 75 group = __group;
ac8f73305eea8a David Fries 2014-01-15 76 } else {
7672d0b5441137 Evgeniy Polyakov 2005-09-11 77 spin_lock_bh(&dev->cbdev->queue_lock);
7672d0b5441137 Evgeniy Polyakov 2005-09-11 78 list_for_each_entry(__cbq, &dev->cbdev->queue_list,
7672d0b5441137 Evgeniy Polyakov 2005-09-11 79 callback_entry) {
acd042bb2de50d Evgeniy Polyakov 2005-09-26 80 if (cn_cb_equal(&__cbq->id.id, &msg->id)) {
7672d0b5441137 Evgeniy Polyakov 2005-09-11 81 found = 1;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 82 group = __cbq->group;
fd00eeccd92b7b Li Zefan 2008-01-04 83 break;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 84 }
7672d0b5441137 Evgeniy Polyakov 2005-09-11 85 }
7672d0b5441137 Evgeniy Polyakov 2005-09-11 86 spin_unlock_bh(&dev->cbdev->queue_lock);
7672d0b5441137 Evgeniy Polyakov 2005-09-11 87
7672d0b5441137 Evgeniy Polyakov 2005-09-11 88 if (!found)
7672d0b5441137 Evgeniy Polyakov 2005-09-11 89 return -ENODEV;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 90 }
7672d0b5441137 Evgeniy Polyakov 2005-09-11 91
ac8f73305eea8a David Fries 2014-01-15 92 if (!portid && !netlink_has_listeners(dev->nls, group))
b191ba0d599928 Evgeniy Polyakov 2006-03-20 93 return -ESRCH;
b191ba0d599928 Evgeniy Polyakov 2006-03-20 94
34470e0bfae223 David Fries 2014-04-08 95 size = sizeof(*msg) + len;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 96
9631d79e815197 Hong zhi guo 2013-03-27 97 skb = nlmsg_new(size, gfp_mask);
7672d0b5441137 Evgeniy Polyakov 2005-09-11 98 if (!skb)
7672d0b5441137 Evgeniy Polyakov 2005-09-11 99 return -ENOMEM;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 100
9631d79e815197 Hong zhi guo 2013-03-27 101 nlh = nlmsg_put(skb, 0, msg->seq, NLMSG_DONE, size, 0);
85c931665d822f Javier Martinez Canillas 2012-06-26 102 if (!nlh) {
85c931665d822f Javier Martinez Canillas 2012-06-26 103 kfree_skb(skb);
85c931665d822f Javier Martinez Canillas 2012-06-26 104 return -EMSGSIZE;
85c931665d822f Javier Martinez Canillas 2012-06-26 105 }
7672d0b5441137 Evgeniy Polyakov 2005-09-11 106
85c931665d822f Javier Martinez Canillas 2012-06-26 107 data = nlmsg_data(nlh);
7672d0b5441137 Evgeniy Polyakov 2005-09-11 108
ac73bf50b709de Mathias Krause 2013-09-30 109 memcpy(data, msg, size);
7672d0b5441137 Evgeniy Polyakov 2005-09-11 110
7672d0b5441137 Evgeniy Polyakov 2005-09-11 111 NETLINK_CB(skb).dst_group = group;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 112
ac8f73305eea8a David Fries 2014-01-15 113 if (group)
ac8f73305eea8a David Fries 2014-01-15 114 return netlink_broadcast(dev->nls, skb, portid, group,
ac8f73305eea8a David Fries 2014-01-15 115 gfp_mask);
d0164adc89f6bb Mel Gorman 2015-11-06 116 return netlink_unicast(dev->nls, skb, portid,
d0164adc89f6bb Mel Gorman 2015-11-06 117 !gfpflags_allow_blocking(gfp_mask));
7672d0b5441137 Evgeniy Polyakov 2005-09-11 118 }
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org
1 year, 10 months
Re: [PATCH 5/5] connector: Create connector per namespace
by kernel test robot
CC: kbuild-all(a)lists.01.org
In-Reply-To: <20200702002635.8169-6-matt.bennett(a)alliedtelesis.co.nz>
References: <20200702002635.8169-6-matt.bennett(a)alliedtelesis.co.nz>
TO: Matt Bennett <matt.bennett(a)alliedtelesis.co.nz>
TO: netdev(a)vger.kernel.org
CC: zbr(a)ioremap.net
CC: ebiederm(a)xmission.com
CC: linux-kernel(a)vger.kernel.org
CC: Matt Bennett <matt.bennett(a)alliedtelesis.co.nz>
Hi Matt,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on ipvs/master]
[also build test WARNING on dm/for-next linux/master linus/master v5.8-rc3 next-20200702]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Matt-Bennett/RFC-connector-Add-n...
base: https://git.kernel.org/pub/scm/linux/kernel/git/horms/ipvs.git master
:::::: branch date: 12 hours ago
:::::: commit date: 12 hours ago
config: arm-randconfig-m031-20200701 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 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>
smatch warnings:
drivers/connector/connector.c:71 cn_netlink_send_mult() warn: impossible condition '(len < 0) => (0-u16max < 0)'
# https://github.com/0day-ci/linux/commit/32f49fbf9dcfe5c3bc100728f5b8b5f9c...
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout 32f49fbf9dcfe5c3bc100728f5b8b5f9c95757cb
vim +71 drivers/connector/connector.c
7672d0b5441137 Evgeniy Polyakov 2005-09-11 30
7672d0b5441137 Evgeniy Polyakov 2005-09-11 31 /*
34470e0bfae223 David Fries 2014-04-08 32 * Sends mult (multiple) cn_msg at a time.
34470e0bfae223 David Fries 2014-04-08 33 *
7672d0b5441137 Evgeniy Polyakov 2005-09-11 34 * msg->seq and msg->ack are used to determine message genealogy.
7672d0b5441137 Evgeniy Polyakov 2005-09-11 35 * When someone sends message it puts there locally unique sequence
7672d0b5441137 Evgeniy Polyakov 2005-09-11 36 * and random acknowledge numbers. Sequence number may be copied into
7672d0b5441137 Evgeniy Polyakov 2005-09-11 37 * nlmsghdr->nlmsg_seq too.
7672d0b5441137 Evgeniy Polyakov 2005-09-11 38 *
7672d0b5441137 Evgeniy Polyakov 2005-09-11 39 * Sequence number is incremented with each message to be sent.
7672d0b5441137 Evgeniy Polyakov 2005-09-11 40 *
ac8f73305eea8a David Fries 2014-01-15 41 * If we expect a reply to our message then the sequence number in
7672d0b5441137 Evgeniy Polyakov 2005-09-11 42 * received message MUST be the same as in original message, and
7672d0b5441137 Evgeniy Polyakov 2005-09-11 43 * acknowledge number MUST be the same + 1.
7672d0b5441137 Evgeniy Polyakov 2005-09-11 44 *
7672d0b5441137 Evgeniy Polyakov 2005-09-11 45 * If we receive a message and its sequence number is not equal to the
7672d0b5441137 Evgeniy Polyakov 2005-09-11 46 * one we are expecting then it is a new message.
7672d0b5441137 Evgeniy Polyakov 2005-09-11 47 *
7672d0b5441137 Evgeniy Polyakov 2005-09-11 48 * If we receive a message and its sequence number is the same as one
7672d0b5441137 Evgeniy Polyakov 2005-09-11 49 * we are expecting but it's acknowledgement number is not equal to
7672d0b5441137 Evgeniy Polyakov 2005-09-11 50 * the acknowledgement number in the original message + 1, then it is
7672d0b5441137 Evgeniy Polyakov 2005-09-11 51 * a new message.
7672d0b5441137 Evgeniy Polyakov 2005-09-11 52 *
34470e0bfae223 David Fries 2014-04-08 53 * If msg->len != len, then additional cn_msg messages are expected following
34470e0bfae223 David Fries 2014-04-08 54 * the first msg.
34470e0bfae223 David Fries 2014-04-08 55 *
ac8f73305eea8a David Fries 2014-01-15 56 * The message is sent to, the portid if given, the group if given, both if
ac8f73305eea8a David Fries 2014-01-15 57 * both, or if both are zero then the group is looked up and sent there.
7672d0b5441137 Evgeniy Polyakov 2005-09-11 58 */
e921441014422d Matt Bennett 2020-07-02 59 int cn_netlink_send_mult(struct net *net, struct cn_msg *msg, u16 len,
e921441014422d Matt Bennett 2020-07-02 60 u32 portid, u32 __group, gfp_t gfp_mask)
7672d0b5441137 Evgeniy Polyakov 2005-09-11 61 {
7672d0b5441137 Evgeniy Polyakov 2005-09-11 62 struct cn_callback_entry *__cbq;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 63 unsigned int size;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 64 struct sk_buff *skb;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 65 struct nlmsghdr *nlh;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 66 struct cn_msg *data;
32f49fbf9dcfe5 Matt Bennett 2020-07-02 67 struct cn_dev *dev = &(net->cdev);
7672d0b5441137 Evgeniy Polyakov 2005-09-11 68 u32 group = 0;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 69 int found = 0;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 70
32f49fbf9dcfe5 Matt Bennett 2020-07-02 @71 if (!msg || len < 0)
32f49fbf9dcfe5 Matt Bennett 2020-07-02 72 return -EINVAL;
32f49fbf9dcfe5 Matt Bennett 2020-07-02 73
ac8f73305eea8a David Fries 2014-01-15 74 if (portid || __group) {
ac8f73305eea8a David Fries 2014-01-15 75 group = __group;
ac8f73305eea8a David Fries 2014-01-15 76 } else {
7672d0b5441137 Evgeniy Polyakov 2005-09-11 77 spin_lock_bh(&dev->cbdev->queue_lock);
7672d0b5441137 Evgeniy Polyakov 2005-09-11 78 list_for_each_entry(__cbq, &dev->cbdev->queue_list,
7672d0b5441137 Evgeniy Polyakov 2005-09-11 79 callback_entry) {
acd042bb2de50d Evgeniy Polyakov 2005-09-26 80 if (cn_cb_equal(&__cbq->id.id, &msg->id)) {
7672d0b5441137 Evgeniy Polyakov 2005-09-11 81 found = 1;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 82 group = __cbq->group;
fd00eeccd92b7b Li Zefan 2008-01-04 83 break;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 84 }
7672d0b5441137 Evgeniy Polyakov 2005-09-11 85 }
7672d0b5441137 Evgeniy Polyakov 2005-09-11 86 spin_unlock_bh(&dev->cbdev->queue_lock);
7672d0b5441137 Evgeniy Polyakov 2005-09-11 87
7672d0b5441137 Evgeniy Polyakov 2005-09-11 88 if (!found)
7672d0b5441137 Evgeniy Polyakov 2005-09-11 89 return -ENODEV;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 90 }
7672d0b5441137 Evgeniy Polyakov 2005-09-11 91
ac8f73305eea8a David Fries 2014-01-15 92 if (!portid && !netlink_has_listeners(dev->nls, group))
b191ba0d599928 Evgeniy Polyakov 2006-03-20 93 return -ESRCH;
b191ba0d599928 Evgeniy Polyakov 2006-03-20 94
34470e0bfae223 David Fries 2014-04-08 95 size = sizeof(*msg) + len;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 96
9631d79e815197 Hong zhi guo 2013-03-27 97 skb = nlmsg_new(size, gfp_mask);
7672d0b5441137 Evgeniy Polyakov 2005-09-11 98 if (!skb)
7672d0b5441137 Evgeniy Polyakov 2005-09-11 99 return -ENOMEM;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 100
9631d79e815197 Hong zhi guo 2013-03-27 101 nlh = nlmsg_put(skb, 0, msg->seq, NLMSG_DONE, size, 0);
85c931665d822f Javier Martinez Canillas 2012-06-26 102 if (!nlh) {
85c931665d822f Javier Martinez Canillas 2012-06-26 103 kfree_skb(skb);
85c931665d822f Javier Martinez Canillas 2012-06-26 104 return -EMSGSIZE;
85c931665d822f Javier Martinez Canillas 2012-06-26 105 }
7672d0b5441137 Evgeniy Polyakov 2005-09-11 106
85c931665d822f Javier Martinez Canillas 2012-06-26 107 data = nlmsg_data(nlh);
7672d0b5441137 Evgeniy Polyakov 2005-09-11 108
ac73bf50b709de Mathias Krause 2013-09-30 109 memcpy(data, msg, size);
7672d0b5441137 Evgeniy Polyakov 2005-09-11 110
7672d0b5441137 Evgeniy Polyakov 2005-09-11 111 NETLINK_CB(skb).dst_group = group;
7672d0b5441137 Evgeniy Polyakov 2005-09-11 112
ac8f73305eea8a David Fries 2014-01-15 113 if (group)
ac8f73305eea8a David Fries 2014-01-15 114 return netlink_broadcast(dev->nls, skb, portid, group,
ac8f73305eea8a David Fries 2014-01-15 115 gfp_mask);
d0164adc89f6bb Mel Gorman 2015-11-06 116 return netlink_unicast(dev->nls, skb, portid,
d0164adc89f6bb Mel Gorman 2015-11-06 117 !gfpflags_allow_blocking(gfp_mask));
7672d0b5441137 Evgeniy Polyakov 2005-09-11 118 }
34470e0bfae223 David Fries 2014-04-08 119 EXPORT_SYMBOL_GPL(cn_netlink_send_mult);
34470e0bfae223 David Fries 2014-04-08 120
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [PATCH ipsec] xfrm: state: match with both mark and mask on user interfaces
by kernel test robot
CC: kbuild-all(a)lists.01.org
In-Reply-To: <4aaead9f8306859eb652b90582f23295792e9d15.1593497708.git.lucien.xin(a)gmail.com>
References: <4aaead9f8306859eb652b90582f23295792e9d15.1593497708.git.lucien.xin(a)gmail.com>
TO: Xin Long <lucien.xin(a)gmail.com>
TO: netdev(a)vger.kernel.org
CC: Steffen Klassert <steffen.klassert(a)secunet.com>
CC: Herbert Xu <herbert(a)gondor.apana.org.au>
CC: Jamal Hadi Salim <hadi(a)cyberus.ca>
CC: Sabrina Dubroca <sd(a)queasysnail.net>
CC: Tobias Brunner <tobias(a)strongswan.org>
Hi Xin,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on ipsec/master]
url: https://github.com/0day-ci/linux/commits/Xin-Long/xfrm-state-match-with-b...
base: https://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec.git master
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
config: arm-randconfig-m031-20200701 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 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>
smatch warnings:
net/xfrm/xfrm_state.c:1760 xfrm_state_lookup_user() warn: ignoring unreachable code.
# https://github.com/0day-ci/linux/commit/ef34e2d07ba51ae7e0ff334958449318e...
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout ef34e2d07ba51ae7e0ff334958449318e025e6b6
vim +1760 net/xfrm/xfrm_state.c
^1da177e4c3f415 Linus Torvalds 2005-04-16 1750
ef34e2d07ba51ae Xin Long 2020-06-30 1751 struct xfrm_state *
ef34e2d07ba51ae Xin Long 2020-06-30 1752 xfrm_state_lookup_user(struct net *net, const struct xfrm_mark *mark,
ef34e2d07ba51ae Xin Long 2020-06-30 1753 const xfrm_address_t *daddr, __be32 spi,
ef34e2d07ba51ae Xin Long 2020-06-30 1754 u8 proto, unsigned short family)
ef34e2d07ba51ae Xin Long 2020-06-30 1755 {
ef34e2d07ba51ae Xin Long 2020-06-30 1756 struct xfrm_state *x;
ef34e2d07ba51ae Xin Long 2020-06-30 1757
ef34e2d07ba51ae Xin Long 2020-06-30 1758 rcu_read_lock();
ef34e2d07ba51ae Xin Long 2020-06-30 1759 return __xfrm_state_lookup(net, 0, mark, daddr, spi, proto, family);
ef34e2d07ba51ae Xin Long 2020-06-30 @1760 rcu_read_unlock();
ef34e2d07ba51ae Xin Long 2020-06-30 1761 return x;
ef34e2d07ba51ae Xin Long 2020-06-30 1762 }
ef34e2d07ba51ae Xin Long 2020-06-30 1763 EXPORT_SYMBOL(xfrm_state_lookup_user);
ef34e2d07ba51ae Xin Long 2020-06-30 1764
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
[chrome-os:chromeos-5.4 106/119] drivers/gpu/drm/drm_dp_mst_topology.c:514:11-20: ERROR: reference preceded by free on line 514
by kernel test robot
CC: kbuild-all(a)lists.01.org
TO: cros-kernel-buildreports(a)googlegroups.com
TO: Guenter Roeck <groeck(a)google.com>
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: 11fd567e2203d2b542a5c5dd1b47907375ccc33b
commit: 412be66b38d17634ff346ef30e2820b347e997c0 [106/119] UPSTREAM: drm/dp_mst: Add sideband down request tracing + selftests
:::::: branch date: 5 hours ago
:::::: commit date: 8 hours ago
config: i386-randconfig-c001-20200701 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 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: Julia Lawall <julia.lawall(a)lip6.fr>
coccinelle warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/drm_dp_mst_topology.c:514:11-20: ERROR: reference preceded by free on line 514
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git remote update chrome-os
git checkout 412be66b38d17634ff346ef30e2820b347e997c0
vim +514 drivers/gpu/drm/drm_dp_mst_topology.c
412be66b38d176 Lyude Paul 2019-09-03 413
412be66b38d176 Lyude Paul 2019-09-03 414 /* Decode a sideband request we've encoded, mainly used for debugging */
412be66b38d176 Lyude Paul 2019-09-03 415 int
412be66b38d176 Lyude Paul 2019-09-03 416 drm_dp_decode_sideband_req(const struct drm_dp_sideband_msg_tx *raw,
412be66b38d176 Lyude Paul 2019-09-03 417 struct drm_dp_sideband_msg_req_body *req)
412be66b38d176 Lyude Paul 2019-09-03 418 {
412be66b38d176 Lyude Paul 2019-09-03 419 const u8 *buf = raw->msg;
412be66b38d176 Lyude Paul 2019-09-03 420 int i, idx = 0;
412be66b38d176 Lyude Paul 2019-09-03 421
412be66b38d176 Lyude Paul 2019-09-03 422 req->req_type = buf[idx++] & 0x7f;
412be66b38d176 Lyude Paul 2019-09-03 423 switch (req->req_type) {
412be66b38d176 Lyude Paul 2019-09-03 424 case DP_ENUM_PATH_RESOURCES:
412be66b38d176 Lyude Paul 2019-09-03 425 case DP_POWER_DOWN_PHY:
412be66b38d176 Lyude Paul 2019-09-03 426 case DP_POWER_UP_PHY:
412be66b38d176 Lyude Paul 2019-09-03 427 req->u.port_num.port_number = (buf[idx] >> 4) & 0xf;
412be66b38d176 Lyude Paul 2019-09-03 428 break;
412be66b38d176 Lyude Paul 2019-09-03 429 case DP_ALLOCATE_PAYLOAD:
412be66b38d176 Lyude Paul 2019-09-03 430 {
412be66b38d176 Lyude Paul 2019-09-03 431 struct drm_dp_allocate_payload *a =
412be66b38d176 Lyude Paul 2019-09-03 432 &req->u.allocate_payload;
412be66b38d176 Lyude Paul 2019-09-03 433
412be66b38d176 Lyude Paul 2019-09-03 434 a->number_sdp_streams = buf[idx] & 0xf;
412be66b38d176 Lyude Paul 2019-09-03 435 a->port_number = (buf[idx] >> 4) & 0xf;
412be66b38d176 Lyude Paul 2019-09-03 436
412be66b38d176 Lyude Paul 2019-09-03 437 WARN_ON(buf[++idx] & 0x80);
412be66b38d176 Lyude Paul 2019-09-03 438 a->vcpi = buf[idx] & 0x7f;
412be66b38d176 Lyude Paul 2019-09-03 439
412be66b38d176 Lyude Paul 2019-09-03 440 a->pbn = buf[++idx] << 8;
412be66b38d176 Lyude Paul 2019-09-03 441 a->pbn |= buf[++idx];
412be66b38d176 Lyude Paul 2019-09-03 442
412be66b38d176 Lyude Paul 2019-09-03 443 idx++;
412be66b38d176 Lyude Paul 2019-09-03 444 for (i = 0; i < a->number_sdp_streams; i++) {
412be66b38d176 Lyude Paul 2019-09-03 445 a->sdp_stream_sink[i] =
412be66b38d176 Lyude Paul 2019-09-03 446 (buf[idx + (i / 2)] >> ((i % 2) ? 0 : 4)) & 0xf;
412be66b38d176 Lyude Paul 2019-09-03 447 }
412be66b38d176 Lyude Paul 2019-09-03 448 }
412be66b38d176 Lyude Paul 2019-09-03 449 break;
412be66b38d176 Lyude Paul 2019-09-03 450 case DP_QUERY_PAYLOAD:
412be66b38d176 Lyude Paul 2019-09-03 451 req->u.query_payload.port_number = (buf[idx] >> 4) & 0xf;
412be66b38d176 Lyude Paul 2019-09-03 452 WARN_ON(buf[++idx] & 0x80);
412be66b38d176 Lyude Paul 2019-09-03 453 req->u.query_payload.vcpi = buf[idx] & 0x7f;
412be66b38d176 Lyude Paul 2019-09-03 454 break;
412be66b38d176 Lyude Paul 2019-09-03 455 case DP_REMOTE_DPCD_READ:
412be66b38d176 Lyude Paul 2019-09-03 456 {
412be66b38d176 Lyude Paul 2019-09-03 457 struct drm_dp_remote_dpcd_read *r = &req->u.dpcd_read;
412be66b38d176 Lyude Paul 2019-09-03 458
412be66b38d176 Lyude Paul 2019-09-03 459 r->port_number = (buf[idx] >> 4) & 0xf;
412be66b38d176 Lyude Paul 2019-09-03 460
412be66b38d176 Lyude Paul 2019-09-03 461 r->dpcd_address = (buf[idx] << 16) & 0xf0000;
412be66b38d176 Lyude Paul 2019-09-03 462 r->dpcd_address |= (buf[++idx] << 8) & 0xff00;
412be66b38d176 Lyude Paul 2019-09-03 463 r->dpcd_address |= buf[++idx] & 0xff;
412be66b38d176 Lyude Paul 2019-09-03 464
412be66b38d176 Lyude Paul 2019-09-03 465 r->num_bytes = buf[++idx];
412be66b38d176 Lyude Paul 2019-09-03 466 }
412be66b38d176 Lyude Paul 2019-09-03 467 break;
412be66b38d176 Lyude Paul 2019-09-03 468 case DP_REMOTE_DPCD_WRITE:
412be66b38d176 Lyude Paul 2019-09-03 469 {
412be66b38d176 Lyude Paul 2019-09-03 470 struct drm_dp_remote_dpcd_write *w =
412be66b38d176 Lyude Paul 2019-09-03 471 &req->u.dpcd_write;
412be66b38d176 Lyude Paul 2019-09-03 472
412be66b38d176 Lyude Paul 2019-09-03 473 w->port_number = (buf[idx] >> 4) & 0xf;
412be66b38d176 Lyude Paul 2019-09-03 474
412be66b38d176 Lyude Paul 2019-09-03 475 w->dpcd_address = (buf[idx] << 16) & 0xf0000;
412be66b38d176 Lyude Paul 2019-09-03 476 w->dpcd_address |= (buf[++idx] << 8) & 0xff00;
412be66b38d176 Lyude Paul 2019-09-03 477 w->dpcd_address |= buf[++idx] & 0xff;
412be66b38d176 Lyude Paul 2019-09-03 478
412be66b38d176 Lyude Paul 2019-09-03 479 w->num_bytes = buf[++idx];
412be66b38d176 Lyude Paul 2019-09-03 480
412be66b38d176 Lyude Paul 2019-09-03 481 w->bytes = kmemdup(&buf[++idx], w->num_bytes,
412be66b38d176 Lyude Paul 2019-09-03 482 GFP_KERNEL);
412be66b38d176 Lyude Paul 2019-09-03 483 if (!w->bytes)
412be66b38d176 Lyude Paul 2019-09-03 484 return -ENOMEM;
412be66b38d176 Lyude Paul 2019-09-03 485 }
412be66b38d176 Lyude Paul 2019-09-03 486 break;
412be66b38d176 Lyude Paul 2019-09-03 487 case DP_REMOTE_I2C_READ:
412be66b38d176 Lyude Paul 2019-09-03 488 {
412be66b38d176 Lyude Paul 2019-09-03 489 struct drm_dp_remote_i2c_read *r = &req->u.i2c_read;
412be66b38d176 Lyude Paul 2019-09-03 490 struct drm_dp_remote_i2c_read_tx *tx;
412be66b38d176 Lyude Paul 2019-09-03 491 bool failed = false;
412be66b38d176 Lyude Paul 2019-09-03 492
412be66b38d176 Lyude Paul 2019-09-03 493 r->num_transactions = buf[idx] & 0x3;
412be66b38d176 Lyude Paul 2019-09-03 494 r->port_number = (buf[idx] >> 4) & 0xf;
412be66b38d176 Lyude Paul 2019-09-03 495 for (i = 0; i < r->num_transactions; i++) {
412be66b38d176 Lyude Paul 2019-09-03 496 tx = &r->transactions[i];
412be66b38d176 Lyude Paul 2019-09-03 497
412be66b38d176 Lyude Paul 2019-09-03 498 tx->i2c_dev_id = buf[++idx] & 0x7f;
412be66b38d176 Lyude Paul 2019-09-03 499 tx->num_bytes = buf[++idx];
412be66b38d176 Lyude Paul 2019-09-03 500 tx->bytes = kmemdup(&buf[++idx],
412be66b38d176 Lyude Paul 2019-09-03 501 tx->num_bytes,
412be66b38d176 Lyude Paul 2019-09-03 502 GFP_KERNEL);
412be66b38d176 Lyude Paul 2019-09-03 503 if (!tx->bytes) {
412be66b38d176 Lyude Paul 2019-09-03 504 failed = true;
412be66b38d176 Lyude Paul 2019-09-03 505 break;
412be66b38d176 Lyude Paul 2019-09-03 506 }
412be66b38d176 Lyude Paul 2019-09-03 507 idx += tx->num_bytes;
412be66b38d176 Lyude Paul 2019-09-03 508 tx->no_stop_bit = (buf[idx] >> 5) & 0x1;
412be66b38d176 Lyude Paul 2019-09-03 509 tx->i2c_transaction_delay = buf[idx] & 0xf;
412be66b38d176 Lyude Paul 2019-09-03 510 }
412be66b38d176 Lyude Paul 2019-09-03 511
412be66b38d176 Lyude Paul 2019-09-03 512 if (failed) {
412be66b38d176 Lyude Paul 2019-09-03 513 for (i = 0; i < r->num_transactions; i++)
412be66b38d176 Lyude Paul 2019-09-03 @514 kfree(tx->bytes);
412be66b38d176 Lyude Paul 2019-09-03 515 return -ENOMEM;
412be66b38d176 Lyude Paul 2019-09-03 516 }
412be66b38d176 Lyude Paul 2019-09-03 517
412be66b38d176 Lyude Paul 2019-09-03 518 r->read_i2c_device_id = buf[++idx] & 0x7f;
412be66b38d176 Lyude Paul 2019-09-03 519 r->num_bytes_read = buf[++idx];
412be66b38d176 Lyude Paul 2019-09-03 520 }
412be66b38d176 Lyude Paul 2019-09-03 521 break;
412be66b38d176 Lyude Paul 2019-09-03 522 case DP_REMOTE_I2C_WRITE:
412be66b38d176 Lyude Paul 2019-09-03 523 {
412be66b38d176 Lyude Paul 2019-09-03 524 struct drm_dp_remote_i2c_write *w = &req->u.i2c_write;
412be66b38d176 Lyude Paul 2019-09-03 525
412be66b38d176 Lyude Paul 2019-09-03 526 w->port_number = (buf[idx] >> 4) & 0xf;
412be66b38d176 Lyude Paul 2019-09-03 527 w->write_i2c_device_id = buf[++idx] & 0x7f;
412be66b38d176 Lyude Paul 2019-09-03 528 w->num_bytes = buf[++idx];
412be66b38d176 Lyude Paul 2019-09-03 529 w->bytes = kmemdup(&buf[++idx], w->num_bytes,
412be66b38d176 Lyude Paul 2019-09-03 530 GFP_KERNEL);
412be66b38d176 Lyude Paul 2019-09-03 531 if (!w->bytes)
412be66b38d176 Lyude Paul 2019-09-03 532 return -ENOMEM;
412be66b38d176 Lyude Paul 2019-09-03 533 }
412be66b38d176 Lyude Paul 2019-09-03 534 break;
412be66b38d176 Lyude Paul 2019-09-03 535 }
412be66b38d176 Lyude Paul 2019-09-03 536
412be66b38d176 Lyude Paul 2019-09-03 537 return 0;
412be66b38d176 Lyude Paul 2019-09-03 538 }
412be66b38d176 Lyude Paul 2019-09-03 539 EXPORT_SYMBOL_FOR_TESTS_ONLY(drm_dp_decode_sideband_req);
412be66b38d176 Lyude Paul 2019-09-03 540
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [PATCH v6 08/12] device core: Introduce DMA range map, supplanting dma_pfn_offset
by kernel test robot
CC: kbuild-all(a)lists.01.org
In-Reply-To: <20200701212155.37830-9-james.quinlan(a)broadcom.com>
References: <20200701212155.37830-9-james.quinlan(a)broadcom.com>
TO: Jim Quinlan <james.quinlan(a)broadcom.com>
TO: linux-pci(a)vger.kernel.org
TO: Nicolas Saenz Julienne <nsaenzjulienne(a)suse.de>
TO: bcm-kernel-feedback-list(a)broadcom.com
TO: james.quinlan(a)broadcom.com
CC: Ulf Hansson <ulf.hansson(a)linaro.org>
CC: Rich Felker <dalias(a)libc.org>
CC: "open list:SUPERH" <linux-sh(a)vger.kernel.org>
CC: David Airlie <airlied(a)linux.ie>
CC: Hanjun Guo <guohanjun(a)huawei.com>
CC: "open list:REMOTE PROCESSOR REMOTEPROC SUBSYSTEM" <linux-remoteproc(a)vger.kernel.org>
Hi Jim,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on pci/next]
[also build test WARNING on robh/for-next linuxtv-media/master usb/usb-testing linus/master v5.8-rc3 next-20200701]
[cannot apply to sunxi/sunxi/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Jim-Quinlan/PCI-brcmstb-enable-P...
base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
:::::: branch date: 11 hours ago
:::::: commit date: 11 hours ago
config: arm-randconfig-m031-20200701 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 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>
smatch warnings:
drivers/of/address.c:1012 of_dma_get_range() warn: passing zero to 'ERR_PTR'
# https://github.com/0day-ci/linux/commit/0c50b6db383883854419f10df0d79b663...
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout 0c50b6db383883854419f10df0d79b663433f121
vim +/ERR_PTR +1012 drivers/of/address.c
0c50b6db383883 Jim Quinlan 2020-07-01 954
18308c94723e16 Grygorii Strashko 2014-04-24 955 /**
0c50b6db383883 Jim Quinlan 2020-07-01 956 * of_dma_get_range - Get DMA range info and put it into a map array
18308c94723e16 Grygorii Strashko 2014-04-24 957 * @np: device node to get DMA range info
18308c94723e16 Grygorii Strashko 2014-04-24 958 *
18308c94723e16 Grygorii Strashko 2014-04-24 959 * Look in bottom up direction for the first "dma-ranges" property
0c50b6db383883 Jim Quinlan 2020-07-01 960 * and parse it. Put the information into a DMA offset map array.
0c50b6db383883 Jim Quinlan 2020-07-01 961 *
18308c94723e16 Grygorii Strashko 2014-04-24 962 * dma-ranges format:
18308c94723e16 Grygorii Strashko 2014-04-24 963 * DMA addr (dma_addr) : naddr cells
18308c94723e16 Grygorii Strashko 2014-04-24 964 * CPU addr (phys_addr_t) : pna cells
18308c94723e16 Grygorii Strashko 2014-04-24 965 * size : nsize cells
18308c94723e16 Grygorii Strashko 2014-04-24 966 *
0c50b6db383883 Jim Quinlan 2020-07-01 967 * It returns -ENODEV if "dma-ranges" property was not found for this
0c50b6db383883 Jim Quinlan 2020-07-01 968 * device in the DT.
18308c94723e16 Grygorii Strashko 2014-04-24 969 */
0c50b6db383883 Jim Quinlan 2020-07-01 970 const struct bus_dma_region *of_dma_get_range(struct device_node *np)
18308c94723e16 Grygorii Strashko 2014-04-24 971 {
0c50b6db383883 Jim Quinlan 2020-07-01 972 const struct bus_dma_region *map = NULL;
18308c94723e16 Grygorii Strashko 2014-04-24 973 struct device_node *node = of_node_get(np);
0c50b6db383883 Jim Quinlan 2020-07-01 974 struct of_range_parser parser;
18308c94723e16 Grygorii Strashko 2014-04-24 975 const __be32 *ranges = NULL;
951d48855d86e7 Robin Murphy 2019-07-03 976 bool found_dma_ranges = false;
7a8b64d17e3581 Rob Herring 2020-02-06 977 struct of_range range;
0c50b6db383883 Jim Quinlan 2020-07-01 978 int len, num_ranges = 0;
0c50b6db383883 Jim Quinlan 2020-07-01 979 int ret = 0;
18308c94723e16 Grygorii Strashko 2014-04-24 980
951d48855d86e7 Robin Murphy 2019-07-03 981 while (node) {
18308c94723e16 Grygorii Strashko 2014-04-24 982 ranges = of_get_property(node, "dma-ranges", &len);
18308c94723e16 Grygorii Strashko 2014-04-24 983
18308c94723e16 Grygorii Strashko 2014-04-24 984 /* Ignore empty ranges, they imply no translation required */
18308c94723e16 Grygorii Strashko 2014-04-24 985 if (ranges && len > 0)
18308c94723e16 Grygorii Strashko 2014-04-24 986 break;
18308c94723e16 Grygorii Strashko 2014-04-24 987
951d48855d86e7 Robin Murphy 2019-07-03 988 /* Once we find 'dma-ranges', then a missing one is an error */
951d48855d86e7 Robin Murphy 2019-07-03 989 if (found_dma_ranges && !ranges) {
951d48855d86e7 Robin Murphy 2019-07-03 990 ret = -ENODEV;
951d48855d86e7 Robin Murphy 2019-07-03 991 goto out;
18308c94723e16 Grygorii Strashko 2014-04-24 992 }
951d48855d86e7 Robin Murphy 2019-07-03 993 found_dma_ranges = true;
18308c94723e16 Grygorii Strashko 2014-04-24 994
951d48855d86e7 Robin Murphy 2019-07-03 995 node = of_get_next_dma_parent(node);
951d48855d86e7 Robin Murphy 2019-07-03 996 }
951d48855d86e7 Robin Murphy 2019-07-03 997
951d48855d86e7 Robin Murphy 2019-07-03 998 if (!node || !ranges) {
0d638a07d3a1e9 Rob Herring 2017-06-01 999 pr_debug("no dma-ranges found for node(%pOF)\n", np);
18308c94723e16 Grygorii Strashko 2014-04-24 1000 ret = -ENODEV;
18308c94723e16 Grygorii Strashko 2014-04-24 1001 goto out;
18308c94723e16 Grygorii Strashko 2014-04-24 1002 }
18308c94723e16 Grygorii Strashko 2014-04-24 1003
7a8b64d17e3581 Rob Herring 2020-02-06 1004 of_dma_range_parser_init(&parser, node);
7a8b64d17e3581 Rob Herring 2020-02-06 1005
0c50b6db383883 Jim Quinlan 2020-07-01 1006 for_each_of_range(&parser, &range)
0c50b6db383883 Jim Quinlan 2020-07-01 1007 num_ranges++;
18308c94723e16 Grygorii Strashko 2014-04-24 1008
0c50b6db383883 Jim Quinlan 2020-07-01 1009 map = dma_create_offset_map(node, num_ranges);
18308c94723e16 Grygorii Strashko 2014-04-24 1010 out:
18308c94723e16 Grygorii Strashko 2014-04-24 1011 of_node_put(node);
0c50b6db383883 Jim Quinlan 2020-07-01 @1012 return map ? map : ERR_PTR(ret);
18308c94723e16 Grygorii Strashko 2014-04-24 1013 }
92ea637edea36e Santosh Shilimkar 2014-04-24 1014
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [Intel-gfx] [PATCH v6 3/3] drm/i915: Send hotplug event if edid had changed
by kernel test robot
CC: kbuild-all(a)lists.01.org
In-Reply-To: <20200630002700.5451-4-kunal1.joshi(a)intel.com>
References: <20200630002700.5451-4-kunal1.joshi(a)intel.com>
TO: Kunal Joshi <kunal1.joshi(a)intel.com>
Hi Kunal,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on drm-tip/drm-tip]
[also build test WARNING on linus/master v5.8-rc3]
[cannot apply to drm-intel/for-linux-next next-20200701]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Kunal-Joshi/Send-a-hotplug-when-...
base: git://anongit.freedesktop.org/drm/drm-tip drm-tip
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
cppcheck warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/i915/display/intel_hotplug.c:286:6: warning: Variable 'old_epoch_counter' is not assigned a value. [unassignedVariable]
u64 old_epoch_counter;
^
>> drivers/gpu/drm/i915/display/intel_hotplug.c:295:6: warning: Uninitialized variable: old_epoch_counter [uninitvar]
if (old_epoch_counter != connector->base.epoch_counter)
^
# https://github.com/0day-ci/linux/commit/52973bbb22573f4d170806d2ade0a8871...
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout 52973bbb22573f4d170806d2ade0a8871be92d89
vim +/old_epoch_counter +286 drivers/gpu/drm/i915/display/intel_hotplug.c
77913b39addfaa8 drivers/gpu/drm/i915/intel_hotplug.c Jani Nikula 2015-06-18 279
3944709df8e9298 drivers/gpu/drm/i915/display/intel_hotplug.c Imre Deak 2019-07-11 280 enum intel_hotplug_state
3944709df8e9298 drivers/gpu/drm/i915/display/intel_hotplug.c Imre Deak 2019-07-11 281 intel_encoder_hotplug(struct intel_encoder *encoder,
8c8919c7c99f097 drivers/gpu/drm/i915/display/intel_hotplug.c Imre Deak 2020-03-30 282 struct intel_connector *connector)
77913b39addfaa8 drivers/gpu/drm/i915/intel_hotplug.c Jani Nikula 2015-06-18 283 {
dba14b27dd3ca5c drivers/gpu/drm/i915/intel_hotplug.c Ville Syrjälä 2018-01-17 284 struct drm_device *dev = connector->base.dev;
77913b39addfaa8 drivers/gpu/drm/i915/intel_hotplug.c Jani Nikula 2015-06-18 285 enum drm_connector_status old_status;
52973bbb22573f4 drivers/gpu/drm/i915/display/intel_hotplug.c Stanislav Lisovskiy 2020-06-30 @286 u64 old_epoch_counter;
52973bbb22573f4 drivers/gpu/drm/i915/display/intel_hotplug.c Stanislav Lisovskiy 2020-06-30 287 bool ret = false;
77913b39addfaa8 drivers/gpu/drm/i915/intel_hotplug.c Jani Nikula 2015-06-18 288
f4224a4cb16c248 drivers/gpu/drm/i915/display/intel_hotplug.c Pankaj Bharadiya 2020-01-28 289 drm_WARN_ON(dev, !mutex_is_locked(&dev->mode_config.mutex));
dba14b27dd3ca5c drivers/gpu/drm/i915/intel_hotplug.c Ville Syrjälä 2018-01-17 290 old_status = connector->base.status;
77913b39addfaa8 drivers/gpu/drm/i915/intel_hotplug.c Jani Nikula 2015-06-18 291
dba14b27dd3ca5c drivers/gpu/drm/i915/intel_hotplug.c Ville Syrjälä 2018-01-17 292 connector->base.status =
dba14b27dd3ca5c drivers/gpu/drm/i915/intel_hotplug.c Ville Syrjälä 2018-01-17 293 drm_helper_probe_detect(&connector->base, NULL, false);
6c5ed5ae353cdf1 drivers/gpu/drm/i915/intel_hotplug.c Maarten Lankhorst 2017-04-06 294
52973bbb22573f4 drivers/gpu/drm/i915/display/intel_hotplug.c Stanislav Lisovskiy 2020-06-30 @295 if (old_epoch_counter != connector->base.epoch_counter)
52973bbb22573f4 drivers/gpu/drm/i915/display/intel_hotplug.c Stanislav Lisovskiy 2020-06-30 296 ret = true;
77913b39addfaa8 drivers/gpu/drm/i915/intel_hotplug.c Jani Nikula 2015-06-18 297
52973bbb22573f4 drivers/gpu/drm/i915/display/intel_hotplug.c Stanislav Lisovskiy 2020-06-30 298 if (ret) {
52973bbb22573f4 drivers/gpu/drm/i915/display/intel_hotplug.c Stanislav Lisovskiy 2020-06-30 299 DRM_DEBUG_KMS("[CONNECTOR:%d:%s] status updated from %s to %s(epoch counter %llu)\n",
dba14b27dd3ca5c drivers/gpu/drm/i915/intel_hotplug.c Ville Syrjälä 2018-01-17 300 connector->base.base.id,
dba14b27dd3ca5c drivers/gpu/drm/i915/intel_hotplug.c Ville Syrjälä 2018-01-17 301 connector->base.name,
77913b39addfaa8 drivers/gpu/drm/i915/intel_hotplug.c Jani Nikula 2015-06-18 302 drm_get_connector_status_name(old_status),
52973bbb22573f4 drivers/gpu/drm/i915/display/intel_hotplug.c Stanislav Lisovskiy 2020-06-30 303 drm_get_connector_status_name(connector->base.status),
52973bbb22573f4 drivers/gpu/drm/i915/display/intel_hotplug.c Stanislav Lisovskiy 2020-06-30 304 connector->base.epoch_counter);
3944709df8e9298 drivers/gpu/drm/i915/display/intel_hotplug.c Imre Deak 2019-07-11 305 return INTEL_HOTPLUG_CHANGED;
77913b39addfaa8 drivers/gpu/drm/i915/intel_hotplug.c Jani Nikula 2015-06-18 306 }
52973bbb22573f4 drivers/gpu/drm/i915/display/intel_hotplug.c Stanislav Lisovskiy 2020-06-30 307 return INTEL_HOTPLUG_UNCHANGED;
52973bbb22573f4 drivers/gpu/drm/i915/display/intel_hotplug.c Stanislav Lisovskiy 2020-06-30 308 }
77913b39addfaa8 drivers/gpu/drm/i915/intel_hotplug.c Jani Nikula 2015-06-18 309
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months