Re: [kvm-unit-tests PATCH v6 06/10] s390x: css: stsch, enumeration test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2020-05-14 14:05, Cornelia Huck wrote:
On Fri, 24 Apr 2020 12:45:48 +0200
Pierre Morel <pmorel@xxxxxxxxxxxxx> wrote:

First step for testing the channel subsystem is to enumerate the css and
retrieve the css devices.

This tests the success of STSCH I/O instruction, we do not test the

s/of/of the/

Yes, zhanks.


reaction of the VM for an instruction with wrong parameters.

Signed-off-by: Pierre Morel <pmorel@xxxxxxxxxxxxx>
---
  lib/s390x/css.h     |  1 +
  s390x/Makefile      |  2 +
  s390x/css.c         | 92 +++++++++++++++++++++++++++++++++++++++++++++
  s390x/unittests.cfg |  4 ++
  4 files changed, 99 insertions(+)
  create mode 100644 s390x/css.c


(...)

+static void test_enumerate(void)
+{
+	struct pmcw *pmcw = &schib.pmcw;
...snip...
			goto out;
+		default:	/* 1 or 2 should never happened for STSCH */

s/happened/happen/

Yes, thanks.


+			report(0, "Unexpected cc=%d on subchannel number 0x%x",
+			       cc, scn);
+			return;
+		}


Thanks,

Regards,
Pierre

--
Pierre Morel
IBM Lab Boeblingen



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux