Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1523846ybi; Wed, 17 Jul 2019 17:03:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCk+nErejanQlD+iiUtnfVNkg3Q/vVLj5yaijUAXyDUrESh54b3CfYtvKRAHxwybwe9BIS X-Received: by 2002:a17:902:1004:: with SMTP id b4mr47265660pla.325.1563408196724; Wed, 17 Jul 2019 17:03:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563408196; cv=none; d=google.com; s=arc-20160816; b=ZZxN6oUev7n06VBfAloliP8ntaH5QORrkVJIV0XWsv//4fvU5CZw1T/qfe+E/AGfGq x8wBQNz3v0NK2oUg3PX3lz32IK74uamllFFpaEqzI+fk+XoZER1VybhUb+VZ+ECFr9jl i/ogLUiavSJzDbyv08SUfK0W22sunzeKZecjDV8Pko/zVRJU4WUloIAqfKZrLHGLCdgf blAf/OTaIUlfu2daA84LxTitSROi7DHK9gUPuZailINBae7DhAEKzWZVKWhB9TN4azLZ dknfnZ4eGOrrAxgo1N0gyB2xphplFKFO1nXI7peElaBX6S2sJoHz2zbByHZ2n1Jf69Me QZrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:mime-version :message-id:date:dkim-signature; bh=F4BwMGynHNNojraJ7LjreMR6L3I2Kny/UtiBEd/49jg=; b=NpKk4yCBBzzewiPgu8d4PDLokQC+ByvUNlN95x0UChXovSeVB7UafQu0efjWgVrsVG VvWkrV7e35Xirnhxo0f8qtK5btVK9Qy1aW56jFTSwBnfJnzbLKdsBROtRqw+8kmOT3H5 yJc0PJtNZOo4Xivrzd5bPRT9Yu6gfbEjMzGdXHMaVJR1geQWbKLSWbz0hGXgXBbpeamE 3sExDVwWTdApu4IlTrFh5G6U8MEeSWXfqdl4JjweokT/tCM0QmiSKNd6K9WZLCNOqyMd +ddFi0SJ7t80dvPmDQPHjOb6e4SmDoOsZ1HGuc4bmvA4QXs7Zb4nOKQih7xdObmcMu9O pmfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=K9hevwQM; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s8si617612pjb.40.2019.07.17.17.03.00; Wed, 17 Jul 2019 17:03:16 -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=@google.com header.s=20161025 header.b=K9hevwQM; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728501AbfGRACZ (ORCPT + 99 others); Wed, 17 Jul 2019 20:02:25 -0400 Received: from mail-pl1-f201.google.com ([209.85.214.201]:50123 "EHLO mail-pl1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727804AbfGRACZ (ORCPT ); Wed, 17 Jul 2019 20:02:25 -0400 Received: by mail-pl1-f201.google.com with SMTP id 65so12879018plf.16 for ; Wed, 17 Jul 2019 17:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=F4BwMGynHNNojraJ7LjreMR6L3I2Kny/UtiBEd/49jg=; b=K9hevwQMFXcVZY0TVfn6Ud/SV2/bHQesWc9wE618szqhc73WC4OW/bMO8wMFXc5LHT hBJsqQkPoYSzk0WIBzNs3qSkuRNk+q8717TU4h0P6ksPRJedS3kWLecav/KjMXIH7Mi5 M/N9JoDiIr7xGzxxHzypHZTYjT5LP3c+lfUD2KPWSKXNoC4hlhUwAwd1OY9ZdIq7Pp97 oqjPKHwwgQADwKO5BxCEdut3RWlfmF/gkW39Ja3geKDPXAnuszI+ynX67Pv0EtyrmlUl QuA6JPstUx1rlEZhmP65fPWS7RZ0ir8cg1pbk4fTrlHO/ilY/HIn9ObcMp7MViu9ngEE zIww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=F4BwMGynHNNojraJ7LjreMR6L3I2Kny/UtiBEd/49jg=; b=EW2A9tIVcFaDtYVqtwQUAPOrn+7VPVtVFMgMDWaZa766A6AV5CbMI+I7104q5v50Ak rbwOcvBtTXe5TqS9CcHtDDVRpz1Gfhzr8vEMMnN8UbAS8IvsgDV+dEMC305YyXJ5WRDF FUNJu6AkWL9t1+YsSUlnr7mAtLQNJ76+IO8GLWRCasHITakRnts9nDvi5lAUEGOAqRmM hTvOD3K4YfQp8yBnwP35jM4oaTpq5ZPknyE3r75B2nDhIKD+wX3BZoTgyg3sypIqsqYB zErJsLocdz50BcmOZ9ffgKUicsRnihpaW62PcbFcd5TbrH1+EPVovU40StxhGyMILxOR 35dg== X-Gm-Message-State: APjAAAWlmPiRHa7kNbdmjJSCnZdX9a8Wc7nCVZc7imS0/foDJxkUV2B5 6HuyxKkmZOa2ve6e1vkTFDioxbDciv9+4P9oryyBeA== X-Received: by 2002:a63:5765:: with SMTP id h37mr12364689pgm.183.1563408143830; Wed, 17 Jul 2019 17:02:23 -0700 (PDT) Date: Wed, 17 Jul 2019 17:02:04 -0700 Message-Id: <20190718000206.121392-1-vaibhavrustagi@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.22.0.510.g264f2c817a-goog Subject: [PATCH 0/2] Support kexec/kdump for clang built kernel From: Vaibhav Rustagi To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Vivek Goyal , Vaibhav Rustagi , Nick Desaulniers , stable@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 This patch series includes the following: 1. Adding compiler options to not use XMM registers in the purgatory code. 2. Reuse the implementation of memcpy and memset instead of relying on __builtin_memcpy and __builtin_memset as it causes infinite recursion in clang. Nick Desaulniers (1): x86/purgatory: do not use __builtin_memcpy and __builtin_memset. Vaibhav Rustagi (1): x86/purgatory: add -mno-sse, -mno-mmx, -mno-sse2 to Makefile arch/x86/purgatory/Makefile | 4 ++++ arch/x86/purgatory/purgatory.c | 6 ++++++ arch/x86/purgatory/string.c | 23 ----------------------- 3 files changed, 10 insertions(+), 23 deletions(-) delete mode 100644 arch/x86/purgatory/string.c -- 2.22.0.510.g264f2c817a-goog