From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D625C76188 for ; Wed, 5 Apr 2023 08:45:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237551AbjDEIpn (ORCPT ); Wed, 5 Apr 2023 04:45:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231742AbjDEIpl (ORCPT ); Wed, 5 Apr 2023 04:45:41 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 307782736 for ; Wed, 5 Apr 2023 01:45:40 -0700 (PDT) Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3358H1Go010908; Wed, 5 Apr 2023 08:45:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : mime-version; s=pp1; bh=dl/F/f8PkuP1spi4uvvY2WfKSGk+MrlOvi3z/Ap1wSM=; b=GB2CkFCIbwlUbBrshsAcpyfmawyNRWnMIpXg5yinG56v9BCijWUivpxPJlCCmQaElGYK ZCoyQO+42jEd6wYbrkxQhWy4/0no+PEFkdn0SqGEuiiHrqMTMev/v69ZzCZ/BbtiiB6m o4kQKjhU0fnA4JRtUb3D+nKMa6EmIivK6sCoMNPAZ5aWeRqQccGYFV/K4yOkt85dt/od ouq8EZIhVxb0wcxHOQwO8ona5KqAnsIpFkt1TYmm4R4giuEyoygfrA4/L/xB2MojXlIh lht883q+NHf21b5+zYmr5cc8RfXuk9t04FoxcWL/il30HoLRpc9YezoJw37Xi0gdD/yT lw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3ps5be0p4c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Apr 2023 08:45:37 +0000 Received: from m0098410.ppops.net (m0098410.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3358IIH2016106; Wed, 5 Apr 2023 08:45:36 GMT Received: from ppma02fra.de.ibm.com (47.49.7a9f.ip4.static.sl-reverse.com [159.122.73.71]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3ps5be0p3q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Apr 2023 08:45:36 +0000 Received: from pps.filterd (ppma02fra.de.ibm.com [127.0.0.1]) by ppma02fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3351oPcx016802; Wed, 5 Apr 2023 08:45:34 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma02fra.de.ibm.com (PPS) with ESMTPS id 3ppc86td23-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Apr 2023 08:45:34 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3358jU3723593660 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 5 Apr 2023 08:45:30 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C02362004B; Wed, 5 Apr 2023 08:45:30 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 59ED320040; Wed, 5 Apr 2023 08:45:30 +0000 (GMT) Received: from t14-nrb.ibmuc.com (unknown [9.171.30.226]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP; Wed, 5 Apr 2023 08:45:30 +0000 (GMT) From: Nico Boehr To: thuth@redhat.com, pbonzini@redhat.com, andrew.jones@linux.dev Cc: kvm@vger.kernel.org, frankja@linux.ibm.com, imbrenda@linux.ibm.com Subject: [kvm-unit-tests GIT PULL v3 00/14] s390x: new maintainer, refactor linker scripts, tests for misalignments, execute-type instructions and vSIE epdx Date: Wed, 5 Apr 2023 10:45:14 +0200 Message-Id: <20230405084528.16027-1-nrb@linux.ibm.com> X-Mailer: git-send-email 2.39.2 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: l5IkGs8Gkgy_H1t4XS8d3sOt7ZFEi2DY X-Proofpoint-ORIG-GUID: iVRdkVwxQMoHMJJchA4MyMSZKfBr_p6A Content-Transfer-Encoding: 8bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-05_04,2023-04-04_05,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 mlxlogscore=999 impostorscore=0 lowpriorityscore=0 priorityscore=1501 bulkscore=0 spamscore=0 clxscore=1015 adultscore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304050079 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Hi Paolo and/or Thomas, so, here's the secondthird try of the first pull request from me :) v2: --- * fixup Nina's execute test to compile with Clang v1: --- * pick up a new version of Nina's spec_ex series to fix clang compiler issue and missing barrier. Changes in this pull request: * Marc contributed a series with a few fixes. Most importantly, it generates linker scripts for s390x with the assembler, permitting the use of defines in linker scripts. It is worth noting that it also touches lib/linux/const.h to check for __ASSEMBLY__ and __ASSEMBLER__. * Nina contributed quite a few tests for misalignments in various instructions. As well as tests for execute-type instructions. Note that a few of her tests will require recent QEMUs under TCG. Upstream fixes are available [1, 2]. * Thomas contributed a test for vSIE on s390x, where the g3 clock might sometimes we wrong after reboot. A kernel patch is required[3]. * And, finally, the patch where I get the honor to work as maintainer. MERGE: https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/merge_requests/42 PIPELINE: https://gitlab.com/Nico-Boehr/kvm-unit-tests/-/pipelines/828580218 PULL: https://gitlab.com/Nico-Boehr/kvm-unit-tests.git s390x-2023-03 [1] https://lists.gnu.org/archive/html/qemu-devel/2023-03/msg04860.html [2] https://lists.gnu.org/archive/html/qemu-devel/2023-03/msg04896.html [3] https://lore.kernel.org/kvm/20221123090833.292938-1-thuth@redhat.com/ The following changes since commit 5b5d27da2973b20ec29b18df4d749fb2190458af: memory: Skip tests for instructions that are absent (2023-04-03 18:44:24 +0200) are available in the Git repository at: https://gitlab.com/Nico-Boehr/kvm-unit-tests.git s390x-2023-03 for you to fetch changes up to f72ecf786b81aca39c26df43dba54e80f941770b: s390x: sie: Test whether the epoch extension field is working as expected (2023-04-05 10:34:55 +0200) Janosch Frank (1): MAINTAINERS: Add Nico as s390x Maintainer and make Thomas reviewer Marc Hartmayer (7): .gitignore: ignore `s390x/comm.key` file s390x/Makefile: simplify `%.hdr` target rules s390x/Makefile: fix `*.gbin` target dependencies s390x/Makefile: refactor CPPFLAGS s390x: use preprocessor for linker script generation s390x: define a macro for the stack frame size lib/linux/const.h: test for `__ASSEMBLER__` as well Nina Schoetterl-Glausch (5): s390x/spec_ex: Use PSW macro s390x/spec_ex: Add test introducing odd address into PSW s390x/spec_ex: Add test of EXECUTE with odd target address s390x: Add tests for execute-type instructions s390x: spec_ex: Add test for misaligned load Thomas Huth (1): s390x: sie: Test whether the epoch extension field is working as expected MAINTAINERS | 3 +- s390x/Makefile | 28 +-- lib/linux/const.h | 2 +- lib/s390x/asm-offsets.c | 1 + s390x/cstart64.S | 2 +- s390x/{flat.lds => flat.lds.S} | 4 +- s390x/macros.S | 4 +- s390x/snippets/asm/{flat.lds => flat.lds.S} | 0 s390x/snippets/c/{flat.lds => flat.lds.S} | 6 +- s390x/ex.c | 197 ++++++++++++++++++++ s390x/gs.c | 38 ++-- s390x/sie.c | 28 +++ s390x/spec_ex.c | 106 +++++++++-- s390x/unittests.cfg | 3 + .gitignore | 2 + .gitlab-ci.yml | 1 + 16 files changed, 379 insertions(+), 46 deletions(-) rename s390x/{flat.lds => flat.lds.S} (93%) rename s390x/snippets/asm/{flat.lds => flat.lds.S} (100%) rename s390x/snippets/c/{flat.lds => flat.lds.S} (88%) create mode 100644 s390x/ex.c -- 2.39.2