Received: by 10.192.165.156 with SMTP id m28csp1593891imm; Tue, 17 Apr 2018 01:56:30 -0700 (PDT) X-Google-Smtp-Source: AIpwx488Fe+CGAtQxRyR2bA9k5EBvmIAOw95YLFX5U1Yw+6vwKeEWIjenKUD9zZUdFGhzbH2paEX X-Received: by 2002:a17:902:e8:: with SMTP id a95-v6mr1265388pla.274.1523955390014; Tue, 17 Apr 2018 01:56:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523955389; cv=none; d=google.com; s=arc-20160816; b=WtJmhkDfFmLPluihr9lEM1L4bt1xJh3KK+iwPo4RLAeZ1GV2mhZyCSRJ2hR7pyQ+N8 REifpjolKRJzW7PRPfE6f+Bk8vH9tQipNnfbQgqIzHLFSLl8cituf/lU9pcrfeDhN16N 8zZ3HC8E7gi0LliGQdy03C7OD1Ty00sWyHNzuQlqmZfXhiPmc40VcbejRlTvbofVgn8K IDjYzJSDdVFYTW6AOqUYjfr6dyUoOHBxM3Dt46r5BOEvdVgYhg7agfFXplK6ZrduyGxo Cd/6OwT8iwmMK980Cqj7V7tQO3jNrK/YlGjIvYL02vY9FDBf6CG8hbW7WgfkcizsiGD8 9MQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=FK35o9OAqZ8EvWqkXu0Uonmq1yj9KVS23aPSIIb1G2s=; b=P0mvQUdagXMCFt8n+yCz77L7NqqUECddLEqGcyCR/Wew3gcrCwaMonfqPVUakOxKjy SDOQqCSenI8e0+NZ7X5j1T57OAFrnEJ6y9XaCyXQwfO45lFQwE6TdkDQcVY68AU4xFzL +4JLNa+DrcZhbt6A1kD8J0D4N0dKH4Jkl73Nktwtb95/RDU9eYD7AX/B7pmYhdlAyYGT WrW4lD0rCu42TXEVTcK2GCJUEw6E0O2XZuhdgFHuebnQjztIBFz+GS2DaNMzuoAOORm8 TgcQ6tbthjfIaMh0OxcJK9yRz/q0CwclnToSJUysBegAsg0xqCB+g6/d2dQfN1lpGkRx kCXA== ARC-Authentication-Results: i=1; mx.google.com; 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 h1-v6si14034345plh.375.2018.04.17.01.56.15; Tue, 17 Apr 2018 01:56:29 -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; 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 S1751953AbeDQIzD (ORCPT + 99 others); Tue, 17 Apr 2018 04:55:03 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:55181 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751200AbeDQIzC (ORCPT ); Tue, 17 Apr 2018 04:55:02 -0400 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1f8MNt-00031K-7v; Tue, 17 Apr 2018 10:54:41 +0200 Date: Tue, 17 Apr 2018 10:54:37 +0200 (CEST) From: Thomas Gleixner To: David Wang cc: 'Christoph Hellwig' , mingo@redhat.com, hpa@zytor.com, gregkh@linuxfoundation.org, x86@kernel.org, linux-kernel@vger.kernel.org, brucechang@via-alliance.com, cooperyan@zhaoxin.com, qiyuanwang@zhaoxin.com, benjaminpan@viatech.com, lukelin@viacpu.com, timguo@zhaoxin.com Subject: Re: [PATCH] x86/dma-mapping: override via_no_dac for new VIA PCI bridges In-Reply-To: <000001d3d628$4e91a4c0$ebb4ee40$@zhaoxin.com> Message-ID: References: <000001d3d628$4e91a4c0$ebb4ee40$@zhaoxin.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 17 Apr 2018, David Wang wrote: > > On Mon, Apr 16, 2018 at 05:26:56PM +0800, David Wang wrote: > > > PCI bridges integrated in new VIA chipset/SoC have no DAC issue. > > > Enable DAC for the platforms with these chipset/SoC can improve DMA > > > performance about 20% when DRAM size > 4GB. > > > > > > > So we get an exception to an exception? Is there any way to figure out > the > > PCI IDs actually affected? > Yes. > > Do you mean we should list the PCI IDs of the PCI bridges which have no DAC > issue? The question was rather to have a list of PCI IDs for those chipsets which have the problem and set the 'disable' flag only for those. That makes a lot more sense than making a list of new chips which disable the disable flag. Thanks, tglx