Received: by 10.223.185.116 with SMTP id b49csp881724wrg; Fri, 23 Feb 2018 08:15:00 -0800 (PST) X-Google-Smtp-Source: AH8x225HvbwjANKWWg9MCR+FweG7TAeffjK+cgVAfWhUYNRhnS6RAYXAsokJfoNKk70lw7Vf8Pj6 X-Received: by 10.98.106.10 with SMTP id f10mr2273392pfc.222.1519402500229; Fri, 23 Feb 2018 08:15:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519402500; cv=none; d=google.com; s=arc-20160816; b=0ogdnWuBr22GEg1J8wEzqYltqqHeqJsS99PX6nQxvBpKmfNTXMtmJdSP3HobhsnPsQ ZwuFaUfF3V/jR/sWzZs0nyHYfm3HSoU5uOONJ2eh87ILImY8P5CfuUHoLh1Z28HfH/9o oIRSrfxcVYLqZ4nOM0v/71bxlfpmGR6J7aRSAxlHCdaaea5iTrnHxA9VvL7IwCa/4Ydd OpuHIt7CbIOIfuKFHrRXMitK769HYG6VAtp7kUaHJ5r5uSzhQxhUrKozLVKG2y3c1cxL 99v84LlT4sh/VjJD1xXgxpVg+dbB7f7NvC4Px/VsI12xVmWlukNKjxtilP/p03mLgN63 6bzw== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=YmrK+SpxhCdXYCCBJ6L8M+QK3z3LEKrVVoAQPzL7SwI=; b=IVPkwOi4CRgznuSNB2QQHnkCwe9kRpVJ9k37TQaDfb8qeiePOvJiKp+aMx0XGgLfpV +D+MePwJoAt7Xz9SWKPZnL6IHlAgXBSr/c9wbV2iLqThpQX2i8LQq64VpmLYokd/rUlD QCFgzhJePQC/DujkKWjKbUyyFrjYj5fem76f2Zq9xTJDUP7s9R/2y1tFOR95sgX9yRmt c1WVOY0c4tQxrOsF/1ii4SDc4qEevZJa1yK+mZryJly6a8+blf3oSWZurBR9KHuYBW3P DnKPjpPGZBpcMgTjZgVZmXmO5dC/xabTgQ9LDCGejlHcIeYDQ2KTY9FQSap85uTHB/aN 9MXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eowpcsuI; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e22-v6si1102640plj.432.2018.02.23.08.14.45; Fri, 23 Feb 2018 08:15:00 -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=@gmail.com header.s=20161025 header.b=eowpcsuI; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751540AbeBWQNo (ORCPT + 99 others); Fri, 23 Feb 2018 11:13:44 -0500 Received: from mail-qk0-f179.google.com ([209.85.220.179]:37429 "EHLO mail-qk0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751360AbeBWQNn (ORCPT ); Fri, 23 Feb 2018 11:13:43 -0500 Received: by mail-qk0-f179.google.com with SMTP id y137so11357855qka.4; Fri, 23 Feb 2018 08:13:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=YmrK+SpxhCdXYCCBJ6L8M+QK3z3LEKrVVoAQPzL7SwI=; b=eowpcsuIw2w3d0A5NkpeHv9fzn/uPdCon3s+7sy/uqVoQPnAYDEBcBBzVnIsI+wdt5 lTrQzxuqn0A+n4tIcX3WBIW8q4HxZAbo6qHHhWDdIA4/+eJvxsjKOMaydHsF9I407lnN 7y7TjVF/qEIM38zWJiHuzSpZ5LwzK9MZGD9xj1Dga23t/+02yp2iwIYrFJ5cbGvWWW8z xaDFCPpl621wqws0DqANl8e+fbCO3cJUT2MURzZToMZV1nk8ytg9ccVul/HWDYYVeQm5 lq6lcqd2uVmJdexylyhyTAelNBlLcRnCwiUGp5xu8JodBDAQEc0DSE8rgFYpQeIBPRiN KcYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=YmrK+SpxhCdXYCCBJ6L8M+QK3z3LEKrVVoAQPzL7SwI=; b=VDBlPO3GM7mBywpj73uFgyr/tWpIk/CSAx5pqqJKjohnpVateDFPb98K+B2obGaFul qJWXT4uDNoCLQpcM+U4fSs5laTn+hhW8e3szKAu5neLpDL3O1NJQzijGUwzj8oU3KB+9 IrCG35f5wXee561llH0H3bpvIQUbg+S2SQlVbKpeDLphV7GWcn5AauDPv6SgvzLkuK+9 UJxQegrBGSs9424XiqU6+5jWZ8hiKv7fhx+PU9EDGaT9Rw0oYg5W+Bv0IOACnkzS+1gg YZR8yaKwDU8tBx7nI96zmoUceUuraASUYIp8nqt8qj3/V0y4MMZD5ee2zUtgTO7DgXca xafA== X-Gm-Message-State: APf1xPCChJX3ULZHsBuKtc6g5SFUk4BLe8Cdvln2YESCQXeZaazbEhoT FWNKRe5nLw/7FBx0bZAUS6QPTuQZBMNz5Cn1Spo= X-Received: by 10.55.209.217 with SMTP id o86mr3158180qkl.33.1519402422157; Fri, 23 Feb 2018 08:13:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.195.80 with HTTP; Fri, 23 Feb 2018 08:13:41 -0800 (PST) In-Reply-To: References: <20180223153700.2186058-1-arnd@arndb.de> From: Andy Shevchenko Date: Fri, 23 Feb 2018 18:13:41 +0200 Message-ID: Subject: Re: [PATCH] scsi: lpfc: use memcpy_toio instead of writeq To: Arnd Bergmann Cc: James Smart , Dick Kennedy , "James E.J. Bottomley" , "Martin K. Petersen" , Hannes Reinecke , Johannes Thumshirn , linux-scsi , Linux Kernel Mailing List 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 Fri, Feb 23, 2018 at 5:59 PM, Andy Shevchenko wrote: > On Fri, Feb 23, 2018 at 5:36 PM, Arnd Bergmann wrote: > IIRC memcpy_toio() doesn't increment the destination address. > > lo_hi or hi_lo helpers sound better. Ah, sorry, I messed up with writesl() / etc. memcpy_toio() has another side-effect, but here it seems unimportant. -- With Best Regards, Andy Shevchenko