Skip to content
Snippets Groups Projects
  1. May 30, 2023
  2. May 26, 2023
  3. May 23, 2023
    • Nícolas F. R. A. Prado's avatar
      arm64: configs: Get ChromeOS tast tests working · f82b1968
      Nícolas F. R. A. Prado authored
      
      When trying to run ChromeOS tast tests on this branch, the kernel
      currently hangs during boot with
      
      <6>[   16.512796] Run /sbin/init as init process
      <0>[   16.618777] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
      
      <4>[   16.662990]  dump_backtrace+0xa4/0x130
      <4>[   16.671662]  show_stack+0x20/0x38
      <4>[   16.679790]  dump_stack_lvl+0x78/0xc8
      <4>[   16.688217]  dump_stack+0x18/0x28
      <4>[   16.696158]  panic+0x35c/0x3c8
      <4>[   16.703752]  do_exit+0x890/0x9c8
      <4>[   16.711480]  do_group_exit+0x3c/0xa0
      <4>[   16.719494]  __arm64_sys_exit_group+0x20/0x28
      <4>[   16.728269]  invoke_syscall+0x50/0x128
      <4>[   16.736330]  el0_svc_common.constprop.0+0x58/0x188
      <4>[   16.745388]  do_el0_svc_compat+0x24/0x58
      <4>[   16.753527]  el0_svc_compat+0x2c/0xb8
      <4>[   16.761281]  el0t_32_sync_handler+0x90/0x140
      <4>[   16.769608]  el0t_32_sync+0x1a8/0x1b0
      
      With these configs enabled, when running the cros-tast-kernel test, it
      now boots successfully and gives the following results, which are on par
      the -fixed test (ie the downstream kernel):
      
      kernel.ConfigVerify.chromeos_kernelci[1;33m [ SKIP ] [0mmissing SoftwareDeps: chromeos_kernelci
      kernel.PerfCallgraph                 [1;33m [ SKIP ] [0mmissing SoftwareDeps: amd64
      kernel.Bloat                         [1;32m [ PASS ] [0m
      kernel.CPUCgroup                     [1;32m [ PASS ] [0m
      kernel.Cpuidle                       [1;31m [ FAIL ] [0mExpected cpuidle governor: got "menu", want "teo"
      kernel.CryptoAPI                     [1;32m [ PASS ] [0m
      kernel.CryptoDigest                  [1;32m [ PASS ] [0m
      kernel.ECDeviceNode                  [1;32m [ PASS ] [0m
      kernel.HighResTimers                 [1;32m [ PASS ] [0m
      kernel.Limits                        [1;31m [ FAIL ] [0m/proc/sys/kernel/sched_rt_runtime_us contains 950000; want 850000
      
      Most of the configs added here are probably unrelated. This is a quick
      and dirty solution to get tast working on our integration branch. We
      should track down what configs from this list are actually needed.
      
      Signed-off-by: default avatarNícolas F. R. A. Prado <nfraprado@collabora.com>
      f82b1968
  4. May 18, 2023
    • Nícolas F. R. A. Prado's avatar
      Revert "net: Remove low_thresh in ip defrag" · 06a9625b
      Nícolas F. R. A. Prado authored
      This reverts commit b2cbac9b.
      
      It's causing spammy warnings:
      sysctl net/netfilter/nf_conntrack_frag6_low_thresh: data points to kernel global data: nf_conntrack_frag6_low_thresh_unused
      06a9625b
    • Nícolas F. R. A. Prado's avatar
      drm/bridge: anx7625: Prevent endless probe loop · 81283aeb
      Nícolas F. R. A. Prado authored
      
      During probe, the driver registers i2c dummy devices and populates the
      aux bus, which registers a device for the panel. After doing that, the
      driver can still defer probe if needed. This ordering of operations is
      troublesome however, because the deferred probe work will retry probing
      all pending devices every time a new device is registered. Therefore, if
      modules need to be loaded in order to satisfy the dependencies for this
      driver to complete probe, the kernel will stall, since it'll keep trying
      to probe the anx7625 driver, but never succeed, given that modules would
      only be loaded after the deferred probe work completes.
      
      Two changes are required to avoid this issue:
      * Move of_find_mipi_dsi_host_by_node(), which can defer probe, to before
        anx7625_register_i2c_dummy_clients() and
        devm_of_dp_aux_populate_ep_devices(), which register devices.
      * Make use of the done_probing callback when populating the aux bus,
        so that the bridge registration is only done after the panel is
        probed. This is required because the panel might need to defer probe,
        but the aux bus population needs the i2c dummy devices working, so
        this call couldn't just be moved to an earlier point in probe.
        One caveat is that if the panel is described outside the aux bus, the
        probe loop issue can still happen, but we don't have a way to avoid
        it in that case since there's no callback available.
      
      With this patch applied, it's possible to boot on
      mt8192-asurada-spherion with
      
      CONFIG_DRM_ANALOGIX_ANX7625=y
      CONFIG_MTK_MMSYS=m
      CONFIG_BACKLIGHT_PWM=y
      
      and also with
      
      CONFIG_DRM_ANALOGIX_ANX7625=y
      CONFIG_MTK_MMSYS=y
      CONFIG_BACKLIGHT_PWM=m
      
      Fixes: adca62ec ("drm/bridge: anx7625: Support reading edid through aux channel")
      Fixes: 26933299 ("drm/bridge: anx7625: Return -EPROBE_DEFER if the dsi host was not found")
      Reported-by: default avatar"kernelci.org bot" <bot@kernelci.org>
      Signed-off-by: default avatarNícolas F. R. A. Prado <nfraprado@collabora.com>
      [nfraprado: with conflicts fixed to apply on top of type-c series]
      
      Series-to: Robert Foss <rfoss@kernel.org>
      Series-cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
      Series-cc: Pin-yen Lin <treapking@chromium.org>
      Series-cc: kernel@collabora.com
      81283aeb
  5. May 16, 2023
Loading