From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AH8x227Et3IOJgIbOTNuLHCycRxU/OtGTE4ko715KVak1g6oxASd+sT2RoUBcUN9fHfSv6cYYXbM ARC-Seal: i=1; a=rsa-sha256; t=1517406563; cv=none; d=google.com; s=arc-20160816; b=QZBcocxh65PpSfvNkb2gkfoqPRHJYfzzmFa3DnJM+hkhe7jvfICELZtEwauWKDGgZE qlJNaL6kwgYRKxGiBiK3seT6wlagCCclxsnxqwDC0v7w6vXqVWQr0y0cf9hcSvKbd5pm wEeNklFuP2ZTJmfqCkmN3HaX2XRZ/mhH/d+fUUCS/y1ixTn0uG6gpThwIcYM1Z9APLbl MNSuFm2CR7wKYUrz5ypCeM3MgtUP74xfz3sBl1ZR/FlFsxljpjsJ16RCPNl1FPn3zCvj JCinyu32q20VKxDSByRUFvwhj9K9V7LlanLCx0nV+yCf7yZJWWaU7l/KYQymFYRr50oF gREA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject :arc-authentication-results; bh=j03AWxGRbIUGveARaVe0HT8XvIltGAYeHabXPYcKVLg=; b=AFysYibrDJeqLu2Vq9otV9p4QcW/MawLp13VC9a7dzJQK+3tW9g6YnVmmT8boQlO+C QPnTcKTMJkvo8gse3FPCuWiMl9Xzi/Y6thNME1ViQR6MlsLVWuGr70VP1dqGP3mwPJ80 EbbQiVU6nDWGdijs/9gbOrG7vPNO2XOADZq+GQGtXwYS4Rff+0IRM9aAglh2Kd7V/ZLc wzqXt6KbVBMm6eZJu+rXJ7bnHAsCFwzWHvxYCfkpqGpC2cl38aLpnMY28aDHiZS2TH37 wHoDSX2v9fmjkVKPsR5KrYkN/t7aYyHiNP2bfAEVRKGFfp6BGow2VGk9zKKDvoL2rRAX RlNw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of pbonzini@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=pbonzini@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Authentication-Results: mx.google.com; spf=pass (google.com: domain of pbonzini@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=pbonzini@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Subject: Re: [PATCH v6 11/13] kvm, x86: update spectre-v1 mitigation To: Thomas Gleixner , Dan Williams Cc: Ingo Molnar , linux-arch , Kernel Hardening , Andrew Honig , Linux Kernel Mailing List , Greg KH , Alan Cox , Linus Torvalds , Jim Mattson References: <151727412964.33451.17213780323040673404.stgit@dwillia2-desk3.amr.corp.intel.com> <151727419015.33451.13762926723789552997.stgit@dwillia2-desk3.amr.corp.intel.com> From: Paolo Bonzini Message-ID: <376a8a99-db4f-09ec-7c1b-a35ced6209c5@redhat.com> Date: Wed, 31 Jan 2018 08:49:16 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1590977874221284170?= X-GMAIL-MSGID: =?utf-8?q?1591116104962466376?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: On 31/01/2018 03:07, Thomas Gleixner wrote: >> Hi Thomas, >> >> I notice this one missing from -tip, I suspect because of the >> collision with the raw 'lfence' that is in current mainline? No >> worries, I'll send a rebased fixup to Paolo directly once >> array_idx_nospec() goes upstream. Fine by me. Also, now that x86/pti has been rebased, a version that replaces the lfence with array_idx_nospec() would apply to both tip and 4.14. Paolo > It did not apply for that reason and I'm still trying to keep x86/pti as > clean as it goes to keep GregKHs backporting hell somehow under control.