Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753641AbcDOKoB (ORCPT ); Fri, 15 Apr 2016 06:44:01 -0400 Received: from smtp.nue.novell.com ([195.135.221.5]:59757 "EHLO smtp.nue.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753195AbcDOKn7 (ORCPT ); Fri, 15 Apr 2016 06:43:59 -0400 Subject: Re: [PATCH] staging: fsl-mc: bus: Drop warning To: Stuart Yoder , "German.Rivera@freescale.com" , "gregkh@linuxfoundation.org" References: <1460669066-25247-1-git-send-email-mbrugger@suse.com> Cc: Scott Wood , "agraf@suse.de" , "linux-kernel@vger.kernel.org" , "devel@driverdev.osuosl.org" From: Matthias Brugger Message-ID: <5710C5D3.1040700@suse.com> Date: Fri, 15 Apr 2016 12:43:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1724 Lines: 44 On 15/04/16 00:57, Stuart Yoder wrote: > > >> -----Original Message----- >> From: Matthias Brugger [mailto:mbrugger@suse.com] >> Sent: Thursday, April 14, 2016 4:24 PM >> To: German.Rivera@freescale.com; gregkh@linuxfoundation.org >> Cc: Stuart Yoder ; Scott Wood ; agraf@suse.de; linux- >> kernel@vger.kernel.org; devel@driverdev.osuosl.org; mbrugger@suse.com >> Subject: [PATCH] staging: fsl-mc: bus: Drop warning >> >> When updating the irq_chip and msi_domain_ops, the code checkes for >> already present functions. >> When more then one ITS controller are present in the system, >> irq_chip and msi_domain_ops got already set and a warning is invoked. > > How can this situation happen? And what do you mean by > multiple ITS controllers? ...multiple instances of the GIC ITS > on an SoC? > Yes, there are two arm,gic-v3-its defined in the FDT. ~ # ll /proc/device-tree/interrupt-controller@8010\,00000000/ total 0 -r--r--r-- 1 root root 4 Apr 15 12:31 #address-cells -r--r--r-- 1 root root 11 Apr 15 12:31 compatible drwxr-xr-x 2 root root 0 Apr 15 12:31 gic-its@8010,00020000 drwxr-xr-x 2 root root 0 Apr 15 12:31 gic-its@9010,00020000 -r--r--r-- 1 root root 4 Apr 15 12:31 #interrupt-cells -r--r--r-- 1 root root 0 Apr 15 12:31 interrupt-controller -r--r--r-- 1 root root 12 Apr 15 12:31 interrupts -r--r--r-- 1 root root 4 Apr 15 12:31 linux,phandle -r--r--r-- 1 root root 21 Apr 15 12:31 name -r--r--r-- 1 root root 4 Apr 15 12:31 phandle -r--r--r-- 1 root root 0 Apr 15 12:31 ranges -r--r--r-- 1 root root 4 Apr 15 12:31 #redistributor-regions -r--r--r-- 1 root root 48 Apr 15 12:31 reg -r--r--r-- 1 root root 4 Apr 15 12:31 #size-cells Regards, Matthias