From patchwork Wed Nov 14 19:29:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 151115 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6087041ljp; Wed, 14 Nov 2018 11:30:52 -0800 (PST) X-Google-Smtp-Source: AJdET5d29qqeZ6Zo/y9WFRB7/lrb5qaa3ZpVaBK7iSNh52TIo8Mvs7dtInXbO1fM0OAMaCZsHVEU X-Received: by 2002:aed:306c:: with SMTP id 99mr2994929qte.61.1542223852532; Wed, 14 Nov 2018 11:30:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542223852; cv=none; d=google.com; s=arc-20160816; b=SpNen0KX+lOrtviI87tMtWP5O7vNdKeVoYX7oYoU1bKoYbn2xFkUQvOADh4qFGw/yh uV0tk1jrDCkdvODaBHzfo4SpADmi2vy5rjj8SErogXbXVYszTVtDwBketpDzL3KHwPYd Td+ouveLpeuSz0PqklOv/p0d15mpukEKyE6HgFsm8VTkTr2RFq09Ty5JXEWWsaancJoJ lahFudZPfnLgJlXYh/KJVXfGo/uKBMlq5F48PTH75AnA0zqFyylCjLS4CvcM7bGJsx6s WCfvAka3zNsQ9A4OMNvKCtIVwuK+ulbQZKm943EvumWUkCp6rhaniEvra5t3gfdGv46O dKdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:to:from:dkim-signature; bh=CzclCeFvLoqXc4njigz/RFgQvHV+IjfF/XgCV9RL+30=; b=OWi3R5kgZYdLvtx4jyNujsl1Qs3rfDNHhDYEnUCGRMfqYAaRfLIdsP8epixPcZexRJ ttK40qcfFP/+E/VDFFfMr8mQKZP9PU6sBs5pRa1OP2GBD+41c8p3r0cOA4b04A2ar0UB A/tslNitRqDV4y1/Ut2Sk0dM1Vf7AIj1bkEJOkb5gqbi/otlOZ2yshk9HbLf5bKGIjcF 3oe0pC5V2QAHTcRm6hb+FrYGflNOy5KDam0se6ZKLl2cn365zCRNEgQRS2d1lXMKOVtj 6u/yB1uqtRN9V2BQVsP/md30BYvvUVQtLdYHfY3+78v7hPE6Ptzw/o5FR/WP/7H1UaPM maNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OiU7uhwY; spf=pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="grub-devel-bounces+patch=linaro.org@gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id i17si13794179qte.298.2018.11.14.11.30.52 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 14 Nov 2018 11:30:52 -0800 (PST) Received-SPF: pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OiU7uhwY; spf=pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="grub-devel-bounces+patch=linaro.org@gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:33858 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gN0sG-0001ck-19 for patch@linaro.org; Wed, 14 Nov 2018 14:30:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gN0qw-0000jX-IH for grub-devel@gnu.org; Wed, 14 Nov 2018 14:29:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gN0qs-0004qx-4S for grub-devel@gnu.org; Wed, 14 Nov 2018 14:29:30 -0500 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:45061) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gN0qq-0004p4-Dm for grub-devel@gnu.org; Wed, 14 Nov 2018 14:29:24 -0500 Received: by mail-wr1-x443.google.com with SMTP id k15-v6so18547486wre.12 for ; Wed, 14 Nov 2018 11:29:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=yq+Oh7Z1tXeXaioBrxANxSyRyt2CYL0L3nX5O4sMp0E=; b=OiU7uhwYxEb7BpcW86iMYwz1pJeejAj4QoJN6LbCQn6h7S/WoC4RfMZnO/umMrmY9D 0PkQFjMGDHS7dc6Y/4j0mR7jc6csbCbyR2+mWZT5//eRONhVagjICSeMZvOxXxVt5raE PjScza2QcbpOBjhLjE83DQ87DTXzLi1XO7PyE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=yq+Oh7Z1tXeXaioBrxANxSyRyt2CYL0L3nX5O4sMp0E=; b=UAQhFFC/Wztij25jVXu/nh+1Q3xR6JgOMwO/vQOWau1pQtoC5LbuAlOuYp2keLGHpJ OpNiAhCiQku0WNegT+LIMv++MFnNyv6wfqyxtpy9Bm3QkzIrDU+7R3AychsNfkdEm4DO tOVEcYSviaikBDo6DoBqR6DZro4YxzRe3i0f3kOj6b6RAVLOAf/kW2TGarH1+SY17P8N 7OGQ9v2dbKO+PiShm8/bnQQm7RRKYpmKC2HlUeYtbY817Ghux2sSV76qsmtcIbMjl8gG K+HsO8Bmr2bRFDm08DcGY4YChrH9HYps/8RsYt8NXKp30XboC7fmUJyT4pl65ujZ7dJk 6TXA== X-Gm-Message-State: AGRZ1gJdfxvmawu7COXsC8JeVmcTgHrCzFoXViBMasB+htKjNELbnMhu bsas/nKrIsWA5twmSiPkCdlIh5AzuG35Vg== X-Received: by 2002:adf:91c3:: with SMTP id 61-v6mr3098701wri.97.1542223760949; Wed, 14 Nov 2018 11:29:20 -0800 (PST) Received: from vanye.hemma.eciton.net (cpc92302-cmbg19-2-0-cust304.5-4.cable.virginm.net. [82.1.209.49]) by smtp.gmail.com with ESMTPSA id 127sm6260278wmb.4.2018.11.14.11.29.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Nov 2018 11:29:20 -0800 (PST) From: Leif Lindholm To: grub-devel@gnu.org Subject: [PATCH 0/5] Fix non-x86 builds after verifiers framework merged Date: Wed, 14 Nov 2018 19:29:14 +0000 Message-Id: <20181114192919.24655-1-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.11.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The development of GNU GRUB Cc: Julien Grall , Fu Wei , dkiper@net-space.pl MIME-Version: 1.0 Errors-To: grub-devel-bounces+patch=linaro.org@gnu.org Sender: "Grub-devel" The verifiers framework caused some breakage for non-x86 platforms that need fixing. Basically, this boils down to: - Add an include guard for verify.h. - Add a new file type for device tree blobs. - Fix an error added to arm64/linux.c. - Add file types to grub_file_open calls. Note: only the common and arm64 fixes have actually been tested. Fu Wei, Julien - can you guys have a look at fixing arm64/xen_boot.c? I'm not 100% certain how multiboot should be handled. Cc: Fu Wei Cc: Julien Grall Reported-by: Alexander Graf Leif Lindholm (5): grub/verify.h: add include guard file.h: add device tree file type loader/efi/fdt.c: fixup grub_file_open call arm64/efi: fix breakage caused by verifiers arm-uboot, ia64, sparc64: fix up grub_file_open calls grub-core/loader/arm/linux.c | 6 +++--- grub-core/loader/arm64/linux.c | 3 ++- grub-core/loader/efi/fdt.c | 2 +- grub-core/loader/ia64/efi/linux.c | 2 +- grub-core/loader/sparc64/ieee1275/linux.c | 2 +- include/grub/file.h | 2 ++ include/grub/verify.h | 5 +++++ 7 files changed, 15 insertions(+), 7 deletions(-) -- 2.11.0 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel Reviewed-by: Julien Grall