Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7487307imu; Thu, 31 Jan 2019 10:55:06 -0800 (PST) X-Google-Smtp-Source: ALg8bN60ZPFI+5TOqMZJxWPW7hYsAVHfyu+5M7zBRq9D4/DWo4hFhcU4UtpcFX7a/XxtwpYsI9An X-Received: by 2002:a62:5793:: with SMTP id i19mr36207722pfj.49.1548960906092; Thu, 31 Jan 2019 10:55:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548960906; cv=none; d=google.com; s=arc-20160816; b=kbIF7AdSLXv2rrsRQGEY8YB8ivQ+VrHocSTv0PUFdvITtyq4KOwGwp/XJo2bggxCte oxUcGLLNBafXmh45/88ajwTibo/BNFir811O+nLrxd6ac9mmkJmcEqTu1bVspTv6JE6b fwX/YIiux4GAsgp5bB0sRWSFGif95/ArRsfWCpViBJXtNJEUs626gKBPKj0fC44CJ+gn w4SESjdWHLhPlywPIGN1rSuZVjC4ut7zuoSQJiwqNntqdxAr0s5BpB3EhzSvBJGhtlGw WWxgUZdlWFQgBRFCAuM9BM8pbMiCuk1u66hwwWTvRzKcatK9KkV6gc2iyIUT7yBuI6G9 2Mog== 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=EoPq2Gpjoh5/AheroPKAuShVwRAXgiAMRb9VhOJl20s=; b=q+E8rCV/Rb2ia1ZD02OFW6rpbNMpnwzjMyIhEsESPqglLWYtDoJcJTzoUGzRBn6yru cARmBNO+Tum79u1alwmtNaVHTecv+33dLbTKs+wjVR3ly6u9zdi808/t1j+M1PiGY/// KAbEuNuud2OHyxJZ7SxvMzlXTyAy0TA8Jhtqq+5pwyC9Mfjk9hxs1vG/LYB2W91ZYsXY r88fGQOV9DsoSEOSNZP3QXVpDO5D6pPG9GlMPpimgZMrUY0HvvjdUYWqgksBtQgCErMZ 7LypldWngGzjDzv4eNFOrgArNT5bQNh0jTrP7IkQAE+NrlPumwTJGhGd5HQ7Ugm0nBFA 0akg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Y5fzDDzX; 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 n32si4858075pgm.439.2019.01.31.10.54.49; Thu, 31 Jan 2019 10:55:06 -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=Y5fzDDzX; 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 S1728338AbfAaSwo (ORCPT + 99 others); Thu, 31 Jan 2019 13:52:44 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:35972 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728148AbfAaSwo (ORCPT ); Thu, 31 Jan 2019 13:52:44 -0500 Received: by mail-lj1-f196.google.com with SMTP id g11-v6so3629078ljk.3 for ; Thu, 31 Jan 2019 10:52:42 -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=EoPq2Gpjoh5/AheroPKAuShVwRAXgiAMRb9VhOJl20s=; b=Y5fzDDzXBklrXEuCnqUbsCilsPuxjCIUVOAtKnUNWmbDkhaL3DibOJ0aP2qWpLw4yR 5YcIFLfYmBeuEAeuCFCzpa0J3WGL4f6HQ82Z79/KW7n7yk4dtHw0v2i6fuZesG2ElVFi BCYoPrG6IPhCKs+00BwRvePwc1x9Uel7ZdGHU= 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=EoPq2Gpjoh5/AheroPKAuShVwRAXgiAMRb9VhOJl20s=; b=l/qQmEuTvEine8owHbn1K8McMhU0OYCbqTcflVsX8Bd3ezOvZvuSS05iDH+LxGMZPV gT5gfCIpcFeE8NuSZy3pBz3zmVluiiSbM8oTFbrBd+hbrnOn06fiiB9+Yua3bAqdJwR0 f6Fmp3kLpsCW1IJsrtSOvIeXd2LPQn7gsEfXwJNVvSfXTyi68dNhMQ55xdrUNlwDI5Lg c52xO4qu9/V2F0QG0QkwCB3qAX7L/oTm8IqZnf2IfDTw7sHwrt4uwy1ao772arTjhYDg g0zsxUr/83m5lfT7+PHwNKnhkNgo7to2anjXXKuyDWeSbi/z8pczdZWVVHaUE9mrs+/3 LbUg== X-Gm-Message-State: AJcUukczvZLG0Bhe0ZxACcqvZkStxTOKe86DL9RpBUYD7rCux9/oRKN/ EfteSL96HRcDz4Rw+aTrTBnv6c8t3XU= X-Received: by 2002:a2e:841:: with SMTP id g1-v6mr30661034ljd.21.1548960761689; Thu, 31 Jan 2019 10:52:41 -0800 (PST) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com. [209.85.167.48]) by smtp.gmail.com with ESMTPSA id j9sm965009lfk.74.2019.01.31.10.52.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Jan 2019 10:52:40 -0800 (PST) Received: by mail-lf1-f48.google.com with SMTP id c16so3128406lfj.8 for ; Thu, 31 Jan 2019 10:52:40 -0800 (PST) X-Received: by 2002:a19:980f:: with SMTP id a15mr27881838lfe.103.1548960759863; Thu, 31 Jan 2019 10:52:39 -0800 (PST) MIME-Version: 1.0 References: <20190122010218.GA26713@linux.intel.com> <20190122025836.GH25163@ziepe.ca> <20190122132910.GA2720@linux.intel.com> <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> In-Reply-To: From: Linus Torvalds Date: Thu, 31 Jan 2019 10:52:23 -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 10:51 AM Linus Torvalds wrote: > > In fact, we have another patch (that isn't applied) that makes even > the memcpy_erms() just call the sw version of memcpy() for short > copies (because "rep movsb" is slow for those cases). That would also > have broken your driver. I think what I should do is to just make "memcpy_*io()" do the "align naturally" thing. Let me cook up a patch for you to test. Linus