Public bug reported:

[ Impact ]

 * EFAULT is handled as a non-fatal error that can trigger more issues
due to bad handling such as

    [  191.738349] WARNING: CPU: 1 PID: 157 at 
drivers/gpu/drm/xe/xe_res_cursor.h:158 xe_pt_stage_bind.constprop.0+0x60a/0x6b0
[xe]
    [  191.738551] Workqueue: xe-ordered-wq preempt_rebind_work_func [xe]
    [  191.738616] RIP: 0010:xe_pt_stage_bind.constprop.0+0x60a/0x6b0 [xe]
    [  191.738690] Call Trace:
    [  191.738692]  <TASK>
    [  191.738694]  ? show_regs+0x69/0x80
    [  191.738698]  ? __warn+0x93/0x1a0
    [  191.738703]  ? xe_pt_stage_bind.constprop.0+0x60a/0x6b0 [xe]
    [  191.738759]  ? report_bug+0x18f/0x1a0
    [  191.738764]  ? handle_bug+0x63/0xa0
    [  191.738767]  ? exc_invalid_op+0x19/0x70
    [  191.738770]  ? asm_exc_invalid_op+0x1b/0x20
    [  191.738777]  ? xe_pt_stage_bind.constprop.0+0x60a/0x6b0 [xe]
    [  191.738834]  ? ret_from_fork_asm+0x1a/0x30
    [  191.738849]  bind_op_prepare+0x105/0x7b0 [xe]
    [  191.738906]  ? dma_resv_reserve_fences+0x301/0x380
    [  191.738912]  xe_pt_update_ops_prepare+0x28c/0x4b0 [xe]
    [  191.738966]  ? kmemleak_alloc+0x4b/0x80
    [  191.738973]  ops_execute+0x188/0x9d0 [xe]
    [  191.739036]  xe_vm_rebind+0x4ce/0x5a0 [xe]
    [  191.739098]  ? trace_hardirqs_on+0x4d/0x60
    [  191.739112]  preempt_rebind_work_func+0x76f/0xd00 [xe]

[ Fix ]

* upstream fix :
6b93cb98910c drm/xe/userptr: fix EFAULT handling

[ Test Plan ]

 * Compiled.

[ Where problems could occur ]

 * Regression in error handling mechanism in BMG driver.

[ Other Info ]

 * Pointed by intel as missing.

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Thibault Ferrante (thibf)
         Status: New

** Affects: linux (Ubuntu Oracular)
     Importance: Undecided
         Status: New

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => Thibault Ferrante (thibf)

** Also affects: linux (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** Also affects: linux-intel (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** No longer affects: linux-intel (Ubuntu)

** No longer affects: linux-intel (Ubuntu Oracular)

** Description changed:

  [ Impact ]
  
-  * EFAULT is handled as a non-fatal error that can trigger more issues
+  * EFAULT is handled as a non-fatal error that can trigger more issues
  due to bad handling such as
  
-     [  191.738349] WARNING: CPU: 1 PID: 157 at 
drivers/gpu/drm/xe/xe_res_cursor.h:158 xe_pt_stage_bind.constprop.0+0x60a/0x6b0 
+     [  191.738349] WARNING: CPU: 1 PID: 157 at 
drivers/gpu/drm/xe/xe_res_cursor.h:158 xe_pt_stage_bind.constprop.0+0x60a/0x6b0
  [xe]
-     [  191.738551] Workqueue: xe-ordered-wq preempt_rebind_work_func [xe]
-     [  191.738616] RIP: 0010:xe_pt_stage_bind.constprop.0+0x60a/0x6b0 [xe]
-     [  191.738690] Call Trace:
-     [  191.738692]  <TASK>
-     [  191.738694]  ? show_regs+0x69/0x80
-     [  191.738698]  ? __warn+0x93/0x1a0
-     [  191.738703]  ? xe_pt_stage_bind.constprop.0+0x60a/0x6b0 [xe]
-     [  191.738759]  ? report_bug+0x18f/0x1a0
-     [  191.738764]  ? handle_bug+0x63/0xa0
-     [  191.738767]  ? exc_invalid_op+0x19/0x70
-     [  191.738770]  ? asm_exc_invalid_op+0x1b/0x20
-     [  191.738777]  ? xe_pt_stage_bind.constprop.0+0x60a/0x6b0 [xe]
-     [  191.738834]  ? ret_from_fork_asm+0x1a/0x30
-     [  191.738849]  bind_op_prepare+0x105/0x7b0 [xe]
-     [  191.738906]  ? dma_resv_reserve_fences+0x301/0x380
-     [  191.738912]  xe_pt_update_ops_prepare+0x28c/0x4b0 [xe]
-     [  191.738966]  ? kmemleak_alloc+0x4b/0x80
-     [  191.738973]  ops_execute+0x188/0x9d0 [xe]
-     [  191.739036]  xe_vm_rebind+0x4ce/0x5a0 [xe]
-     [  191.739098]  ? trace_hardirqs_on+0x4d/0x60
-     [  191.739112]  preempt_rebind_work_func+0x76f/0xd00 [xe]
- 
+     [  191.738551] Workqueue: xe-ordered-wq preempt_rebind_work_func [xe]
+     [  191.738616] RIP: 0010:xe_pt_stage_bind.constprop.0+0x60a/0x6b0 [xe]
+     [  191.738690] Call Trace:
+     [  191.738692]  <TASK>
+     [  191.738694]  ? show_regs+0x69/0x80
+     [  191.738698]  ? __warn+0x93/0x1a0
+     [  191.738703]  ? xe_pt_stage_bind.constprop.0+0x60a/0x6b0 [xe]
+     [  191.738759]  ? report_bug+0x18f/0x1a0
+     [  191.738764]  ? handle_bug+0x63/0xa0
+     [  191.738767]  ? exc_invalid_op+0x19/0x70
+     [  191.738770]  ? asm_exc_invalid_op+0x1b/0x20
+     [  191.738777]  ? xe_pt_stage_bind.constprop.0+0x60a/0x6b0 [xe]
+     [  191.738834]  ? ret_from_fork_asm+0x1a/0x30
+     [  191.738849]  bind_op_prepare+0x105/0x7b0 [xe]
+     [  191.738906]  ? dma_resv_reserve_fences+0x301/0x380
+     [  191.738912]  xe_pt_update_ops_prepare+0x28c/0x4b0 [xe]
+     [  191.738966]  ? kmemleak_alloc+0x4b/0x80
+     [  191.738973]  ops_execute+0x188/0x9d0 [xe]
+     [  191.739036]  xe_vm_rebind+0x4ce/0x5a0 [xe]
+     [  191.739098]  ? trace_hardirqs_on+0x4d/0x60
+     [  191.739112]  preempt_rebind_work_func+0x76f/0xd00 [xe]
  
  [ Fix ]
  
- * upstream fix : 
+ * upstream fix :
  6b93cb98910c drm/xe/userptr: fix EFAULT handling
  
  [ Test Plan ]
  
-  * Built.
+  * Compiled.
  
  [ Where problems could occur ]
  
-  * Regression in error handling mechanism in BMG
+  * Regression in error handling mechanism in BMG driver.
  
  [ Other Info ]
-  
-  * Pointed by intel as missing.
+ 
+  * Pointed by intel as missing.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2102657

Title:
  BMG: fix EFAULT handling

Status in linux package in Ubuntu:
  New
Status in linux source package in Oracular:
  New

Bug description:
  [ Impact ]

   * EFAULT is handled as a non-fatal error that can trigger more issues
  due to bad handling such as

      [  191.738349] WARNING: CPU: 1 PID: 157 at 
drivers/gpu/drm/xe/xe_res_cursor.h:158 xe_pt_stage_bind.constprop.0+0x60a/0x6b0
  [xe]
      [  191.738551] Workqueue: xe-ordered-wq preempt_rebind_work_func [xe]
      [  191.738616] RIP: 0010:xe_pt_stage_bind.constprop.0+0x60a/0x6b0 [xe]
      [  191.738690] Call Trace:
      [  191.738692]  <TASK>
      [  191.738694]  ? show_regs+0x69/0x80
      [  191.738698]  ? __warn+0x93/0x1a0
      [  191.738703]  ? xe_pt_stage_bind.constprop.0+0x60a/0x6b0 [xe]
      [  191.738759]  ? report_bug+0x18f/0x1a0
      [  191.738764]  ? handle_bug+0x63/0xa0
      [  191.738767]  ? exc_invalid_op+0x19/0x70
      [  191.738770]  ? asm_exc_invalid_op+0x1b/0x20
      [  191.738777]  ? xe_pt_stage_bind.constprop.0+0x60a/0x6b0 [xe]
      [  191.738834]  ? ret_from_fork_asm+0x1a/0x30
      [  191.738849]  bind_op_prepare+0x105/0x7b0 [xe]
      [  191.738906]  ? dma_resv_reserve_fences+0x301/0x380
      [  191.738912]  xe_pt_update_ops_prepare+0x28c/0x4b0 [xe]
      [  191.738966]  ? kmemleak_alloc+0x4b/0x80
      [  191.738973]  ops_execute+0x188/0x9d0 [xe]
      [  191.739036]  xe_vm_rebind+0x4ce/0x5a0 [xe]
      [  191.739098]  ? trace_hardirqs_on+0x4d/0x60
      [  191.739112]  preempt_rebind_work_func+0x76f/0xd00 [xe]

  [ Fix ]

  * upstream fix :
  6b93cb98910c drm/xe/userptr: fix EFAULT handling

  [ Test Plan ]

   * Compiled.

  [ Where problems could occur ]

   * Regression in error handling mechanism in BMG driver.

  [ Other Info ]

   * Pointed by intel as missing.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2102657/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to