Received: by 10.223.164.202 with SMTP id h10csp1382607wrb; Fri, 17 Nov 2017 20:43:30 -0800 (PST) X-Google-Smtp-Source: AGs4zMZoJsgMyXDZiSHbtjDEJp88/xPJ3y8ol1lLedJvKwoe29f5N4GwJ+II4pnx++qtRt3xAWM4 X-Received: by 10.101.93.140 with SMTP id f12mr7153027pgt.60.1510980210165; Fri, 17 Nov 2017 20:43:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510980210; cv=none; d=google.com; s=arc-20160816; b=RGEyzW0RSSL/tqWdI7jRACoK1p84Qkzmhpri8vzzXTnvqhMbV0GK1mNNoCpZmKVB0V 15YFQSRaOHwmCvZMCVAiCVlLcH+HIao1fk1Uqyo3crbOZpwc3fVXOT4e3Wq2TSIewrJp vPgmQWXXoErRzrCn2aoiTLe4Ywe1tpKeqFrD7LMVjG6zcWfF5rGWUDBF2J8ayOjaP5kN E5n9E+Wx2hBbL6uxLzqmbrc2W5P1KI0Vys/Ffx8ExSTibW48xxu4aTxllbu1Z7tah0Sd uQwZEyX4/wAq2LxY53uij+l5vvfqT1vGY9cWHqPwXGCfKvLg6TQftmTuz6Ptn/xfBHYs pTbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=VKWSSStScS37w/HqBCibiXsBSoclLXQ2cjAdfP14O8U=; b=zEcClbPZX/K/0L/eO0n5nu3iFT99eQFzy1JvH3Sg0LPmMHD+Wd3YKVGVb+iAGrecyz vonYmu44ykQUPAtYEbETJ9uNUoGSc2MU4zGqlY05FGo6OSZBlAGc+YLadJvVJW6Z4w9k TWk2o+HjZJVWeCBakduamfmslbIL5van6PL9w5uxkjezMOiZbgnBSiy2aot+vDTTynJR ZS3iIaw4VWjhQ+N7gNTswYbGk58Tluz5lNJYgIUHDgtokofn46ftC1SVbqawoZUJKDw1 XLQu3ogVZFySzxw0JFjGViWDR0hj+Lf2iSX3byDMX0Jp39pqfh2z1/aqT4tLRweu6H4V R10w== ARC-Authentication-Results: i=1; mx.google.com; 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 h128si3840077pgc.476.2017.11.17.20.43.17; Fri, 17 Nov 2017 20:43:30 -0800 (PST) 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; 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 S1758202AbdKQUFJ (ORCPT + 93 others); Fri, 17 Nov 2017 15:05:09 -0500 Received: from terminus.zytor.com ([65.50.211.136]:41187 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751061AbdKQUFD (ORCPT ); Fri, 17 Nov 2017 15:05:03 -0500 Received: from tazenda.hos.anvin.org (c-24-5-245-234.hsd1.ca.comcast.net [24.5.245.234] (may be forged)) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id vAHJqGcG018472 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 17 Nov 2017 11:52:16 -0800 Subject: Re: [PATCH 10/13] x86/alternative: Support indirect call replacement To: Josh Poimboeuf , x86@kernel.org Cc: linux-kernel@vger.kernel.org, Juergen Gross , Andy Lutomirski , Linus Torvalds , Sasha Levin , live-patching@vger.kernel.org, Jiri Slaby , Ingo Molnar , Peter Zijlstra , Mike Galbraith , Chris Wright , Alok Kataria , Rusty Russell , virtualization@lists.linux-foundation.org, Boris Ostrovsky , xen-devel@lists.xenproject.org, Thomas Gleixner , Borislav Petkov References: From: "H. Peter Anvin" Message-ID: <5993ab2e-c877-b566-c860-00a405a823e1@zytor.com> Date: Fri, 17 Nov 2017 11:52:10 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/04/17 08:58, Josh Poimboeuf wrote: > Add alternative patching support for replacing an instruction with an > indirect call. This will be needed for the paravirt alternatives. I have a patchset that generalizes the alternatives in what I think is a more robust way. I really, really want to get rid of these hacks. Let me clean it up an post it... -hpa From 1584318531027780923@xxx Fri Nov 17 13:04:52 +0000 2017 X-GM-THRID: 1580343324833471571 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread