<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/include/linux/errinfo.h, branch rtss22-ae</title>
<subtitle>NVIDIA's kernel modules to support tegra chips (used in Jetson boards)</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/'/>
<entry>
<title>Err-inject: Handle generic sync exception reports</title>
<updated>2020-02-21T22:40:30+00:00</updated>
<author>
<name>Andre Richter</name>
<email>arichter@nvidia.com</email>
</author>
<published>2020-02-13T16:21:51+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=534e799439b0af8f436c69767b5699b317d45606'/>
<id>534e799439b0af8f436c69767b5699b317d45606</id>
<content type='text'>
This change extends the existing minimal placeholder sample handler for
injected synchronous exceptions. It now consumes a generic sync exception
report and, showcases how the information can be used to decode the
exceptions further using two minimal examples (Data Abort and Instr Abort).

This needs to be used only as a reference for any customized elaborate
error handling that may be needed.

JIRA ESV-312
Bug 2580803

Change-Id: I32cf2322a6002ac00071d3246a32a17eb37165c3
Signed-off-by: Andre Richter &lt;arichter@nvidia.com&gt;
(cherry picked from commit 9ce3c05e425607a1acf0a28ea75258fb66f06820)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2300616
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-by: Rohit Upadhyay &lt;rupadhyay@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change extends the existing minimal placeholder sample handler for
injected synchronous exceptions. It now consumes a generic sync exception
report and, showcases how the information can be used to decode the
exceptions further using two minimal examples (Data Abort and Instr Abort).

This needs to be used only as a reference for any customized elaborate
error handling that may be needed.

JIRA ESV-312
Bug 2580803

Change-Id: I32cf2322a6002ac00071d3246a32a17eb37165c3
Signed-off-by: Andre Richter &lt;arichter@nvidia.com&gt;
(cherry picked from commit 9ce3c05e425607a1acf0a28ea75258fb66f06820)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2300616
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-by: Rohit Upadhyay &lt;rupadhyay@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
</pre>
</div>
</content>
</entry>
<entry>
<title>inject-vm-err: T19x MC error handler</title>
<updated>2020-01-24T07:42:16+00:00</updated>
<author>
<name>Potharaju Ravi Teja</name>
<email>pteja@nvidia.com</email>
</author>
<published>2019-10-24T07:25:13+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=17dd85a1cc1d3c97e3db3d92ccfb9db50602e410'/>
<id>17dd85a1cc1d3c97e3db3d92ccfb9db50602e410</id>
<content type='text'>
- Add support to handle Memory Controller errors on
  on t19x.
- This change adds a sample handler for MC errors.
  It is a minimal handler that just dumps error
  information to the console. This can be used as
  a reference to implement an elaborate error
  handler.

Bug 2580803

Change-Id: Ib86b925125650b4812fdbee5310455ae95ccd83c
(cherry picked from commit 6c8395d11872f79ab5819a9900cb40b8f946852e)
Signed-off-by: Potharaju Ravi Teja &lt;pteja@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2279875
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Add support to handle Memory Controller errors on
  on t19x.
- This change adds a sample handler for MC errors.
  It is a minimal handler that just dumps error
  information to the console. This can be used as
  a reference to implement an elaborate error
  handler.

Bug 2580803

Change-Id: Ib86b925125650b4812fdbee5310455ae95ccd83c
(cherry picked from commit 6c8395d11872f79ab5819a9900cb40b8f946852e)
Signed-off-by: Potharaju Ravi Teja &lt;pteja@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2279875
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>inject-vm-err: CBB error handler</title>
<updated>2020-01-24T07:41:56+00:00</updated>
<author>
<name>Potharaju Ravi Teja</name>
<email>pteja@nvidia.com</email>
</author>
<published>2019-10-24T05:37:52+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=7544f678853edea145beff4fb0971fe343ce854e'/>
<id>7544f678853edea145beff4fb0971fe343ce854e</id>
<content type='text'>
Add support to handle control back bone errors.

- This change adds a sample handler for cbb error.
  It is a minimal handler that just dumps error
  information to the console. This can be used as
  a reference to implement an elaborate error
  handler.

Bug 2580803

Change-Id: I2fbbc994854611a54276068ee90f1d2cffeeb948
(cherry picked from commit ea898756f7b2e4aff8f89546f3b69fc4e97fd300)
Signed-off-by: Potharaju Ravi Teja &lt;pteja@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2279874
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Reviewed-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-by: Rohit Upadhyay &lt;rupadhyay@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support to handle control back bone errors.

- This change adds a sample handler for cbb error.
  It is a minimal handler that just dumps error
  information to the console. This can be used as
  a reference to implement an elaborate error
  handler.

Bug 2580803

Change-Id: I2fbbc994854611a54276068ee90f1d2cffeeb948
(cherry picked from commit ea898756f7b2e4aff8f89546f3b69fc4e97fd300)
Signed-off-by: Potharaju Ravi Teja &lt;pteja@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2279874
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Reviewed-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-by: Rohit Upadhyay &lt;rupadhyay@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>inject-vm-err: misc. improvements</title>
<updated>2019-12-24T19:59:10+00:00</updated>
<author>
<name>Yashomati</name>
<email>ygodbole@nvidia.com</email>
</author>
<published>2019-10-30T20:02:08+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=eb4d442fb0bd424c6bc6e4ce593368363161ad80'/>
<id>eb4d442fb0bd424c6bc6e4ce593368363161ad80</id>
<content type='text'>
- Prevented bad mode entry for unassigned offender as no point
  in rebooting the Privileged guest in that case.
- Made the driver to fire build bug if sizes of structures
  shared with HV code are out of sync.
- Replaced enum variables with unsigned int in err_data structure
  members to avoid ambiguity in size used by HV and Linux compilers
  for enum.
- Renamed variables from camelCase to small_case, added tegra-hv
  prefix, etc.
- Removed sending of redundant parameter while sending ack for
  sync error.
- Added #undef _X5,6,7_X17 for completeness that was missed earlier.

JIRA ESV-312
Bug 2580803

Change-Id: Ibf49c80a2e781dd75faadd96813b9c19e31e68bf
Signed-off-by: Yashomati &lt;ygodbole@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2228786
(cherry picked from commit 7364fbd8661997c98a4d9fa036ad3a5659fe319e)
Reviewed-on: https://git-master.nvidia.com/r/2254757
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-by: Hardik T Shah &lt;hardikts@nvidia.com&gt;
Reviewed-by: Rohit Upadhyay &lt;rupadhyay@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Prevented bad mode entry for unassigned offender as no point
  in rebooting the Privileged guest in that case.
- Made the driver to fire build bug if sizes of structures
  shared with HV code are out of sync.
- Replaced enum variables with unsigned int in err_data structure
  members to avoid ambiguity in size used by HV and Linux compilers
  for enum.
- Renamed variables from camelCase to small_case, added tegra-hv
  prefix, etc.
- Removed sending of redundant parameter while sending ack for
  sync error.
- Added #undef _X5,6,7_X17 for completeness that was missed earlier.

JIRA ESV-312
Bug 2580803

Change-Id: Ibf49c80a2e781dd75faadd96813b9c19e31e68bf
Signed-off-by: Yashomati &lt;ygodbole@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2228786
(cherry picked from commit 7364fbd8661997c98a4d9fa036ad3a5659fe319e)
Reviewed-on: https://git-master.nvidia.com/r/2254757
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-by: Hardik T Shah &lt;hardikts@nvidia.com&gt;
Reviewed-by: Rohit Upadhyay &lt;rupadhyay@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>inject-vm-err: handlers for injected errors</title>
<updated>2019-12-24T19:56:43+00:00</updated>
<author>
<name>Yashomati</name>
<email>ygodbole@nvidia.com</email>
</author>
<published>2019-06-01T01:59:52+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=87dc30edda5936afa82b0afa821c8be2e44343c5'/>
<id>87dc30edda5936afa82b0afa821c8be2e44343c5</id>
<content type='text'>
If Linux/EBP causes an error that HV can't handle,
then instead of freezing the guest, HV injects the
error back into the guest. This enables the guest
to handle the error as gracefully as it can/needs.

This changeset provides 2 parts:
1. sample handlers: minimal placeholder handlers that
just dump the error information on to the console. This
is to be used as a reference for any customized elaborate
error handling that may be needed.

2. library module: it comes into existence only if/when
any error handler is registered. Its main responsibilities:
- map memory that's shared with HV where HV dumps all
information about the errors.
- register handlers for interrupts used by HV to inject
errors
- invoke custom error handlers when HV injects error

JIRA ESV-312
Bug 2580803

Change-Id: Ia8c6484d423fd33cabbfd901f0f6ebb0da95cb40
Signed-off-by: Yashomati &lt;ygodbole@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2214402
Reviewed-on: https://git-master.nvidia.com/r/2128765
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-by: Hardik T Shah &lt;hardikts@nvidia.com&gt;
Reviewed-by: Rohit Upadhyay &lt;rupadhyay@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If Linux/EBP causes an error that HV can't handle,
then instead of freezing the guest, HV injects the
error back into the guest. This enables the guest
to handle the error as gracefully as it can/needs.

This changeset provides 2 parts:
1. sample handlers: minimal placeholder handlers that
just dump the error information on to the console. This
is to be used as a reference for any customized elaborate
error handling that may be needed.

2. library module: it comes into existence only if/when
any error handler is registered. Its main responsibilities:
- map memory that's shared with HV where HV dumps all
information about the errors.
- register handlers for interrupts used by HV to inject
errors
- invoke custom error handlers when HV injects error

JIRA ESV-312
Bug 2580803

Change-Id: Ia8c6484d423fd33cabbfd901f0f6ebb0da95cb40
Signed-off-by: Yashomati &lt;ygodbole@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2214402
Reviewed-on: https://git-master.nvidia.com/r/2128765
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-by: Hardik T Shah &lt;hardikts@nvidia.com&gt;
Reviewed-by: Rohit Upadhyay &lt;rupadhyay@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
