next/master bisection: baseline.login on rk3399-gru-kevin
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Ray,
Please see the bisection report below about a boot failure on rk3399-gru-kevin on linux-next.
Reports aren't automatically sent to the public while we're trialing new bisection features on kernelci.org but this one looks valid.
The boot log shows a kernel panic with a NULL pointer dereference:
Some more details can be found here:
https://kernelci.org/test/case/id/60405c6fa031a93136addcc0/
Please let us know if you need any help with debugging the issue or trying a fix on this platform.
Thanks,
Guillaume
Quoted 166 lines · KernelCI bot
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This automated bisection report was sent to you on the basis * * that you may be involved with the breaking commit it has * * found. No manual investigation has been done to verify it, * * and the root cause of the problem may be somewhere else. * * * * If you do send a fix, please include this trailer: * * Reported-by: "kernelci.org bot" <[email protected]> * * * * Hope this helps! ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
next/master bisection: baseline.login on rk3399-gru-kevin
Summary:
Start: f5427c2460eb Add linux-next specific files for 20210304 Plain log: https://storage.kernelci.org/next/master/next-20210304/arm64/defconfig+CONFIG_RANDOMIZE_BASE=y/gcc-8/lab-collabora/baseline-rk3399-gru-kevin.txt HTML log: https://storage.kernelci.org/next/master/next-20210304/arm64/defconfig+CONFIG_RANDOMIZE_BASE=y/gcc-8/lab-collabora/baseline-rk3399-gru-kevin.html Result: 59fa3def35de usb: dwc3: add a power supply for current controlChecks:
revert: PASS
verify: PASSParameters:
Tree: next URL: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git Branch: master Target: rk3399-gru-kevin CPU arch: arm64 Lab: lab-collabora Compiler: gcc-8 Config: defconfig+CONFIG_RANDOMIZE_BASE=y Test case: baseline.loginBreaking commit found:
-------------------------------------------------------------------------------
commit59fa3def35de957881ac142a384487e27e8fe527Author: Ray Chi <[email protected]> Date: Mon Feb 22 19:51:48 2021 +0800usb: dwc3: add a power supply for current control
Currently, VBUS draw callback does no action when the generic PHYs are used. This patch adds an additional path to control charging current through power supply interface.
Signed-off-by Ray Chi <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>drivers/usb/dwc3/core.c +15
-0@@ -1238,6 +1238,8 @@ static void dwc3_get_properties(struct dwc3 *dwc)u8 rx_max_burst_prd;u8 tx_thr_num_pkt_prd;u8 tx_max_burst_prd; +const char *usb_psy_name; +int ret;/* default to highest possible threshold */ lpm_nyet_threshold =0xf ;@@ -1263,6 +1265,13 @@ static void dwc3_get_properties(struct dwc3 *dwc)else dwc->sysdev = dwc->dev; + ret =device_property_read_string (dev,"usb-psy-name" , &usb_psy_name); +if (ret >=0 ) { + dwc->usb_psy =power_supply_get_by_name (usb_psy_name); +if (!dwc->usb_psy) +dev_err (dev,"couldn't get usb power supply\n" ); + } + dwc->has_lpm_erratum =device_property_read_bool (dev,"snps,has-lpm-erratum" ); device_property_read_u8(dev, "snps,lpm-nyet-threshold",@@ -1619,6 +1628,9 @@ static int dwc3_probe(struct platform_device *pdev) assert_reset:reset_control_assert (dwc->reset); +if (!dwc->usb_psy) +power_supply_put (dwc->usb_psy); +return ret; }@@ -1641,6 +1653,9 @@ static int dwc3_remove(struct platform_device *pdev)dwc3_free_event_buffers (dwc);dwc3_free_scratch_buffers (dwc); +if (!dwc->usb_psy) +power_supply_put (dwc->usb_psy); +return 0 ; }drivers/usb/dwc3/core.h +4
-1@@ -30,6 +30,8 @@#include <linux/phy/phy.h> +#include <linux/power_supply.h> +#define DWC3_MSG_MAX 500/* Global constants */ @@ -1125,6 +1127,8 @@ struct dwc3 {struct usb_role_switch *role_sw;enum usb_dr_mode role_switch_default_mode; +struct power_supply *usb_psy; +u32 fladj;u32 irq_gadget;u32 otg_irq; -------------------------------------------------------------------------------Git bisection log:
-------------------------------------------------------------------------------
git bisect start
# good: [f69d02e37a85645aa90d18cacfff36dba370f797] Merge tag 'misc-5.12-2021-03-02' ofgit://git.kernel.dk/linux-block
git bisect goodf69d02e37a85645aa90d18cacfff36dba370f797
# bad: [f5427c2460ebc11b1a66c1742d41077ae5b99796] Add linux-next specific files for 20210304
git bisect badf5427c2460ebc11b1a66c1742d41077ae5b99796
# good: [10dde63b6343e57cdaf20c7a7f62ea66a45bb437] Merge remote-tracking branch 'bluetooth/master' git bisect good10dde63b6343e57cdaf20c7a7f62ea66a45bb437
# good: [266b341281956da101598f2bc3435ecda7a41f25] Merge remote-tracking branch 'irqchip/irq/irqchip-next' git bisect good266b341281956da101598f2bc3435ecda7a41f25
# bad: [2024dc5b38616653e9223479c425c4c79028f2ba] Merge remote-tracking branch 'thunderbolt/next' git bisect bad2024dc5b38616653e9223479c425c4c79028f2ba
# good: [034fb9700e21a140656a0c5f22c4c740194a8c85] torture: Rename SRCU-t and SRCU-u to avoid lowercase characters git bisect good034fb9700e21a140656a0c5f22c4c740194a8c85
# good: [4ed7b3163ff5061eef889d1722953389eff021f2] Merge remote-tracking branch 'kvm-arm/next'
git bisect good4ed7b3163ff5061eef889d1722953389eff021f2
# bad: [5bb9cdb320a5ca631b584a9aa1ba472eb14705af] USB: removeusb_bus_typefromusb.h
git bisect bad5bb9cdb320a5ca631b584a9aa1ba472eb14705af
# bad: [5410c878cc60bd73a045ba25982a1bad1bd85241] USB: core: no need to saveusb_devices_root
git bisect bad5410c878cc60bd73a045ba25982a1bad1bd85241
# bad: [76813aabd81ffe8ef9a084faf6d66233cf013357] usb: typec: tps6598x: Add trace event for power status register git bisect bad76813aabd81ffe8ef9a084faf6d66233cf013357
# bad: [effcaf3f59b5557b0423f4b0d64df49658a9ec64] usb: dwc3: add an alternate path invbus_drawcallback git bisect badeffcaf3f59b5557b0423f4b0d64df49658a9ec64
# bad: [59fa3def35de957881ac142a384487e27e8fe527] usb: dwc3: add a power supply for current control git bisect bad59fa3def35de957881ac142a384487e27e8fe527# first bad commit: [59fa3def35de957881ac142a384487e27e8fe527] usb: dwc3: add a power supply for current control --------------------------------------------------------------------------------=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#7723): https://groups.io/g/kernelci-results/message/7723
Mute This Topic: https://groups.io/mt/81049198/924702
Group Owner: [email protected]
Unsubscribe: https://groups.io/g/kernelci-results/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Greg Kroah-Hartman
maintainerQuoted 5 lines · Guillaume Tucker
Hi Ray,
Please see the bisection report below about a boot failure on rk3399-gru-kevin on linux-next.
Quoted 8 lines
Reports aren't automatically sent to the public while we're trialing new bisection features on kernelci.org but this one looks valid.
The boot log shows a kernel panic with a NULL pointer dereference:
Well known issue, fix is already in my tree, will show up in the next linux-next, thanks!
greg k-h