Lines Matching +full:reserved +full:- +full:memory
1 /* SPDX-License-Identifier: GPL-2.0-only */
21 #define DEFAULT_CU_TYPE 0x3832 /* virtio-ccw */
56 * Pre-requisites:
57 * - We need the test device as the first recognized
108 len = sizeof(*senseid) - ret; in test_sense()
116 if (senseid->reserved != 0xff) { in test_sense()
117 report_fail("transferred garbage: 0x%02x", senseid->reserved); in test_sense()
123 report_info("reserved 0x%02x cu_type 0x%04x cu_model 0x%02x dev_type 0x%04x dev_model 0x%02x", in test_sense()
124 senseid->reserved, senseid->cu_type, senseid->cu_model, in test_sense()
125 senseid->dev_type, senseid->dev_model); in test_sense()
127 report(senseid->cu_type == cu_type, "cu_type expected 0x%04x got 0x%04x", in test_sense()
128 (uint16_t)cu_type, senseid->cu_type); in test_sense()
156 /* bits 59-63 of MB address must be 0 if MBU is defined */ in test_schm()
163 /* bits 36-61 of register 1 (flags) must be 0 */ in test_schm()
212 * With measurement block format 0 a memory space is shared
239 mb0->ssch_rsch_count == SCHM_UPDATE_CNT, in test_schm_fmt0()
240 "SSCH measured %d", mb0->ssch_rsch_count); in test_schm_fmt0()
273 pmcw->flags |= PMCW_MBUE; in msch_with_wrong_fmt1_mbo()
274 pmcw->flags2 |= PMCW_MBF1; in msch_with_wrong_fmt1_mbo()
323 report(mb1->ssch_rsch_count == SCHM_UPDATE_CNT, in test_schm_fmt1()
324 "SSCH measured %d", mb1->ssch_rsch_count); in test_schm_fmt1()
373 schib.pmcw.flags = old_pmcw_flags | BIT(15 - invalid_flag); in test_msch()
380 report(!(test_schib.pmcw.flags & BIT(15 - invalid_flag)), "Clear on STSCH"); in test_msch()
421 return (crw & GENMASK(31 - rsc_begin, 31 - rsc_end)) >> 24; in crw_get_rsc()
531 * No matter if multiple-subchannel-set facility is installed, bit 47 in test_stsch()
559 schib.pmcw.flags = old_pmcw_flags | BIT(15 - 5); in test_pmcw_bit5()
565 report(!(schib.pmcw.flags & BIT(15 - 5)), "STSCH PMCW Bit 5 is clear"); in test_pmcw_bit5()
571 schib.pmcw.flags = old_pmcw_flags & ~BIT(15 - 5); in test_pmcw_bit5()
577 report(!(schib.pmcw.flags & BIT(15 - 5)), "STSCH PMCW Bit 5 is clear"); in test_pmcw_bit5()