Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp618461ybe; Thu, 5 Sep 2019 03:17:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0UhquPhXBQ3+uPkYWC74m7inuKRA+ttC5H6FlyGNA1ucvvEw8SdcgmThyhshTRWAs8rTM X-Received: by 2002:a63:4c5a:: with SMTP id m26mr2401575pgl.270.1567678624690; Thu, 05 Sep 2019 03:17:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567678624; cv=none; d=google.com; s=arc-20160816; b=RTpDA7qzrEMorDoLETgCDl+s69M2YV0c0hc39vAoeN9oYzd9QJC3xXbELqSsMObqoc zOu7w22Meh5SY1Y+59dNwmz7nV4ADSj4BmpyIPjPDhhELG0o1mm5FCoMWmef/1h/kutV tWOiTy/xBMmozU72LhYJ6lypRw5+0L3qH/vN1YedtvHRYaJ0v0kxtSpQdzyGAf1gOXG0 3S+yLJwmwIn1SfZOFJdJRYWqdfoVXbysn82PHEwlcDROkBOKASSc1Rk5GN4twikth2qT /5J7rhipqCbcCDzQ5ybEqCkXyUeQjmhj3ZXn/FjvTx+E1D+kxwaI0G8zcW3hFrsrYv4Z DFng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=FQa5pOo72S+jI4zr4GX6frwocxhPc2IhNcrD8ofhhsY=; b=kGNbL6PTltGFhf2yUauKcv8NmaUTo/cbpRSpTjEHyLE2M0mbFNJUBaVt/KC3B8hOyH r7Y74iCgtJGIQqpbiHydn7/X60fNlxQXgXGBaPJsZ1tdeYiYT/X+ugzl+8BRYlu2+NeG MoYoR0VD9ivgP5l5enLYpqJs2NnCk/Y4OJRFbY6N3miGkCHXaeUOa8PVcaQ0Pf/VtKeH RKR1WmzFwZ6o+koUBWUPZkvYjY3wg6I23m3OzLqVqgL5AvmWaJI7y6GvZsJuyTKZS+Sr maG8g3vcWovVSkKA4IiGo0t7PoJshPQX5nFVIIN9ZtATh6SYICM60mAQHC5IsTexEE/n Dkxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=BbVfEcGX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d15si1387770pgv.90.2019.09.05.03.16.46; Thu, 05 Sep 2019 03:17:04 -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=@alien8.de header.s=dkim header.b=BbVfEcGX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733125AbfIEJPW (ORCPT + 99 others); Thu, 5 Sep 2019 05:15:22 -0400 Received: from mail.skyhub.de ([5.9.137.197]:53490 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733117AbfIEJPW (ORCPT ); Thu, 5 Sep 2019 05:15:22 -0400 Received: from zn.tnic (p200300EC2F0A5F00AD0514FFC49C0308.dip0.t-ipconnect.de [IPv6:2003:ec:2f0a:5f00:ad05:14ff:c49c:308]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 2096C1EC06F3; Thu, 5 Sep 2019 11:15:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1567674921; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=FQa5pOo72S+jI4zr4GX6frwocxhPc2IhNcrD8ofhhsY=; b=BbVfEcGXDpQTPBcoxho2/6tKzLda03FGu3HD/5JwTOkwpf1zM6xZNKd550+fk0gH2lKQvM 2cBe2xQZysVlippdBHUBYN0P84GqTbwW/+kdPhL/kCnizUytm8PO1D6lNZ0fs1zGzI8sCI +qXgajKfc9UQkllr23LyP8si42bqWYU= Date: Thu, 5 Sep 2019 11:15:14 +0200 From: Borislav Petkov To: Steve Wahl Cc: LKML , Nick Desaulniers , clang-built-linux@googlegroups.com, vaibhavrustagi@google.com, russ.anderson@hpe.com, dimitri.sivanich@hpe.com, mike.travis@hpe.com Subject: Re: [PATCH 1/1] x86/purgatory: Change compiler flags to avoid relocation errors. Message-ID: <20190905091514.GA21479@zn.tnic> References: <20190904214505.GA15093@swahl-linux> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190904214505.GA15093@swahl-linux> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 04, 2019 at 04:45:05PM -0500, Steve Wahl wrote: > The last change to this Makefile caused relocation errors when loading > a kdump kernel. How do those relocation errors look like? What exactly caused those errors, the flags removal from kexec-purgatory.o? Because this is the difference I can see from b059f801a937 ("x86/purgatory: Use CFLAGS_REMOVE rather than reset KBUILD_CFLAGS") Or is it something else? Can we have the failure properly explained in the commit message pls? > This change restores the appropriate flags, without You don't have to say "This change" in the commit message - it is obvious which change you're talking about. Instead say: "Restore the appropriate... " Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette