From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE958C432C3 for ; Thu, 14 Nov 2019 09:54:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 97FEB2063A for ; Thu, 14 Nov 2019 09:54:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QThJ4yHn"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="H+0oyDr6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 97FEB2063A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nbnB5lmBtaCC6LMzBZXLlVTumCl0HqmFOxV80so50Hw=; b=QThJ4yHnqcMUbt /3lSaqCJE1k4ImA3YVZslZbV0b+r11wFcKlzV4Zsa03frPJEIybogY3xZonBAEhgAOOhm28ELnI6+ b0J8WJv+TUZnyruhkvcY3dwHb1+WeBoQGj2sYOCRUnHxm+Cid8SR+hTSJigvWUW5AXej/nhQTVw+m n8MN0EbfPI7GfkCg/iyXs8hi59Cs1KU/0soJBPn21gHjZ8MKC0k2d6Rd/q9KSL72PGluPuHKaOrwm QVG5AXyuXjnWR1ll0CqwANs1F+bFyyEJL6X1vg7BhYmHy1/gfD4mvLo4GqeIwiil0b0woE8fPmxk/ dYc1OU7MbfD5rcA663ow==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iVBpR-0006Mr-QI; Thu, 14 Nov 2019 09:54:17 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iVBpN-0006M2-Oh for linux-arm-kernel@lists.infradead.org; Thu, 14 Nov 2019 09:54:15 +0000 Received: by mail-wm1-x342.google.com with SMTP id b17so5147991wmj.2 for ; Thu, 14 Nov 2019 01:54:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AqfWdpvXNKbnk6SQCD2Xa4+UtUspNLx3/TH1+jlLm1w=; b=H+0oyDr6CuUTCaTs5rQD6dvzR36D6B/m5VE18kkpDNFW0Rhhino33/jKIIAyFvtYyK TkEogUt3QS9VsTRBwhkxZOA3okEjoOb0ZUyMqnfL1jrI7bAbt6RiSgYpIilbxbwry5Cb rqHytD/a1TaRfHhVmYBRtQR9EV7IDuDFTqF0PYWGmpJmyb2QR7gR3l/CXtNvJLpF1cTl Si2P3Ea5iPF+hCaZeeqzICgipYaW5VHq28uCZmPWlwECe1AlwNSxpKYXDrnczQ4M+YP+ Wwp+cxZeOBeWbg7/o1dmIAhk+AE3ikeKCezzWZVb9oL7B+j3V5YLFkiPxmRd5VEA+kNv 6EYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AqfWdpvXNKbnk6SQCD2Xa4+UtUspNLx3/TH1+jlLm1w=; b=c1Uh/WTPwaYLrjxpL+c49O/A4IKT/OkYel/LBOhyoBbqD9Z5MPpbxZKdF8t9vj0Kj9 fiame/VuiplsylYLyU6pQhvh/rGIwoq/yvg9a99AIFTQEqCbXBMPjvMXPQiqjWPD4VT0 LD4Qogy7MhpzSDbBD84KrX3G8YN0/KggutLNgYP4D4VDllkYN6c2QXz2RP8wfU2NayFq la36rNlSLCTb6RDnUc3MVpuEbR3cuk9DHVZ4ishavJu1/freGsRL3gNFR6FG7BwI+wMO exDXoA5Rq5OJcA+VQyu7wl949lQh1BWwEhwCH3eO704HBjDTfwd8QA4DxR0yVEStU51a bQBg== X-Gm-Message-State: APjAAAUrk+aj3+kEj/s5icgBslmO2llX05R1oum6CDxd5rsMN4arOWri Fnn2pJQOhjXEjvnd3mbMfuV31eP4LA/Bvnc+ISTHgA== X-Google-Smtp-Source: APXvYqzzShECsFr1GGqXuYwAL8JrwVajeTVkGl/nzvcBn0spr0wnUyvxiArYc93lIy9cZ4qpebyev3Wpj92wJgA4HN4= X-Received: by 2002:a1c:3d08:: with SMTP id k8mr6593147wma.119.1573725250769; Thu, 14 Nov 2019 01:54:10 -0800 (PST) MIME-Version: 1.0 References: <20191106094219.24365-1-ardb@kernel.org> In-Reply-To: From: Ard Biesheuvel Date: Thu, 14 Nov 2019 09:54:02 +0000 Message-ID: Subject: Re: [PATCH 0/2] ARM/decompressor: deal with disabled CP15 barrier instructions To: Linus Walleij X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191114_015413_816738_08F6BBC3 X-CRM114-Status: GOOD ( 13.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 13 Nov 2019 at 13:58, Linus Walleij wrote: > > On Wed, Nov 6, 2019 at 10:42 AM Ard Biesheuvel wrote: > > > While trying to test my v4.4 backport of the firmware/hypervisor based spectre > > v1/v2 mitigations for 32-bit ARM, I noticed that KVM/qemu failed to boot my > > kernel while it booted fine under TCG emulation. > > > > As it turns out, KVM/qemu may instantiate the VCPU with support for CP15 > > barrier instructions disabled, causing them to UNDEF and crash the > > decompressor. > > > > I already fixed the same issue for UEFI boot, but since v4.4 does not support > > that, I only noticed now that this is an issue for bare metal as well. > > > > Cc: Russell King > > Cc: Linus Walleij > > Cc: Marc Zyngier > > FWIW: > Reviewed-by: Linus Walleij > Thanks! > Looking at patches for stable is a bit like cleaning the sink in the bathroom, > seems OK at first but after a while you get scared by the stuff that comes > up. > Well, at least I didn't need gloves :-) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel