<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15161</bug_id>
          
          <creation_ts>2023-07-14 13:07:54 +0000</creation_ts>
          <short_desc>qemuarm/nodistro/ linux-yocto 6.4 fails parselogs</short_desc>
          <delta_ts>2023-08-10 14:52:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>kernel</component>
          <version>4.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>jdmason</cc>
    
    <cc>jon.mason</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95923</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2023-07-14 13:07:54 +0000</bug_when>
    <thetext>Since linux-yocto upgraded to 6.4, qemuarm for nodistro fails in testimage&apos;s parselogs because the virtio framebuffer doesn&apos;t behave as before:


[    49.134] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[    49.138] (II) FBDEV(0): checking modes against framebuffer device...
[    49.144] (II) FBDEV(0): 	mode &quot;640x480&quot; test failed
[    49.148] (II) FBDEV(0): 	mode &quot;640x480&quot; test failed
[    49.153] (II) FBDEV(0): 	mode &quot;640x480&quot; test failed
[    49.157] (II) FBDEV(0): 	mode &quot;640x480&quot; test failed
[    49.159] (II) FBDEV(0): 	mode &quot;640x480&quot; not found

Interestingly it works with poky, so presumably enabling GL in xserver results in a different codepath.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96016</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2023-07-21 16:22:41 +0000</bug_when>
    <thetext>Jon bisected the kernel change down to:

commit ee4cce0a8f03a3332ccf48ef8b420a65d02d1fcf (refs/bisect/bad)
Author: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Date:   Tue Apr 4 21:40:38 2023 +0200
    drm/fb-helper: fix input validation gaps in check_var
    Apparently drivers need to check all this stuff themselves, which for
    most things makes sense I guess. And for everything else we luck out,
    because modern distros stopped supporting any other fbdev drivers than
    drm ones and I really don&apos;t want to argue anymore about who needs to
    check stuff. Therefore fixing all this just for drm fbdev emulation is
    good enough.
    Note that var-&gt;active is not set or validated. This is just control
    flow for fbmem.c and needs to be validated in there as needed.
    Reviewed-by: Javier Martinez Canillas &lt;javierm@redhat.com&gt;
    Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
    Cc: Maarten Lankhorst &lt;maarten.lankhorst@linux.intel.com&gt;
    Cc: Maxime Ripard &lt;mripard@kernel.org&gt;
    Cc: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
    Link: https://patchwork.freedesktop.org/patch/msgid/20230404194038.472803-3-daniel.vetter@ffwll.ch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96025</commentid>
    <comment_count>2</comment_count>
    <who name="Jon Mason">jon.mason</who>
    <bug_when>2023-07-24 14:45:42 +0000</bug_when>
    <thetext>It appears that this patch is zero&apos;ing variables that were not touched previous, which is causing the issue.  Specifically in __fill_var, 

       var-&gt;left_margin = var-&gt;right_margin = 0;
       var-&gt;upper_margin = var-&gt;lower_margin = 0;
       var-&gt;hsync_len = var-&gt;vsync_len = 0;


if those lines are removed, then it is happy again.  The investigation as to why this was changed continues</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96233</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2023-08-10 14:52:13 +0000</bug_when>
    <thetext>Fixed in oe-core 366d7876a70ab8833ccc0cb6607aac7e8a0311b8.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>