From patchwork Wed Mar 3 08:25:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Roger_Pau_Monn=C3=A9?= X-Patchwork-Id: 12113141 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4116C433DB for ; Wed, 3 Mar 2021 08:26:14 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5913964EDB for ; Wed, 3 Mar 2021 08:26:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5913964EDB Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.92736.174768 (Exim 4.92) (envelope-from ) id 1lHMpX-0007oJ-QL; Wed, 03 Mar 2021 08:26:03 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 92736.174768; Wed, 03 Mar 2021 08:26:03 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lHMpX-0007oC-Lv; Wed, 03 Mar 2021 08:26:03 +0000 Received: by outflank-mailman (input) for mailman id 92736; Wed, 03 Mar 2021 08:26:03 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lHMpX-0007mZ-3u for xen-devel@lists.xenproject.org; Wed, 03 Mar 2021 08:26:03 +0000 Received: from esa5.hc3370-68.iphmx.com (unknown [216.71.155.168]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 7e5071a3-8de0-4f9a-a884-eb1606359e18; Wed, 03 Mar 2021 08:25:58 +0000 (UTC) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 7e5071a3-8de0-4f9a-a884-eb1606359e18 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1614759957; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=Bowp7Wjx76RKiUGMtyN1bCNIOiEoEQH+54Xofmt6Xu8=; b=YbHuRwCsVsWD0MV8zihPXBq3euf/Nh/Eqc+Fzx6gSeLgRDndWkMQqri0 K77epKH95LiltdAex1XyPvo0qUozcTnwHQY2ohptpeC23NcwSbkE9+3Bh Ti59FZw+3bS2Bi0/3lrUAflPnBhHrrjX0fAhDCRW1NfcQAgPDBfYftvvZ 4=; Authentication-Results: esa5.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com IronPort-SDR: dLFieh7Zi3e1s0DJLqo8QBG2mPyZ/Iq5CYIm2WK8XEOVYdndkfdXPOVismd8n0jsOaUtocC2QG hNVykmRC8nuZrlwJgY9ashLGLyMKO6dXJka4vWIwlEEAIP6wIgvsfCi+YJ40fh8OE1zwNuu68y H4himy3URnNkjINS0X35G8ibDBqqXQGsX1i3DJ6VP9TOu3ozitkImYpWU+eTEewCcsXdFuBp9O I39i9opgWh8rjiIaIVnisyacfRlvmn4nTxmLgxUo/SuT7YmnKsCWV9bAJuxXD4xc44mlvg4/4g Z10= X-SBRS: 5.2 X-MesageID: 38330486 X-Ironport-Server: esa5.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.83 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.81,219,1610427600"; d="scan'208";a="38330486" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=III0ggyLBXW69OMXvG3EaFSo/79OHHLJV57yIlvojLHthBEBdWwiswyDgeIFajWjAV3Hn6OIuIMzNeP5k/i7ZPEL+EENcNu/FyzZnIafg6DyKk3xK8+J3vWzAKNSfJh3gdkMi3t1iYKkRPfii21VhCFlmNo7Vh1x9+w+WDHnetzT1Vs6nD4zKFrnoU35k4FzrJ9YLzJJULPLYCBih609ax8WfiBl6K9wbEvoMeEn70FsZtUYByPgy3te8DUWmaTgeEC9iG9SBF/N5SkH2B+DoAR77PSGlo+5tX0yWOxB3vLFLpMmJDmCpt2mekGKSkrZE+D0slW2xLvXsa0VfQcb0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P3LB65WjW0c6CvpRFxDabMFvI7fjVEVfNgsKLhiqLOo=; b=U4jHue1ZVwOnVw9OQHgYTfqA8O5qpU3lp8/pNHLafSAlXNXqIElRjkdhe7dPTZaVtN8tdBMmaMnNhREuV9ISezjw4+jYwXRtgLMYUUdLxyPemDXM93tCexBjZk1LemTcR0D3Xdh1OeezjLwZTPeDjsdeTL+/MpRGn6MchibWERFIXxMW02yrCe7cBaAhEBL/wTplTJ6vWRzvOEuGuiCAo2hRWYJE7GIBVm3DB1hQ84aVdLiCE09c1Ld3fPb5DvrJc/T52rtydQ2aFcZRbzDSllFOEyAu8EMObH76Rv0BV4yya3wCBWvrHu2ZjXNYmPahPuY7a6IEbuv6X+KYDw3WXQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.onmicrosoft.com; s=selector2-citrix-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P3LB65WjW0c6CvpRFxDabMFvI7fjVEVfNgsKLhiqLOo=; b=XLmnEzlmcotL2o/Df9lSSS6hBeH07oWe54ohGQ3kEXF1puZ+ysaefErGB6f5LB6SZqUDvRBLOAPkXF03QjCH0Vc3culPv0YOyLGkMjNJOtcUjQVCA9Y6fysbEmO2RMnP2O25WG7EQ1kURFtpKJxe1lPNrwZqgaAFjP+LjxvvO8Q= From: Roger Pau Monne To: CC: Roger Pau Monne , Ian Jackson , Wei Liu , Jan Beulich , Andrew Cooper , Doug Goldstein Subject: [PATCH v2 for-4.15 0/2] firmware: fix build on Alpine Date: Wed, 3 Mar 2021 09:25:12 +0100 Message-ID: <20210303082514.8859-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.30.1 X-ClientProxiedBy: MR2P264CA0169.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501::8) To DS7PR03MB5608.namprd03.prod.outlook.com (2603:10b6:5:2c9::18) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b3d05af0-7d10-4671-f2d4-08d8de1de637 X-MS-TrafficTypeDiagnostic: DM5PR03MB2971: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: O7VcekSjR/VFEPc5R+OF5Ukwcc0UgfV7x5/PuJLsW27ElS8ZAEOrfpAHqvhgPzExEeHNkBMJKTKAWxC+bH2CvwCNQWuZRCnl19zW3TmzEo33L45gz7e6PkI42uyUMX9yoA6sjrnIsbnscoyarjM2MKqOnpwjVSIPYcKDmF5YRwkW8e608xnQcro1XRY8YFlhxZ8ZTK8mivazIKcjiqKyHJFwyg/n/InoJFeUm50NqdCnla1vGBKJLZUBgDXKoPTT8/u8JL8GU0YgX7JjS+ygsptcS4Fm565RbEUvvW+KcsNkMS8fydZxFykslwVMhf//+iC8Jm9kwczi5teDw5eispNjaEbm82xWBVD1Q9ga4R+fVqALJ64FzhngvWY80YyKfKtON8h8mCGWLDEkCBuqLmrRyJe7x5VN4iHgvJrEaFwUvbI+64cLrY8C+4pcMH7o1d4vEng9CWjIEpuEzrujpOUFsj7780IW1f9rgEL1p6GyOzcdxWYVz836I6ELNlTdSiK5GsyB48PwPFwfQ/ZwJUZRwS9poGF/RZdxNZfCD0z2bLCuggzzYpgdZNz6HLElYjYf8sYdpOXyf2+oF44r9DyRWfEO8Z0UlCOWYE6vdyw= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS7PR03MB5608.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(366004)(346002)(39840400004)(396003)(136003)(83380400001)(316002)(16526019)(186003)(6486002)(4326008)(6916009)(966005)(1076003)(54906003)(26005)(66946007)(36756003)(478600001)(86362001)(6666004)(956004)(8676002)(8936002)(2906002)(66556008)(2616005)(66476007)(6496006)(5660300002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?q?APApog9E6DCfoFyLdO7gPpdZa6+kR7?= =?utf-8?q?2rVajGLv65f4TnFNNWAy4/XVLXVNWHXNSurTFCwfVQyVbMN+ecvmzxb95m4lThriK?= =?utf-8?q?obMRyeHqTDovtAWb1JgsUAz/jezAkwK433wQHfxHooNYT88vRxlBdakp0P2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429EYW3hFG9LZuxyDBV?= =?utf-8?q?DcQQutKESz6D3BJuQIJvWlueiJk1dDd48BtdZkbRk4RzvYiMiZSV45nMvsQdqjzBI?= =?utf-8?q?t8maiDCWgDatLgazC+ACczfL4vKrIzsgaox/bOurLEsZcqGNIg/gVAr+pmOGuIW5j?= =?utf-8?q?yDA1o7+xCCoznvTWGxc1ASenotmzqrDsNP7Ro88amWkPNsfxXz/bdydWD6ebpbPqa?= =?utf-8?q?4HIQ5LP7AukU1SLj4QjH+wE6t5PHU1MFmzYSQ7RN+Y7UR2d/E0tEpOq0xk5QXJMnW?= =?utf-8?q?h8PSgLVVHUxOdQ?= X-MS-Exchange-CrossTenant-Network-Message-Id: b3d05af0-7d10-4671-f2d4-08d8de1de637 X-MS-Exchange-CrossTenant-AuthSource: DS7PR03MB5608.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2021 08:25:27.3228 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335836de-42ef-43a2-b145-348c2ee9ca5b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ZuYXjDHR2BMK4cFyA834gj7LdCTNb/S6JWRX9yrOZF78QYdKSzaHas48tM+jkd3PldhbnvnuUf6nwwkqFEJxZQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR03MB2971 X-OriginatorOrg: citrix.com Hello, While the series started as a build fix for Alpine I think they are interesting on their own for other OSes/distros. The main risk for patch 1 is breaking the build in some obscure distro/OS and toolchain combination. We aim to have this mostly covered by gitlab CI. Patch 2 main risk is breaking the Alpine containers in gitlab CI, but they are already failing. Wanted to send this yesterday but was waiting on gitlab CI output, it's now all green: https://gitlab.com/xen-project/people/royger/xen/-/pipelines/264321420 Thanks, Roger. Roger Pau Monne (2): firmware: provide a stand alone set of headers automation: enable rombios build on Alpine automation/scripts/build | 5 +-- tools/firmware/Rules.mk | 13 +++++++ tools/firmware/include/stdarg.h | 10 +++++ tools/firmware/include/stdbool.h | 9 +++++ tools/firmware/include/stddef.h | 10 +++++ tools/firmware/include/stdint.h | 39 +++++++++++++++++++ tools/firmware/rombios/32bit/rombios_compat.h | 4 +- 7 files changed, 84 insertions(+), 6 deletions(-) create mode 100644 tools/firmware/include/stdarg.h create mode 100644 tools/firmware/include/stdbool.h create mode 100644 tools/firmware/include/stddef.h create mode 100644 tools/firmware/include/stdint.h