Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp205980ima; Thu, 31 Jan 2019 15:05:26 -0800 (PST) X-Google-Smtp-Source: ALg8bN7Y43ib4/dz0F2JGkTFJ7AJTxpZrJITVM7ylSvHVlH/kKR/lc57aOvzveBKa78Boazy86xZ X-Received: by 2002:a17:902:27e6:: with SMTP id i35mr35970762plg.222.1548975926674; Thu, 31 Jan 2019 15:05:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548975926; cv=none; d=google.com; s=arc-20160816; b=KXUsx99mEcSZ2lMVw6JiC5yGKE114bjjEIzif5hNzqfecCaMmmRou3eUEEJA/xNCoC +WqmAqzgYk7ju4wbvTi6LLVc7Hlzobmo4dVQndUBEvgEqiiWDA1PvC242zzvf4wHHjH+ 4QLA4DvmstiEMdmnBlBqPhFhP0Vk1BhffmywkZ4X7n8hNk4zam+kNp0Vzu50r90BtGna XxVa8zGOV7qWfxXpHm/QfW1gT5Hm7dz2tys+68jr2PYAsnqmBeCf5r3Z8foOLeRu5uep CgmRk5U8mhu3TAhJibXBs/Q6AqXjZ8jYi0lrzt9NycXup4C1BWOqrXXHuiZ1inzhkwfA KtlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=V/scLVWcgx6b3Cc30SJ9XQoDRT3ekk9X1oHzi49xKw4=; b=qdLRs6xzrPRrhzctghFqb75kKD64+hE5wXyBBXQjsMPJIvPruj4wiOw2nWHhpfz4GK 66PlWMTEUV+1GkPlDCry5TOXqrcShAf9yvu9MamKKEzFCKTd1rw/RwI5mp3zyP6iBT8S 7NirpVbRffb89XOmb5/YRPY+kj6LlHjmbOqmyst0yhDAU6l1rl9MjUbt6N1j49aKdgbf icCI/IUHI5f60CDVenOHo/HEWcTa7eAy/j5Y6L+uphphtwzNwNh1AAeviQLiTWmLU4nG 8nlUDBxSifYTgntcqOjxcA3NRJGXiWAEvLkV20LQKgNkW8c7K7Sq0UMyaHE0g7jAzqJ3 o9yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="Nb/Osrxh"; 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 t74si3995463pgc.150.2019.01.31.15.05.10; Thu, 31 Jan 2019 15:05:26 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b="Nb/Osrxh"; 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 S1728864AbfAaV64 (ORCPT + 99 others); Thu, 31 Jan 2019 16:58:56 -0500 Received: from mail-lj1-f180.google.com ([209.85.208.180]:37526 "EHLO mail-lj1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727017AbfAaV64 (ORCPT ); Thu, 31 Jan 2019 16:58:56 -0500 Received: by mail-lj1-f180.google.com with SMTP id t18-v6so4063927ljd.4 for ; Thu, 31 Jan 2019 13:58:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=V/scLVWcgx6b3Cc30SJ9XQoDRT3ekk9X1oHzi49xKw4=; b=Nb/OsrxhQM5rou4dBzXZ8nOQmk4lY3q6qfKrTMPn6RbcOsaKmrRFGsKX4c5Qst5jtf gJae59i2/7aaZ0a3tjA0AoJSQCtYMO3dCRwVVbjiwEIMUwKoAe0qr7iEYMxSV2Iy0PDX 2kVcyMEPqwdqLp1FBEYbHzcOJlArED739YpaE= 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=V/scLVWcgx6b3Cc30SJ9XQoDRT3ekk9X1oHzi49xKw4=; b=XTdLiSYEXYJZhdSSktQDeXSaBets1fYES6hlJ13zfFda+iEeDtxgMM6rXfdXlI4eG/ Np3wSgFR/h8cfzEa7z6ITHKWyzjDyAZF5v+OyjWbv3NPa9tye81mNVBwUzYP6OtMIw17 +y8EvZF7qU3dDCQ9bWHRi+I30DVNQC59fLQWm/rJwHdE7LlAR0FugHCoxCxJG1+6AAlO UVvjf71GI1Dm/68OCY223sdjcAFNCSUMcB5S/oc7kl3TZilPmADyhK7k58XN+3AJLZJ/ D3HvwNDZaQIXztS02eocoCuogb+UKV5mtH932y9umWfDFt7fjFBfMVuS0HAcu9vzTfvo dPJw== X-Gm-Message-State: AJcUukel9LK4x6RGbkUEOkgWPed6xN1THCqOsPhbnlveioqa93wxLUje HuxSTDJaZP0Slk35X2mwil467kR4g3M= X-Received: by 2002:a2e:7e04:: with SMTP id z4-v6mr30567062ljc.97.1548971933601; Thu, 31 Jan 2019 13:58:53 -0800 (PST) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com. [209.85.208.177]) by smtp.gmail.com with ESMTPSA id u30sm1134238lfc.90.2019.01.31.13.58.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Jan 2019 13:58:52 -0800 (PST) Received: by mail-lj1-f177.google.com with SMTP id t9-v6so4045354ljh.6 for ; Thu, 31 Jan 2019 13:58:52 -0800 (PST) X-Received: by 2002:a2e:8045:: with SMTP id p5-v6mr28403126ljg.87.1548971931875; Thu, 31 Jan 2019 13:58:51 -0800 (PST) MIME-Version: 1.0 References: <20190123153638.GA8727@linux.intel.com> <20190129132016.GA1602@linux.intel.com> <20190131122606.GA12470@linux.intel.com> <20190131160437.GA5629@linux.intel.com> <20190131170603.GA18349@linux.intel.com> <20190131183530.GA27112@linux.intel.com> <20190131204710.GB354@linux.intel.com> In-Reply-To: <20190131204710.GB354@linux.intel.com> From: Linus Torvalds Date: Thu, 31 Jan 2019 13:58:35 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Getting weird TPM error after rebasing my tree to security/next-general To: Jarkko Sakkinen Cc: tomas.winkler@intel.com, Jason Gunthorpe , James Bottomley , linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, Linux List Kernel Mailing 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 On Thu, Jan 31, 2019 at 12:47 PM Jarkko Sakkinen wrote: > > I'll try it first thing when I wake up tomorrow (11PM in Finland ATM). Thanks. > Appreciate for taking time on this. Hey, it was my commit that broke it for you. Even if it happened to work before, and only did so by pure luck, it was a functional regression. I get very upset when other developers don't step up when *their* changes break something, and I don't consider "it shouldn't have worked in the first place" to be a valid excuse. You broke it, you'd better fix it. So I had better fix my own mess too, in order to not look too hypocritical. And I was very aware that hardcoding the memcpy_*io() access patterns might break something. I just _hoped_ it wouldn't, because we actually ended up going back to the very original access patterns (but it was from a long long time ago). In fact, while it's slightly annoying, in many ways it's actually good that we found breakage, and could pinpoint exactly *why* it broke. That does validate the whole "we shouldn't just depend on the random implementation detail of 'memcpy()'" argument. So I'll wait to hear back whether that patch fixes things for you, but I _think_ it will, and we'll be better off in the long range with this whole thing. Linus