From patchwork Thu Dec 7 15:48:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Levin, Alexander \(Sasha Levin\)" X-Patchwork-Id: 120994 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8523110qgn; Thu, 7 Dec 2017 07:49:33 -0800 (PST) X-Google-Smtp-Source: AGs4zMb2U2Sh7pFk6KrZ/PM5brPGNfVEhDnObeysqtjNgwo+1ato2eBY9zuvIWXQE+FUERlE9tOq X-Received: by 10.99.124.73 with SMTP id l9mr26037776pgn.308.1512661772936; Thu, 07 Dec 2017 07:49:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512661772; cv=none; d=google.com; s=arc-20160816; b=XpFVLB1WMJd/KIbxkgBfkn661/Djt6FORqvHxlUN+H3a9TaZNPk80hPmgR0Hew2Dyu 3J5s0SUj/sl5e+Om+/VfLOMJUjnhP02Zqn+Jz9YXSOCQayY+8Oq+ycqwcYf2p09Ws4Ds txqt4oXSU48QglQZDq4cTmctpxvx7ZBViUUTV91Q8wwfGKDbshBmz4lpxDlJWXXde/u5 22ioXTgCEbrIbrK/41LhQScA6mY78Nc3zEesx2paKce7l4MfEd/S32X+YDNSAbMTzW1I C9XeKE6KK6o5v6EYwSv63xnxKDlKJ9icsBO+MI/dbulzPgvUwN49rHjdnHG9nEBh61g9 Xwwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:cc:from:dkim-signature :dkim-signature:dkim-signature:arc-authentication-results; bh=Zf75/OkUuifU9CQqmfmFxLH+RMe9/s+l9EgWqVjHjtU=; b=hFsLarC1QfgBGV6h3M8VNAfP2wAD7Q0zZ6lwTvJRuuKkj649WrqHrOt3D+MN6A7aig eqMbZnN4t0YJMfx5L0QvN3aMhb9LxQ5KgfyrByYIbu2Iix42GB9viZf9ADMXLdtjyWeD KAXFAmZj+odQbW2fanE7IEJ6CpGVA7mrybSZqXCCvyvwotb3kYx6mpsKGqArgprPaTeq TIIfB7Ic4VoEsm/qWOHHHTCXlHw+04Gg6GqcaNAZymjewc+gcKMv9Om1K5CPYb/oxg0c KT+K3q4/YpQ+CkWTowktO8YxWZ8JNOb683rE/Hhk97otTTKdM6aVYOnWAydvzDOGkYLG N26Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verizon.com header.s=corp header.b=eyHW+fkf; dkim=fail header.i=@verizon.com header.s=corp header.b=P2jVDzhD; dkim=fail header.i=@verizon.com header.s=corp header.b=YdVl+9cu; 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=NONE dis=NONE) header.from=verizon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x13si3901740pgo.140.2017.12.07.07.49.32; Thu, 07 Dec 2017 07:49:32 -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=@verizon.com header.s=corp header.b=eyHW+fkf; dkim=fail header.i=@verizon.com header.s=corp header.b=P2jVDzhD; dkim=fail header.i=@verizon.com header.s=corp header.b=YdVl+9cu; 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=NONE dis=NONE) header.from=verizon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756040AbdLGPt3 (ORCPT + 22 others); Thu, 7 Dec 2017 10:49:29 -0500 Received: from fldsmtpe03.verizon.com ([140.108.26.142]:60692 "EHLO fldsmtpe03.verizon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754830AbdLGPtY (ORCPT ); Thu, 7 Dec 2017 10:49:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512661764; x=1544197764; h=from:cc:to:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=j4vSok4OsTCDnW49Umw78d1NJo1wApJcSk50tCvryMQ=; b=eyHW+fkffKb5FstxX6cdh8Ybq8/yq7vmVK4DJVDv+MCM6+1qZuEwsD9a a1GQCaoIEh+TyYRf+81+e2QAH1UvJOPQuNHONMpHpDWhsHgT+CUua6EoM lQ7RjtRpEcSe7gdV9+kQwFMHakX3AR2eBc4bw7GEE8SCB5h/ojvUmL0d6 0=; Received: from unknown (HELO fldsmtpi01.verizon.com) ([166.68.71.143]) by fldsmtpe03.verizon.com with ESMTP; 07 Dec 2017 15:49:23 +0000 Received: from rogue-10-255-192-101.rogue.vzwcorp.com (HELO apollo.verizonwireless.com) ([10.255.192.101]) by fldsmtpi01.verizon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Dec 2017 15:49:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512661759; x=1544197759; h=from:cc:to:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=j4vSok4OsTCDnW49Umw78d1NJo1wApJcSk50tCvryMQ=; b=P2jVDzhDCg/D7yoxd/QLGAJ0Wr+o35Y6cHnG7ypPwVHtQyfrRJIaKSF/ HrH1GwYFIVKd5MEGJXfu4i2kAxf9IbgEdklz64bwu+6k0XJdSCeAuiCvB M8zLC8X9AXyjIvU56nQDq5zhvM3mgbMmI2Kn+R0c61GZX52TiDLV18Dko s=; Received: from endeavour.tdc.vzwcorp.com (HELO eris.verizonwireless.com) ([10.254.88.163]) by apollo.verizonwireless.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Dec 2017 10:49:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512661749; x=1544197749; h=to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version:from:cc; bh=j4vSok4OsTCDnW49Umw78d1NJo1wApJcSk50tCvryMQ=; b=YdVl+9cu6H21/DISJF5tsSYZ8LIJNTKmgi7eM5v1ZuOSrd3VUGUmbRx+ k1+V4cF62UdO0oQXGVUMm+Hc+GZh3I/gvcuffIi0ODJa/89duSeiu+nDt et3XTEznBdGACXFwY6xUQbPMSDti/bK9EIJAfVCB5R7esk8lU34nD9Qiz s=; From: alexander.levin@verizon.com Cc: Tomi Valkeinen , alexander.levin@verizon.com X-Host: endeavour.tdc.vzwcorp.com Received: from ohtwi1exh003.uswin.ad.vzwcorp.com ([10.144.218.45]) by eris.verizonwireless.com with ESMTP/TLS/AES128-SHA256; 07 Dec 2017 15:49:09 +0000 Received: from tbwexch12apd.uswin.ad.vzwcorp.com (153.114.162.36) by OHTWI1EXH003.uswin.ad.vzwcorp.com (10.144.218.45) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 7 Dec 2017 10:49:09 -0500 Received: from OMZP1LUMXCA20.uswin.ad.vzwcorp.com (144.8.22.198) by tbwexch12apd.uswin.ad.vzwcorp.com (153.114.162.36) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 7 Dec 2017 10:49:09 -0500 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com (144.8.22.195) by OMZP1LUMXCA20.uswin.ad.vzwcorp.com (144.8.22.198) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 7 Dec 2017 09:49:08 -0600 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com ([144.8.22.195]) by OMZP1LUMXCA17.uswin.ad.vzwcorp.com ([144.8.22.195]) with mapi id 15.00.1263.000; Thu, 7 Dec 2017 09:49:08 -0600 To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" Subject: [PATCH AUTOSEL for 4.9 023/156] drm/omap: fix dmabuf mmap for dma_alloc'ed buffers Thread-Topic: [PATCH AUTOSEL for 4.9 023/156] drm/omap: fix dmabuf mmap for dma_alloc'ed buffers Thread-Index: AQHTb3Lme55fq4sQrUmJ6YNxgdIQCg== Date: Thu, 7 Dec 2017 15:48:59 +0000 Message-ID: <20171207154845.4814-23-alexander.levin@verizon.com> References: <20171207154845.4814-1-alexander.levin@verizon.com> In-Reply-To: <20171207154845.4814-1-alexander.levin@verizon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.144.60.250] MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tomi Valkeinen [ Upstream commit 9fa1d7537242bd580ffa99c4725a0407096aad26 ] omap_gem_dmabuf_mmap() returns an error (with a WARN) when called for a buffer which is allocated with dma_alloc_*(). This prevents dmabuf mmap from working on SoCs without DMM, e.g. AM4 and OMAP3. I could not find any reason for omap_gem_dmabuf_mmap() rejecting such buffers, and just removing the if() fixes the limitation. Signed-off-by: Tomi Valkeinen Signed-off-by: Sasha Levin --- drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c | 3 --- 1 file changed, 3 deletions(-) -- 2.11.0 diff --git a/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c b/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c index af267c35d813..ee5883f59be5 100644 --- a/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c +++ b/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c @@ -147,9 +147,6 @@ static int omap_gem_dmabuf_mmap(struct dma_buf *buffer, struct drm_gem_object *obj = buffer->priv; int ret = 0; - if (WARN_ON(!obj->filp)) - return -EINVAL; - ret = drm_gem_mmap_obj(obj, omap_gem_mmap_size(obj), vma); if (ret < 0) return ret; From patchwork Thu Dec 7 15:49:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Levin, Alexander \(Sasha Levin\)" X-Patchwork-Id: 121036 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8654522qgn; Thu, 7 Dec 2017 09:44:50 -0800 (PST) X-Google-Smtp-Source: AGs4zMa9l3f/ImBgm8vUXfOwHxQMWgt3boapQZigi2PI5WYntf9saBPmmnxOBka8pN8G7CjDvVYu X-Received: by 10.101.97.15 with SMTP id z15mr12951895pgu.267.1512668690685; Thu, 07 Dec 2017 09:44:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512668690; cv=none; d=google.com; s=arc-20160816; b=tv8sse3oTbnkOQ6Wd0KAJ2lhSFCaTXhLuUo3aQHX7jffDg1CB94RvTASzLwqLr1LUP kWFnWodmdVzhIIAZOC+/FiaosLuJsIxkl+tQ3r1sXi8BfBCQsq2w424qIC4PQQY6LZgY sM02QPkvNp50Cbtl42tTFpefb2KRhXvDECh4osue5Y61BkOOtbUrNvaEXdCVWUidKlhz yNpr+mIJY66Diby1AYHldrbruHuOCqV6t9VbnW1ZmJWhmcC8YOBT/HKOaki8B0lUYplT d0ykWn64E2dhCCDE8UYN3x82ORxONf0Dr/aC104JKyIjQwxcZEzbCV0fkX4QpxT+nr4M oGHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:cc:from:dkim-signature :dkim-signature:dkim-signature:arc-authentication-results; bh=QE3fhy5kTiGz3OYrFyOHPpnD/OkyFlxMDb97mAJqaBc=; b=me89SCfzygdgdoa2kasVZPYspelaIyrgn3PnRf6jB7aqfDQr9oaSKPeBH9yvNqeAvj xnJBGvB6KVtrTvsq7a7GDC1WHCGqwbFBEyW2a6xSGc7U0lD1RovjVDBAsi6cScOenO9g AEn5QNdPmJ6OwT3U/V7ljL4tPPE8pvgFYBMcg08JSjQ+kkxx8CntmuMW0g8R9l7bpdYJ Pqqq+WOAcffPG8JFl22wWzFWRdmgZNeAqX3+vn0Owqz/AJtNlYLDeMDXkiFeFsK9jLSM q1idXbuD8QkFbGHpXdYpfQHc4b6yDjig+Glei28HErNPDwL2kHkwmldcvbAN4Btcjpt4 CenA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verizon.com header.s=corp header.b=QRKUFjxx; dkim=fail header.i=@verizon.com header.s=corp header.b=fwfmBYhc; dkim=fail header.i=@verizon.com header.s=corp header.b=JqIsLq4C; 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=NONE dis=NONE) header.from=verizon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f84si2827226pfd.161.2017.12.07.09.44.50; Thu, 07 Dec 2017 09:44:50 -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=@verizon.com header.s=corp header.b=QRKUFjxx; dkim=fail header.i=@verizon.com header.s=corp header.b=fwfmBYhc; dkim=fail header.i=@verizon.com header.s=corp header.b=JqIsLq4C; 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=NONE dis=NONE) header.from=verizon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752789AbdLGRoq (ORCPT + 14 others); Thu, 7 Dec 2017 12:44:46 -0500 Received: from fldsmtpe03.verizon.com ([140.108.26.142]:60849 "EHLO fldsmtpe03.verizon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756024AbdLGPt1 (ORCPT ); Thu, 7 Dec 2017 10:49:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512661767; x=1544197767; h=from:cc:to:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=b7oa4n6AGktf2UQ5qBBH8PYQ/rN4UTMFzJYvWNRFzSI=; b=QRKUFjxxqGCPk3Qav3QjEwns2rXNbZg37ARPLacOfl7i1uNuzalXBCEo Qn6gZeOPcvJF3SUWIoBYmbmpbFoBo6HZ7M0Vjp9F/s1zLMr3wi3YzpziN OFf+FTpOaS0N+aM615TTxdw1xyZwL056oqNpZ8oWn4mh+S3wOXT7ed9f1 A=; Received: from unknown (HELO fldsmtpi01.verizon.com) ([166.68.71.143]) by fldsmtpe03.verizon.com with ESMTP; 07 Dec 2017 15:49:23 +0000 Received: from rogue-10-255-192-101.rogue.vzwcorp.com (HELO apollo.verizonwireless.com) ([10.255.192.101]) by fldsmtpi01.verizon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Dec 2017 15:49:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512661763; x=1544197763; h=from:cc:to:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=b7oa4n6AGktf2UQ5qBBH8PYQ/rN4UTMFzJYvWNRFzSI=; b=fwfmBYhcv50UhVz3BChaUbTaiW+c/r3N8O3R/8LGaMUooWVwokBNo/w+ nwz+f0LgcZ+lwNGoelqE6bTq8NDhfmhjG84oMGADSiiK1nB+3DjN7YYo2 D46r1W6knYuveF4loWGc2+T3JcKODxDH3T+1xdWdvOrW3pbPVHrvhYCwA M=; Received: from surveyor.tdc.vzwcorp.com (HELO eris.verizonwireless.com) ([10.254.88.83]) by apollo.verizonwireless.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Dec 2017 10:49:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512661754; x=1544197754; h=to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version:from:cc; bh=b7oa4n6AGktf2UQ5qBBH8PYQ/rN4UTMFzJYvWNRFzSI=; b=JqIsLq4CUuMwNB1FiVlMFW+IZYUdtk9LaAPhanfPV016XtEJP5T1qWgp hnJJqzO1AXfax/tgwhfengmWVS8wXETpzlSTIrFb0sk/8KcX94PwCq8Dl ulfydf5twRjB/nmMu+CfKM3Jpq4q3QpdLVZaWQdKlnpXtULyuYtoHidSO g=; From: alexander.levin@verizon.com Cc: Arnd Bergmann , Marc Zyngier , alexander.levin@verizon.com X-Host: surveyor.tdc.vzwcorp.com Received: from ohtwi1exh001.uswin.ad.vzwcorp.com ([10.144.218.43]) by eris.verizonwireless.com with ESMTP/TLS/AES128-SHA256; 07 Dec 2017 15:49:13 +0000 Received: from tbwexch28apd.uswin.ad.vzwcorp.com (153.114.162.52) by OHTWI1EXH001.uswin.ad.vzwcorp.com (10.144.218.43) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 7 Dec 2017 10:49:14 -0500 Received: from OMZP1LUMXCA11.uswin.ad.vzwcorp.com (144.8.22.186) by tbwexch28apd.uswin.ad.vzwcorp.com (153.114.162.52) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 7 Dec 2017 10:49:13 -0500 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com (144.8.22.195) by OMZP1LUMXCA11.uswin.ad.vzwcorp.com (144.8.22.186) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 7 Dec 2017 09:49:12 -0600 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com ([144.8.22.195]) by OMZP1LUMXCA17.uswin.ad.vzwcorp.com ([144.8.22.195]) with mapi id 15.00.1263.000; Thu, 7 Dec 2017 09:49:12 -0600 To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" Subject: [PATCH AUTOSEL for 4.9 030/156] irqchip/mvebu-odmi: Select GENERIC_MSI_IRQ_DOMAIN Thread-Topic: [PATCH AUTOSEL for 4.9 030/156] irqchip/mvebu-odmi: Select GENERIC_MSI_IRQ_DOMAIN Thread-Index: AQHTb3LnmWCBAhk2jU6O2cHtNalBOg== Date: Thu, 7 Dec 2017 15:49:01 +0000 Message-ID: <20171207154845.4814-30-alexander.levin@verizon.com> References: <20171207154845.4814-1-alexander.levin@verizon.com> In-Reply-To: <20171207154845.4814-1-alexander.levin@verizon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.144.60.250] MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann [ Upstream commit fa23b9d1b89fdc34f296f02e496a20aeff5736be ] This driver uses the MSI domain but has no strict dependency on PCI_MSI, so we may run into a build failure when CONFIG_GENERIC_MSI_IRQ_DOMAIN is disabled: drivers/irqchip/irq-mvebu-odmi.c:152:15: error: variable 'odmi_msi_ops' has initializer but incomplete type static struct msi_domain_ops odmi_msi_ops = { ^~~~~~~~~~~~~~ drivers/irqchip/irq-mvebu-odmi.c:155:15: error: variable 'odmi_msi_domain_info' has initializer but incomplete type static struct msi_domain_info odmi_msi_domain_info = { ^~~~~~~~~~~~~~~ drivers/irqchip/irq-mvebu-odmi.c:156:3: error: 'struct msi_domain_info' has no member named 'flags' .flags = (MSI_FLAG_USE_DEF_DOM_OPS | MSI_FLAG_USE_DEF_CHIP_OPS), ^~~~~ drivers/irqchip/irq-mvebu-odmi.c:156:12: error: 'MSI_FLAG_USE_DEF_DOM_OPS' undeclared here (not in a function) .flags = (MSI_FLAG_USE_DEF_DOM_OPS | MSI_FLAG_USE_DEF_CHIP_OPS), ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/irqchip/irq-mvebu-odmi.c:156:39: error: 'MSI_FLAG_USE_DEF_CHIP_OPS' undeclared here (not in a function); did you mean 'MSI_FLAG_USE_DEF_DOM_OPS'? Selecting the option from this driver seems to solve this nicely, though I could not find any other instance of this in irqchip drivers. Signed-off-by: Arnd Bergmann Acked-by: Thomas Petazzoni Signed-off-by: Marc Zyngier Signed-off-by: Sasha Levin --- drivers/irqchip/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.11.0 diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index bc0af3307bbf..910cb5e23371 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -258,6 +258,7 @@ config IRQ_MXS config MVEBU_ODMI bool + select GENERIC_MSI_IRQ_DOMAIN config MVEBU_PIC bool From patchwork Thu Dec 7 15:49:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Levin, Alexander \(Sasha Levin\)" X-Patchwork-Id: 121035 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8650670qgn; Thu, 7 Dec 2017 09:40:41 -0800 (PST) X-Google-Smtp-Source: AGs4zMbjRGZpH9FAycMoGKf7gKBVpWk/ka+xMhyN+VP7u6on/11/ZxcoM+tVDogpEBEGHSbID41B X-Received: by 10.101.73.74 with SMTP id q10mr25957137pgs.127.1512668441793; Thu, 07 Dec 2017 09:40:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512668441; cv=none; d=google.com; s=arc-20160816; b=Avi52pEUgHTxKl2zkGCH4/zrSXsLdLEsaHORrz4shSPpXGQF691YZ91JhbnEXO8GD/ 54jEvQ+kFT/s+UJjEcdwVf72c9SLo4RKds4pSNcG0dbL/4W4SYz194gAeVuyME+Qn3YN y1+1KfmOoPs3VVJFie2CZ7CqM22089/8FZrbY5QFS7ZXFFXFKlWbVjgQ45cKsnUzVmt2 edVHwZ1yg5qkerx7kLI3T1IAWSF8TlTl+45FHQt9pdEyE1tTWXE7ge5RBt0P7LiMHe8q I/Tb0b3+K76EbW3/A6F6l5cEl4wJTVb4luRp6RPbj/5fPKZr26fSMC8PCqC5sv2MDjoB PHuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:cc:from:dkim-signature :dkim-signature:dkim-signature:arc-authentication-results; bh=IDKb7eNIm5DNzpvKtZHINYqsNZQZwC8W+g2Hvl/nGTw=; b=XUQ7dLbM45DGU6kw53KABu/p5HtnRyw8q50Z+wh0oP5oNtMNXUV1+6KPxUbtQZkOuX LhNPDZmCH5DqOKLPo9O/HEy1Tv7KULakvV4QmrDS9TdePlrAKF/QD6frBzl4S3ci0TEB KqILKKtfc+AqLp1YjonYuw8RKQsYgk2fjg0+LZJEaCT8jqRyQtY7ndtKgGAohHu32gsl el5RVpNbIe+wFVhljnkMpz0Mj288IGJI/DXE8daXo9KxG1GPOKebNVCuD/x5xEhcmbnd 4qMWYyt366ZNhK2hQiIkdbSkh4k5hFrqiGPId9uj5HiAw+EljT0wB+/POVnaM/zsTo23 yqCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verizon.com header.s=corp header.b=WnLMCTwo; dkim=fail header.i=@verizon.com header.s=corp header.b=JcFvX22Q; dkim=fail header.i=@verizon.com header.s=corp header.b=OwkjvfzI; 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=NONE dis=NONE) header.from=verizon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13si4473221pfb.56.2017.12.07.09.40.41; Thu, 07 Dec 2017 09:40:41 -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=@verizon.com header.s=corp header.b=WnLMCTwo; dkim=fail header.i=@verizon.com header.s=corp header.b=JcFvX22Q; dkim=fail header.i=@verizon.com header.s=corp header.b=OwkjvfzI; 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=NONE dis=NONE) header.from=verizon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752966AbdLGRhz (ORCPT + 12 others); Thu, 7 Dec 2017 12:37:55 -0500 Received: from omzsmtpe01.verizonbusiness.com ([199.249.25.210]:52258 "EHLO omzsmtpe01.verizonbusiness.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932153AbdLGPtv (ORCPT ); Thu, 7 Dec 2017 10:49:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512661791; x=1544197791; h=from:cc:to:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=IDKb7eNIm5DNzpvKtZHINYqsNZQZwC8W+g2Hvl/nGTw=; b=WnLMCTwoPONwloOwP8SzFcApcFWevjMWKNI6A5XI1NX2SKbNxA5sEu9A sC2fqK8qkBslvCth6vlZwk/4KVQI9sUlKptFaicK6nC+QVhrIpTR9Z0qr xssyXiDNFA6frx21KjsXMJ5Rrnp9T2BaDD879jGAKKReEqxAEX9WTk3B4 c=; Received: from unknown (HELO fldsmtpi01.verizon.com) ([166.68.71.143]) by omzsmtpe01.verizonbusiness.com with ESMTP; 07 Dec 2017 15:49:48 +0000 Received: from rogue-10-255-192-101.rogue.vzwcorp.com (HELO atlantis.verizonwireless.com) ([10.255.192.101]) by fldsmtpi01.verizon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Dec 2017 15:49:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512661788; x=1544197788; h=from:cc:to:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=IDKb7eNIm5DNzpvKtZHINYqsNZQZwC8W+g2Hvl/nGTw=; b=JcFvX22QQkDPhXXMu/pW2bRQljHwmu4R6MhuV3U4BLfLNwPUoCcf6pru Xzqg0PRGm314gzuyQ/WIuyW+NXbwzYUSEbTC3+HxjjtfyO4aOGYmAJ3km d9RSUSVAqEOYG2mLa+xAzZSLuHxXPcAShnfs6rtcaKA87Es8Ea0/+/Xsc A=; Received: from surveyor.tdc.vzwcorp.com (HELO eris.verizonwireless.com) ([10.254.88.83]) by atlantis.verizonwireless.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Dec 2017 10:49:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512661788; x=1544197788; h=to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version:from:cc; bh=IDKb7eNIm5DNzpvKtZHINYqsNZQZwC8W+g2Hvl/nGTw=; b=OwkjvfzIGeYo39sWOgnapRGWzigkXNpqbSG00j6hwgKuB7uJHgKCdN1M LeeBVr60UD9qsV/Gzt4KmO8dTAl0UCfeGNOp2cVI9yhiZMBZsWLbGHVgx 2tRc55OQHSb71Y8x28xukl5/ysPLxY8BnnrrmsP/FAoHt0rtGZ1xM2uI9 U=; From: alexander.levin@verizon.com Cc: Arnd Bergmann , Alex Deucher , alexander.levin@verizon.com X-Host: surveyor.tdc.vzwcorp.com Received: from ohtwi1exh002.uswin.ad.vzwcorp.com ([10.144.218.44]) by eris.verizonwireless.com with ESMTP/TLS/AES128-SHA256; 07 Dec 2017 15:49:48 +0000 Received: from tbwexch30apd.uswin.ad.vzwcorp.com (153.114.162.54) by OHTWI1EXH002.uswin.ad.vzwcorp.com (10.144.218.44) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 7 Dec 2017 10:49:48 -0500 Received: from OMZP1LUMXCA14.uswin.ad.vzwcorp.com (144.8.22.189) by tbwexch30apd.uswin.ad.vzwcorp.com (153.114.162.54) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 7 Dec 2017 10:49:47 -0500 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com (144.8.22.195) by OMZP1LUMXCA14.uswin.ad.vzwcorp.com (144.8.22.189) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 7 Dec 2017 09:49:46 -0600 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com ([144.8.22.195]) by OMZP1LUMXCA17.uswin.ad.vzwcorp.com ([144.8.22.195]) with mapi id 15.00.1263.000; Thu, 7 Dec 2017 09:49:46 -0600 To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" Subject: [PATCH AUTOSEL for 4.9 037/156] drm: amd: remove broken include path Thread-Topic: [PATCH AUTOSEL for 4.9 037/156] drm: amd: remove broken include path Thread-Index: AQHTb3LoNrjDXgvNcky7me9REfawCQ== Date: Thu, 7 Dec 2017 15:49:03 +0000 Message-ID: <20171207154845.4814-37-alexander.levin@verizon.com> References: <20171207154845.4814-1-alexander.levin@verizon.com> In-Reply-To: <20171207154845.4814-1-alexander.levin@verizon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.144.60.250] MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann [ Upstream commit 655d9ca9ac075da1ef2a45012ba48a39f6eb1f58 ] The AMD ACP driver adds "-I../acp -I../acp/include" to the gcc command line, which makes no sense, since these are evaluated relative to the build directory. When we build with "make W=1", they instead cause a warning: cc1: error: ../acp/: No such file or directory [-Werror=missing-include-dirs] cc1: error: ../acp/include: No such file or directory [-Werror=missing-include-dirs] cc1: all warnings being treated as errors ../scripts/Makefile.build:289: recipe for target 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.o' failed ../scripts/Makefile.build:289: recipe for target 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.o' failed ../scripts/Makefile.build:289: recipe for target 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.o' failed This removes the subdir-ccflags variable that evidently did not serve any purpose here. Signed-off-by: Arnd Bergmann Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/acp/Makefile | 2 -- 1 file changed, 2 deletions(-) -- 2.11.0 diff --git a/drivers/gpu/drm/amd/acp/Makefile b/drivers/gpu/drm/amd/acp/Makefile index 8363cb57915b..8a08e81ee90d 100644 --- a/drivers/gpu/drm/amd/acp/Makefile +++ b/drivers/gpu/drm/amd/acp/Makefile @@ -3,6 +3,4 @@ # of AMDSOC/AMDGPU drm driver. # It provides the HW control for ACP related functionalities. -subdir-ccflags-y += -I$(AMDACPPATH)/ -I$(AMDACPPATH)/include - AMD_ACP_FILES := $(AMDACPPATH)/acp_hw.o From patchwork Thu Dec 7 15:49:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Levin, Alexander \(Sasha Levin\)" X-Patchwork-Id: 121027 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8598425qgn; Thu, 7 Dec 2017 08:55:51 -0800 (PST) X-Google-Smtp-Source: AGs4zMYOyzd3i/O11HAjTHxJ7bzHzmiEQf8ES2aItbGiSnEDtXP95udAxwjvwpFkWjo0sagYLFR/ X-Received: by 10.84.244.136 with SMTP id h8mr3285941pll.222.1512665751581; Thu, 07 Dec 2017 08:55:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512665751; cv=none; d=google.com; s=arc-20160816; b=GE1HSWrU0ddY9uHy/AyWvsPFsgT4ApYt97h6C8rGTrS9/SgLADPoTyTxK3qXfmaHK3 6tAgxsHMstNRHpFtu2QqWSFgupfBr58tcXC6ZeFyyiw3L66dfL3CWpLr6LvdEZ8xmmfN wksVLcAgZ9gNMiBqEMlp3ahmozJ42Fg71tURLMujlVvy8wJ2VUMS46Ef43/aQIzzEemF SqdFmMerxuwCUavB8MMsLk4MJaljThmwCB9Xvkkre/dNjFXlIhQuFIFqLjTIDwGfoiH1 u3JNpmEZ28Ju52XYcZYU+LvAdh20hKv7rJSgn0J0sOC5eEGG1jY13uy2mh+FJIOwkgwF 0WQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:cc:from:dkim-signature :dkim-signature:dkim-signature:arc-authentication-results; bh=XQhLOHEntop+8yXjN9nUMANPbKZJrCLPXo6Vmo3CR0U=; b=QyilAjbnFXYobq8K/htqkvthjIRwhsC6e0Pps3IDO1fjCTCdO3GVsmriRe9bCaR8/a VcmMsg47ptzZjS2DH5ErUjBFIqL2tZM8TTsYAagEiYxLKBY2uSXwm5H0DbiiOn3wXM77 Y5n2Zh+GtafWD4Z4R4NF8zeffYaz0bNei9T3v0K3GO8IgE6gyMwrQOYzIb7nql7yAVY3 ftFSizJ2TyNzK5IY3VzMzaHO6869/B3YTR0crDvUeIZHp03r7ZTWWWbDCCQzC67j0CSJ OtLhLYti3LDwvgvRuEipVUHn89OjqbjtOexN+7zuD/fZqI2q102HhZcgTZjQfmyJRkIx zFeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verizon.com header.s=corp header.b=K1+vlcrU; dkim=fail header.i=@verizon.com header.s=corp header.b=igzRcvNA; dkim=fail header.i=@verizon.com header.s=corp header.b=Lf/AfDtY; 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=NONE dis=NONE) header.from=verizon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i11si4339997pfk.351.2017.12.07.08.55.51; Thu, 07 Dec 2017 08:55:51 -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=@verizon.com header.s=corp header.b=K1+vlcrU; dkim=fail header.i=@verizon.com header.s=corp header.b=igzRcvNA; dkim=fail header.i=@verizon.com header.s=corp header.b=Lf/AfDtY; 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=NONE dis=NONE) header.from=verizon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755080AbdLGQzt (ORCPT + 22 others); Thu, 7 Dec 2017 11:55:49 -0500 Received: from fldsmtpe03.verizon.com ([140.108.26.142]:61675 "EHLO fldsmtpe03.verizon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932431AbdLGPxR (ORCPT ); Thu, 7 Dec 2017 10:53:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512661997; x=1544197997; h=from:cc:to:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=IowhT0RC5wb83pJXgKCU7a1MXpxxu3/4bdTq2UX0I2k=; b=K1+vlcrUvrYoHRA5J0VFRMME87rXtomzxVMtO2RCWmQKAkqx3WJNUSnV RFqN7lassZ+UmZ5HVGWRJ1UFzIqYxGp379QiceE7+96ZCDE9yjAHe06mv eGukUd08LXoTf42DdT2K8ZYSxm1O+1aS2cBWMlx9zpNf4F5bwTriP0uhZ 8=; Received: from unknown (HELO fldsmtpi03.verizon.com) ([166.68.71.145]) by fldsmtpe03.verizon.com with ESMTP; 07 Dec 2017 15:53:11 +0000 Received: from rogue-10-255-192-101.rogue.vzwcorp.com (HELO apollo.verizonwireless.com) ([10.255.192.101]) by fldsmtpi03.verizon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Dec 2017 15:52:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512661969; x=1544197969; h=from:cc:to:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=IowhT0RC5wb83pJXgKCU7a1MXpxxu3/4bdTq2UX0I2k=; b=igzRcvNAUkVAkGtF97duuuNVKVre369boDBwtw15YZhIWxxACf+gmm+J SlRCJmPWUCKIIPPitwoZXBrQ4+9D3qnPKttuVaVLznegexrA4m0nBbTsa 4+K1YL8v4tEt2ld1k/pXId7s3QTfi4PL70tb+VX+IMAAyFt7RnUOBN/eh M=; Received: from mariner.tdc.vzwcorp.com (HELO eris.verizonwireless.com) ([10.254.88.84]) by apollo.verizonwireless.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Dec 2017 10:52:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512661948; x=1544197948; h=to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version:from:cc; bh=IowhT0RC5wb83pJXgKCU7a1MXpxxu3/4bdTq2UX0I2k=; b=Lf/AfDtYgYhAsHRYhAhx+PnfA1QQft2xCN77YbofRxsMKiKK6S2Z2Zd2 icHTmaZlf7D/DvBbymyt+bpZGlkarctOMD3TGJs+t0EzEcwIN+qsY5Xpq p2Urt8ASo7FKjpsvyLqYLH1jyETJiUEMND95N16PknCLulonlXS5Mv1q5 w=; From: alexander.levin@verizon.com Cc: Marek Szyprowski , Mark Brown , alexander.levin@verizon.com X-Host: mariner.tdc.vzwcorp.com Received: from ohtwi1exh002.uswin.ad.vzwcorp.com ([10.144.218.44]) by eris.verizonwireless.com with ESMTP/TLS/AES128-SHA256; 07 Dec 2017 15:52:27 +0000 Received: from tbwexch19apd.uswin.ad.vzwcorp.com (153.114.162.43) by OHTWI1EXH002.uswin.ad.vzwcorp.com (10.144.218.44) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 7 Dec 2017 10:52:27 -0500 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com (144.8.22.195) by tbwexch19apd.uswin.ad.vzwcorp.com (153.114.162.43) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 7 Dec 2017 10:52:27 -0500 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com (144.8.22.195) by OMZP1LUMXCA17.uswin.ad.vzwcorp.com (144.8.22.195) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 7 Dec 2017 09:52:26 -0600 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com ([144.8.22.195]) by OMZP1LUMXCA17.uswin.ad.vzwcorp.com ([144.8.22.195]) with mapi id 15.00.1263.000; Thu, 7 Dec 2017 09:52:26 -0600 To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" Subject: [PATCH AUTOSEL for 4.9 147/156] ASoC: samsung: i2s: disable secondary DAI until it gets fixed Thread-Topic: [PATCH AUTOSEL for 4.9 147/156] ASoC: samsung: i2s: disable secondary DAI until it gets fixed Thread-Index: AQHTb3L5/6EYmZ03MkibYlIJ5YhbhQ== Date: Thu, 7 Dec 2017 15:49:32 +0000 Message-ID: <20171207154845.4814-147-alexander.levin@verizon.com> References: <20171207154845.4814-1-alexander.levin@verizon.com> In-Reply-To: <20171207154845.4814-1-alexander.levin@verizon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.144.60.250] MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marek Szyprowski [ Upstream commit 064970a0aae978073a859aaf0793bfe14762d4f3 ] Secondary DAI in Exynos I2S driver is not used by any of the currently supported boards and it causes problems due to some limitations in the ASoC code. Disable it until it gets proper support both by board-specific and ASoC core code. Also disable IDMA support, which relies on secondary DAI presence. This patch fixes following kernel warning: samsung-i2s 3830000.i2s: ASoC: Failed to create component debugfs directory samsung-i2s 3830000.i2s: ASoC: Failed to create component debugfs directory ------------[ cut here ]------------ WARNING: CPU: 3 PID: 82 at fs/proc/generic.c:330 proc_register+0xec/0x10c proc_dir_entry 'sub0/prealloc' already registered Modules linked in: CPU: 3 PID: 82 Comm: kworker/3:1 Not tainted 4.14.0-rc5-next-20171017 #3089 Hardware name: SAMSUNG EXYNOS (Flattened Device Tree) Workqueue: events deferred_probe_work_func [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [] (show_stack) from [] (dump_stack+0x90/0xc8) [] (dump_stack) from [] (__warn+0xd4/0x100) [] (__warn) from [] (warn_slowpath_fmt+0x38/0x48) [] (warn_slowpath_fmt) from [] (proc_register+0xec/0x10c) [] (proc_register) from [] (proc_create_data+0x84/0xc8) [] (proc_create_data) from [] (snd_info_register+0x64/0xcc) [] (snd_info_register) from [] (snd_pcm_lib_preallocate_pages1+0x78/0x1a0) [] (snd_pcm_lib_preallocate_pages1) from [] (dmaengine_pcm_new+0xa0/0x1ec) [] (dmaengine_pcm_new) from [] (snd_soc_platform_drv_pcm_new+0x1c/0x28) [] (snd_soc_platform_drv_pcm_new) from [] (soc_new_pcm+0x2f4/0x4f4) [] (soc_new_pcm) from [] (snd_soc_register_card+0xc4c/0xdc4) [] (snd_soc_register_card) from [] (devm_snd_soc_register_card+0x34/0x70) [] (devm_snd_soc_register_card) from [] (asoc_simple_card_probe+0x230/0x47c) [] (asoc_simple_card_probe) from [] (platform_drv_probe+0x50/0xb0) [] (platform_drv_probe) from [] (driver_probe_device+0x2a0/0x46c) [] (driver_probe_device) from [] (bus_for_each_drv+0x44/0x8c) [] (bus_for_each_drv) from [] (__device_attach+0xa0/0x134) [] (__device_attach) from [] (bus_probe_device+0x88/0x90) [] (bus_probe_device) from [] (deferred_probe_work_func+0x3c/0x168) [] (deferred_probe_work_func) from [] (process_one_work+0x188/0x41c) [] (process_one_work) from [] (process_scheduled_works+0x28/0x38) [] (process_scheduled_works) from [] (worker_thread+0x210/0x4dc) [] (worker_thread) from [] (kthread+0x128/0x164) [] (kthread) from [] (ret_from_fork+0x14/0x2c) ---[ end trace bad8db6ee771d094 ]-- Signed-off-by: Marek Szyprowski Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/samsung/i2s.c | 1 + 1 file changed, 1 insertion(+) -- 2.11.0 diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index 85324e61cbd5..0b847cec21eb 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c @@ -1284,6 +1284,7 @@ static int samsung_i2s_probe(struct platform_device *pdev) } } } + quirks &= ~(QUIRK_SEC_DAI | QUIRK_SUPPORTS_IDMA); res = platform_get_resource(pdev, IORESOURCE_MEM, 0); pri_dai->addr = devm_ioremap_resource(&pdev->dev, res);