Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10732315ybi; Thu, 11 Jul 2019 10:02:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8cNfFWx1YmrUe4pNl5SN8YuELFiZ89ihUc8EjE6OT1nx43kF9t+X4OfT7g/ZB45rYtIWy X-Received: by 2002:a17:902:28c9:: with SMTP id f67mr5869129plb.19.1562864557083; Thu, 11 Jul 2019 10:02:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562864557; cv=none; d=google.com; s=arc-20160816; b=mpTYaF3FIWY2wYXdTiU3/keWzophC3fDn3/qvEa4H6ChsS+K+yGOfXO1qiZin5+Owr +m3ClILwhJUbQ/lvG95hEAGGKeACpg8ivc2+/Rr9iSJ73H2tsRQwUguzcYRqcL2FqMOC rYWgrL9+vLIsaJANUvrZiFC3koKfXoW6BDikq4aP+OBBj+m60El/UeNXFyyCVrKCHU1S IoygWgAdXccMTVuZnUwAJujrFau0b6H1QVF5BypCXwNA7l7JycwbWWwUjuCRsyesAHAm 9Ihpjh8+7ctkHUxfYVmwHZm5BuMP0NziBsw5zxVN1qnSp9nl2hrOxpMuSTCNbQv6bLUG oBpQ== 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:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature; bh=GU/67RfZIGaVv3I1gykKW+OAEzbKYvssQxM3jRxvovg=; b=I6+ZrTAnGhQHxKjkzfg73PyjdJrtWpVsSpnzKnPBJSNQJZ0QGz+/15xKh40/ZvL9I/ w6OCIPn5XZVTtyQaVsQtqxXQXyK/aiHsgMtjrp1CnfWZzUAJ5asG169XyvXapzTCdQrX zKMR8cz4ICJXGjbg7EzgPxylv8dF+GD4d/HKZxUeIx3HvO2ZmkUwkJSc5/FmfZpXJNuH jD9hubzy3UZOf7Wt9YXmmSmZIJYF4ji7W5ROFh+9fuDpHoHUQIKR3ldGktYSrnFd+aX1 4l3V2sIiGUM8t3dEFmKcw+026M9CXlVlmA6+38Jg4T/oImxvpW8NHHxWeM4t6vPbZGC3 0vpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=QtY5LSfY; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h25si5771645pfn.56.2019.07.11.10.02.21; Thu, 11 Jul 2019 10:02:37 -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=@broadcom.com header.s=google header.b=QtY5LSfY; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728595AbfGKRA3 (ORCPT + 99 others); Thu, 11 Jul 2019 13:00:29 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:42174 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728550AbfGKRA3 (ORCPT ); Thu, 11 Jul 2019 13:00:29 -0400 Received: by mail-pg1-f196.google.com with SMTP id t132so3223262pgb.9 for ; Thu, 11 Jul 2019 10:00:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=GU/67RfZIGaVv3I1gykKW+OAEzbKYvssQxM3jRxvovg=; b=QtY5LSfYEvpupp4jevn4Y2xXMuduFeEnqLGM4nvdKFwQSJw4rCnq7IY6Mkn2JlUVsJ zICi81PVvBFWPsRhbQ+/T29JbwpyABA2BNqkCU6QYLdJLrjV5oYVutBWUKpBtgVDENRw 98AuoF+gzRf8vEtDCYMUJ+dZ6Vx9hAE2ErxBA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=GU/67RfZIGaVv3I1gykKW+OAEzbKYvssQxM3jRxvovg=; b=HxjlpFVVn66Z3g2ALHDLxSxQ7ilOVvfDouuqQYzFYa3qgO25lJLELNgOkHNRaGN4Vt BXjJA+W7SOUUANHKCnCunODi+yiFW461eNn0t94ZSlq4kHuZ7TfTMtmesAbO51cca7Up pDicn3pEi3lT6Or/qnSvYn6IvDv46NYlkRnm4c4kbYrrHOvgAKLrTZTfKP0tDUaiQ3jr LgiBkgxw6DpXV5VIQRPKcXqHE1K0s2GqmazPAW6TWe7sqJcKcW+uYE7J82HC8GnKQ+Ic 1x2yWnB3jpQ7gMF7xWigqVqLTcKuQKXSj2XgaT+qY9PQDlc2H0Qrku2Moo2li8g1NH/j QoRg== X-Gm-Message-State: APjAAAUS+msXBbFMfQiJBGXW7CgPKdkEVoBTrJBLdDjpTYAQ4vuC9Xhq 6oYNgoTe5N3TLgRx5OgyyKflnw== X-Received: by 2002:a17:90a:d998:: with SMTP id d24mr5929058pjv.89.1562864427900; Thu, 11 Jul 2019 10:00:27 -0700 (PDT) Received: from [10.67.49.31] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id r13sm7233865pfr.25.2019.07.11.10.00.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Jul 2019 10:00:27 -0700 (PDT) Subject: Re: [PATCH v6 0/6] KASan for arm To: Linus Walleij , Florian Fainelli , Arnd Bergmann Cc: Linux ARM , bcm-kernel-feedback-list , Alexander Potapenko , Dmitry Vyukov , Jonathan Corbet , Russell King , christoffer.dall@arm.com, Marc Zyngier , Nicolas Pitre , Vladimir Murzin , Kees Cook , jinb.park7@gmail.com, Alexandre Belloni , Ard Biesheuvel , Daniel Lezcano , Philippe Ombredanne , liuwenliang@huawei.com, Rob Landley , Greg KH , Andrew Morton , Mark Rutland , Catalin Marinas , Masahiro Yamada , Thomas Gleixner , thgarnie@google.com, David Howells , Geert Uytterhoeven , Andre Przywara , julien.thierry@arm.com, drjones@redhat.com, philip@cog.systems, mhocko@suse.com, kirill.shutemov@linux.intel.com, kasan-dev@googlegroups.com, Linux Doc Mailing List , "linux-kernel@vger.kernel.org" , kvmarm@lists.cs.columbia.edu, Andrey Ryabinin References: <20190617221134.9930-1-f.fainelli@gmail.com> From: Florian Fainelli Openpgp: preference=signencrypt Autocrypt: addr=florian.fainelli@broadcom.com; prefer-encrypt=mutual; keydata= mQENBFPAG8ABCAC3EO02urEwipgbUNJ1r6oI2Vr/+uE389lSEShN2PmL3MVnzhViSAtrYxeT M0Txqn1tOWoIc4QUl6Ggqf5KP6FoRkCrgMMTnUAINsINYXK+3OLe7HjP10h2jDRX4Ajs4Ghs JrZOBru6rH0YrgAhr6O5gG7NE1jhly+EsOa2MpwOiXO4DE/YKZGuVe6Bh87WqmILs9KvnNrQ PcycQnYKTVpqE95d4M824M5cuRB6D1GrYovCsjA9uxo22kPdOoQRAu5gBBn3AdtALFyQj9DQ KQuc39/i/Kt6XLZ/RsBc6qLs+p+JnEuPJngTSfWvzGjpx0nkwCMi4yBb+xk7Hki4kEslABEB AAG0MEZsb3JpYW4gRmFpbmVsbGkgPGZsb3JpYW4uZmFpbmVsbGlAYnJvYWRjb20uY29tPokB xAQQAQgArgUCXJvPrRcKAAG/SMv+fS3xUQWa0NryPuoRGjsA3SAU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IPvXDYGdzzfwxVnDSnAE92dv+H05yanSUv/2HBIZa/LhrPmV hXKgD27XhQjOHRg0a7qOvSKx38skBsderAnBZazfLw9OukSnrxXqW/5pe3mBHTeUkQC8hHUD Cngkn95nnLXaBAhKnRfzFqX1iGENYRH3Zgtis7ZvodzZLfWUC6nN8LDyWZmw/U9HPUaYX8qY MP0n039vwh6GFZCqsFCMyOfYrZeS83vkecAwcoVh8dlHdke0rnZk/VytXtMe1u2uc9dUOr68 7hA+Z0L5IQAKCRCBMbXEKbxmoLoHCACXeRGHuijOmOkbyOk7x6fkIG1OXcb46kokr2ptDLN0 Ky4nQrWp7XBk9ls/9j5W2apKCcTEHONK2312uMUEryWI9BlqWnawyVL1LtyxLLpwwsXVq5m5 sBkSqma2ldqBu2BHXZg6jntF5vzcXkqG3DCJZ2hOldFPH+czRwe2OOsiY42E/w7NUyaN6b8H rw1j77+q3QXldOw/bON361EusWHdbhcRwu3WWFiY2ZslH+Xr69VtYAoMC1xtDxIvZ96ps9ZX pUPJUqHJr8QSrTG1/zioQH7j/4iMJ07MMPeQNkmj4kGQOdTcsFfDhYLDdCE5dj5WeE6fYRxE Q3up0ArDSP1L Message-ID: <0ba50ae2-be09-f633-ab1f-860e8b053882@broadcom.com> Date: Thu, 11 Jul 2019 10:00:18 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 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 7/2/19 2:06 PM, Linus Walleij wrote: > Hi Florian, > > On Tue, Jun 18, 2019 at 12:11 AM Florian Fainelli wrote: > >> Abbott submitted a v5 about a year ago here: >> >> and the series was not picked up since then, so I rebased it against >> v5.2-rc4 and re-tested it on a Brahma-B53 (ARMv8 running AArch32 mode) >> and Brahma-B15, both LPAE and test-kasan is consistent with the ARM64 >> counter part. >> >> We were in a fairly good shape last time with a few different people >> having tested it, so I am hoping we can get that included for 5.4 if >> everything goes well. > > Thanks for picking this up. I was trying out KASan in the past, > got sidetracked and honestly lost interest a bit because it was > boring. But I do realize that it is really neat, so I will try to help > out with some review and test on a bunch of hardware I have. > > At one point I even had this running on the ARMv4 SA1100 > (no joke!) and if I recall correctly, I got stuck because of things > that might very well have been related to using a very fragile > Arm testchip that later broke down completely in the l2cache > when we added the spectre/meltdown fixes. A blast from the past! > > I start reviewing and testing. Great, thanks a lot for taking a look. FYI, I will be on holiday from July 19th till August 12th, if you think you have more feedback between now and then, I can try to pick it up and submit a v7 with that feedback addressed, or it will happen when I return, or you can pick it up if you refer, all options are possible! @Arnd, should we squash your patches in as well? -- Florian