Re: [PATCH v2 3/4] hw/cxl/mbox: replace sanitize_running() with cxl_dev_media_disabled()

2024-04-01 Thread Jonathan Cameron via
On Sun, 21 Jan 2024 21:50:00 -0500 Hyeonggon Yoo <42.hye...@gmail.com> wrote: > On Tue, Jan 9, 2024 at 12:54 PM Jonathan Cameron > wrote: > > > > On Fri, 22 Dec 2023 18:00:50 +0900 > > Hyeonggon Yoo <42.hye...@gmail.com> wrote: > > > > > The spec states that reads/writes should have no effect

Re: [PATCH v2 3/4] hw/cxl/mbox: replace sanitize_running() with cxl_dev_media_disabled()

2024-01-21 Thread Hyeonggon Yoo
On Tue, Jan 9, 2024 at 12:54 PM Jonathan Cameron wrote: > > On Fri, 22 Dec 2023 18:00:50 +0900 > Hyeonggon Yoo <42.hye...@gmail.com> wrote: > > > The spec states that reads/writes should have no effect and a part of > > commands should be ignored when the media is disabled, not when the > >

Re: [PATCH v2 3/4] hw/cxl/mbox: replace sanitize_running() with cxl_dev_media_disabled()

2024-01-09 Thread Jonathan Cameron via
On Fri, 22 Dec 2023 18:00:50 +0900 Hyeonggon Yoo <42.hye...@gmail.com> wrote: > The spec states that reads/writes should have no effect and a part of > commands should be ignored when the media is disabled, not when the > sanitize command is running.qq > > Introduce cxl_dev_media_disabled() to

[PATCH v2 3/4] hw/cxl/mbox: replace sanitize_running() with cxl_dev_media_disabled()

2023-12-22 Thread Hyeonggon Yoo
The spec states that reads/writes should have no effect and a part of commands should be ignored when the media is disabled, not when the sanitize command is running. Introduce cxl_dev_media_disabled() to check if the media is disabled and replace sanitize_running() with it. Make sure that the