Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1350001imm; Wed, 20 Jun 2018 16:35:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ+NskQe5LiJ/Pf8otpGuqw4Ro0qtfU+xixqyycfiKn5W8b049pE47YPS9CRcK1BB5Nd2IJ X-Received: by 2002:a65:5884:: with SMTP id d4-v6mr20015669pgu.292.1529537740121; Wed, 20 Jun 2018 16:35:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529537740; cv=none; d=google.com; s=arc-20160816; b=OFd0tiIIwr1IjNoRzunn3ml9200qOO7wtJqo4/nyCX0m9y3sXLT+nJn+VN/51dS241 lZqRo2PZCjyGO54QqkKkzEvgTUTNoULtHVmUNy2uHk0vDc0NqdgTeL2898U4ETfUFJDJ P7+9g59kFW8K1f/8LI2ZxjHZpFSvpTw4GxM+gEsXcwmsSA7Ob0Nf7HKvwJS94vkUW6pQ sg1mY9aHXCYL+bfSPbKfpGdGZT1MGpzc1DfPvUsEOx2P5yvJBLm5E0sVI9QGr69cpVqX mQq20Tp5TEW3kr0ee4OEelWah//7j3eM3QJqtbtsBjp4JgjOiuG7l2fTzE4xw6RI9XDe QxdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=nPH5dK8HoG7OINvLKvZz+OBq0SDH5ngVJJZVXAH2ReI=; b=BBVZ+GGEFJzTVX+gqmtyQSZDYQ+ZrzaJCs0gRoCMjJvaOVsSiTTele4Ue/YlhzNRix od0vWXrZXVRHOkMwqoRJrxM5XQtcDhGqBHl/I3T5/BjbG1u0dHa6gPMUXvhtUQQwK7Q9 Al5HGO6aqiJSGUdPIzBfNkbQAupueeTILJw/3hXeUUy+/4eyyvaSGLp6orIJWWYIV6Wt K3o+iWn6auL6YK48e5NJFBEQOtwoJcxmbpxWXDOjv2AdKCYhN74uyl1CKG/3WJFbhoX1 /RWBdk49Y93h7OTB2yAzsvM2IOnQ/mfzdMLhxZmbri5JO7Q9jKJQ6qvW2+zMW8BAEcKh wu9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=pFe3VT5e; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v5-v6si3451354plo.166.2018.06.20.16.35.25; Wed, 20 Jun 2018 16:35:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=pFe3VT5e; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932931AbeFTXeg (ORCPT + 99 others); Wed, 20 Jun 2018 19:34:36 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:37836 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932264AbeFTXef (ORCPT ); Wed, 20 Jun 2018 19:34:35 -0400 Received: from mail-ua0-f178.google.com (mail-ua0-f178.google.com [209.85.217.178]) (authenticated) by conssluserg-02.nifty.com with ESMTP id w5KNYVnx016158 for ; Thu, 21 Jun 2018 08:34:32 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com w5KNYVnx016158 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1529537672; bh=nPH5dK8HoG7OINvLKvZz+OBq0SDH5ngVJJZVXAH2ReI=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=pFe3VT5exxYyWZJ5PRez6iEtcnAIAuBza14RPIX86r5oj/l4iz8avohiHtRkmTQej nYt0vs9JinGo3T/7juRlSbN4izMVcyKSUW1uypaLT106txKZY3qC65WC5/eroNr6Fg 1OC/BaJayZ3ghz5J+gHuQhG/bqoDE0RC1dyQWIhVmn1c9EOvSx1Szh2yRGYMCWogjI MdoKNuQX9TLng9vCeelreIFUVZ85zThEKGmak6cmLs+OcyJukYSFLKzmmuT3JhOuBX 2N8ktdTuSQDxntScK7XSoVGpqO3blLZjyq9x8Fw3CUIypqhZheyfdnKgut/TLpNDwD wYEmlVG1ek+3Q== X-Nifty-SrcIP: [209.85.217.178] Received: by mail-ua0-f178.google.com with SMTP id c23-v6so853547uan.3 for ; Wed, 20 Jun 2018 16:34:32 -0700 (PDT) X-Gm-Message-State: APt69E3mkheiWqMZvF+ZYV0xeIWoGqwgD/uiE7zRkBQqlXMQbOqpyLGa WWvTorlfeW/WqBZCv4t4YvrxQeWBWwIwAopI2/c= X-Received: by 2002:ab0:13c8:: with SMTP id n8-v6mr14663156uae.140.1529537670921; Wed, 20 Jun 2018 16:34:30 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:20ab:0:0:0:0:0 with HTTP; Wed, 20 Jun 2018 16:33:50 -0700 (PDT) In-Reply-To: <20180620002229.xsh4bupxa72nhjoh@pburton-laptop> References: <1523890067-13641-1-git-send-email-yamada.masahiro@socionext.com> <1523890067-13641-5-git-send-email-yamada.masahiro@socionext.com> <20180620002229.xsh4bupxa72nhjoh@pburton-laptop> From: Masahiro Yamada Date: Thu, 21 Jun 2018 08:33:50 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/7] MIPS: boot: correct prerequisite image of vmlinux.*.its To: Paul Burton Cc: Ralf Baechle , James Hogan , "linux-mips@linux-mips.org" , Kees Cook , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Paul, 2018-06-20 9:22 GMT+09:00 Paul Burton : > Hi Masahiro, > > Thanks for these - I've applied patches 1-3, 5 & 6 to mips-next for > 4.19. > > On Mon, Apr 16, 2018 at 07:47:44AM -0700, Masahiro Yamada wrote: >> vmlinux.*.its does not directly depend on $(VMLINUX) but >> vmlinux.bin.* > > This isn't really true - to generate the .its we actually do depend on > the ELF, which we read the entry address from (entry-y in > arch/mips/Makefile, provided to arch/mips/boot/Makefile as > VMLINUX_ENTRY_ADDRESS). In practice $(VMLINUX) is built before this > makefile is ever invoked anyway, but the dependency is there. > > We don't need the vmlinux.bin.* file until we generate the .itb, so it > should be fine for the .its & .bin steps to be executed in parallel > which this patch would prevent. You are right. Thanks for catching this. -- Best Regards Masahiro Yamada