Received: by 10.223.185.116 with SMTP id b49csp3525380wrg; Tue, 13 Feb 2018 03:49:48 -0800 (PST) X-Google-Smtp-Source: AH8x225FuNOQu/CrhZS0OvoZG6tmHYiBEWcMRD7bQAIw8EmDxHl7o6fjoWDNTgWDx4DQyU5ftEQQ X-Received: by 2002:a17:902:b402:: with SMTP id x2-v6mr887008plr.39.1518522587974; Tue, 13 Feb 2018 03:49:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518522587; cv=none; d=google.com; s=arc-20160816; b=E74lJx2nJdQSxfGde44m7m10LIXdEjT13ExPFsf7raXWAc51p3zezzHpKktqwV/qoM KXj6A6GDoq3agCQzK34nKl0uP1qf8mG60zkYl/btKBeI7B6ymDwyGzlammWCEOICzFxa Y5zzeLBwIGS9XPCYxV1RhV5jFgtsh4wXUrA4VWAK0bj+ru+nVBin5FdDhrQOweoydphh ooI3weBGIySMZtHJDkjxhiJmLL9Q2nwbMGCLz8p3rDSTxkerbImr7NOJzXF3xWzjBKEu NzMdt/GBmCpT+FTP2eluOsxCjtbD1y/+sDgEpM+BZm8o6lNC3XEbpHtRuwsV0uJFvg5Z dQUg== 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:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=sSlepkJ+PJZ5VcI/81hUMLq9vhpNa2uHQ96stETQcys=; b=xb/XYliLBelP9gUgQBEIbfXJdeFpD5dq5NKzVAs7HtzP++/MMOha8gERfNmF8xla/m XsQyb5YtLxHMQ/Jz0I5dBNaEzLTQq/k3O+cB5v9jUb5k2fiOieh7e3D+UyXeaH7cncka hSOcvaE2DsmdXa0tvBZMvOSEAHCfU5P5jtjuEZs3Zr06V7g1chVWRWW8YZj3FhX6cO2L 60YSSp/Qq6sslGI5Kar8MGB2kwfs+WVwayiMU1zcRUwyzPQE7VF5SROi0hE+T0tpD45X P/vKpwWujUNGaLex/uWoP7erd4jn2VkYfXcag/pNBNCRoczTQJqq3UjEL1lNWgpTrd9a O+hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@pr.hu header.s=pr20170203 header.b=gTj1054s; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pr.hu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y5si6344308pfg.267.2018.02.13.03.49.32; Tue, 13 Feb 2018 03:49:47 -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=fail header.i=@pr.hu header.s=pr20170203 header.b=gTj1054s; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pr.hu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934846AbeBMLsu (ORCPT + 99 others); Tue, 13 Feb 2018 06:48:50 -0500 Received: from mail7.pr.hu ([87.242.0.7]:56173 "EHLO mail7.pr.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934577AbeBMLss (ORCPT ); Tue, 13 Feb 2018 06:48:48 -0500 Received: from [2a02:808:3:101::5] (helo=mail.pr.hu) by frontdoor.pr.hu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1elZ4m-0001uL-BB; Tue, 13 Feb 2018 12:48:44 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pr.hu; s=pr20170203; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=sSlepkJ+PJZ5VcI/81hUMLq9vhpNa2uHQ96stETQcys=; b=gTj1054s3608yrfqiptcOJNUfZ Zm6saRvDJ4KnVJ69xzxaZdvYm/g3TZ4HrO0e772Mo1z/r+gApEfXz7PNqkuFkVPoIi/xpDfFpb3un gv2cREii3c/e/QMMSlfaQOK+vveE9wfOYnSN0EPXFqJ8Glbwu+9ygd+1grl+9Meoqludo5ShEo9H1 p0fOC0YEJ1SXcgi2vNb6JKbdItnAMf+ZJgwLS0YAM1PvsNxbIqrXXQQjFp3cmPasAngDbp8joYIhK BLrjR42ufDpWsZQctvAUE86Rwdp1bsMlgSGL1gOmfGajiTbLNyv+z3kKl6qIZZsR7vnyyP6UhcjxZ T0ErPYhw==; Received: from host-87-242-32-111.prtelecom.hu ([87.242.32.111] helo=s002.sicom.com) by mail.pr.hu with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1elZ4i-00034x-LV; Tue, 13 Feb 2018 12:48:42 +0100 Subject: Re: [PATCH 1/2] i2c: piix4: Use request_muxed_region To: Guenter Roeck , Jean Delvare Cc: Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org References: <1514652658-6228-1-git-send-email-linux@roeck-us.net> <20180212111041.027edd85@endymion> <20180212185152.GA20877@roeck-us.net> From: =?UTF-8?B?QsO2c3rDtnJtw6lueWkgWm9sdMOhbg==?= Message-ID: Date: Tue, 13 Feb 2018 12:48:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180212185152.GA20877@roeck-us.net> Content-Type: text/plain; charset=iso-8859-2; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: -0.5 (/) X-Scan-Signature: 590f427944e86919b339bef1bc8dcd47 X-Spam-Tracer: backend.mail.pr.hu -0.5 20180213114842Z Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-02-12 19:51 keltez?ssel, Guenter Roeck ?rta: > On Mon, Feb 12, 2018 at 11:10:41AM +0100, Jean Delvare wrote: >> Hi Guneter, >> >> Sorry for the delay :( >> >> On Sat, 30 Dec 2017 08:50:57 -0800, Guenter Roeck wrote: >>> Accesses to SB800_PIIX4_SMB_IDX can occur from multiple drivers. >>> Use request_muxed_region() to ensure synchronization. >> >> Which ones? Documenting it, at least in the commit message, would seem >> useful. Out of curiosity, have these other drivers been converted to >> use request_muxed_region already? >> > Primarily watchdog, but there is also unprotected initialization code > in several locations. There are three locations touching the same I/O ports: the PCI-USB quirks code (still doesn't use locking AFAIK), i2c-piix4 and the sp5100_tco watchdog drivers. Best regards, Zolt?n B?sz?rm?nyi