Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp284671imj; Thu, 7 Feb 2019 04:22:44 -0800 (PST) X-Google-Smtp-Source: AHgI3IbpkPfTFrp4UdNqXDFrN3xZVJEy0ihY6QdqgaGy3Ampn1V0iQtWc1X5ONCf3gSNwgspzI1I X-Received: by 2002:a17:902:7243:: with SMTP id c3mr16066412pll.53.1549542164005; Thu, 07 Feb 2019 04:22:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549542163; cv=none; d=google.com; s=arc-20160816; b=Yo3X4hLlKTL2gKnyVL3MME86W9AJJ1FYsG4+IHOVb2D3+vdOSaM73Sff81p0jaIA6w xWpHVZ0Q5Ajl0xdojWNegGw8GiZmFk+2sCm/dQdCULm6dUdVDZSSQ7SmcsXzpwGyrD7n WG9LqeZ+qgX/GHm4qFoHxb+lOxvVjEeRpAC3rPFFPxzUVCyh780Njiq70yW7HLk8IpNM f1rMN4OomYr3rIlhy0gnRd3iQUJYe3AoI9fGt55J98VL/hayJeSWBkTQ4zr+TtPISSl0 +M46lbHMlr2vbje+Rj60rNN1G28HTkttVDZEi/Y8gcokfNnBVXYNbr3QP21LySH3/lSD nbFQ== 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; bh=dCTLPZKdBwcNKIjpTTCnTDXhgBzRhnn4VA2HiHM1NZk=; b=IW93541RRZXKWjuSCZz+dIfelibe38HjAW9DWebXysfJKY2rEXKlg9IHScKN8LU6Cc q2NwZtkbFgsxAh3aJZjPPPBx4Hev9ipqKjdFxbF6gaQ8asWF2BCfWHJmJzJO2CqS048d bWWAtmfxXmkng7hnETyIy4gHb1wlP0XgF6D+HVyxqWb9YT9U2tJIk4Biv4X/V1dnZfGx 1pHjlHL6WsHM6Of9uMx+m5Nr1FHiRYTr7q8/LXNP0RnZOZ5JuWOpbirESGMGynFh6AeW 8Ehz+EUhfouaddcYw1I2o28rzgJNaTD4VPl2puPxxMy953tdi+fuUyxzUhTdAC6kAwHr fvbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=SET6Beng; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v22si367340pgn.342.2019.02.07.04.22.27; Thu, 07 Feb 2019 04:22:43 -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=@ti.com header.s=ti-com-17Q1 header.b=SET6Beng; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726906AbfBGMWE (ORCPT + 99 others); Thu, 7 Feb 2019 07:22:04 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:38010 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726727AbfBGMWD (ORCPT ); Thu, 7 Feb 2019 07:22:03 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x17CLhtl115848; Thu, 7 Feb 2019 06:21:43 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1549542103; bh=dCTLPZKdBwcNKIjpTTCnTDXhgBzRhnn4VA2HiHM1NZk=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=SET6BengYn9qOMCljixmToS9/L2bWaHzAn91LaRrK66nJL8aHWMyGdZEol2Vk1gJb Cj7LlKJn2uDF+G1Oe22/T6mhILtHTsvLUlLudARXYSFfclwFUTXVv1ejaPck5Q5HQi XdtpxlQQlQ2TcTB0yTtYWzDht4yif3prfgo5H4MU= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x17CLhGt069850 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 7 Feb 2019 06:21:43 -0600 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Thu, 7 Feb 2019 06:21:43 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Thu, 7 Feb 2019 06:21:43 -0600 Received: from [172.24.190.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id x17CLeAg003399; Thu, 7 Feb 2019 06:21:41 -0600 Subject: Re: [PATCH 16/35] ARM: davinci: aintc: move timer-specific irq_set_handler() out of irq.c To: Bartosz Golaszewski , Kevin Hilman , Thomas Gleixner , Jason Cooper , Marc Zyngier CC: , , Bartosz Golaszewski References: <20190131133928.17985-1-brgl@bgdev.pl> <20190131133928.17985-17-brgl@bgdev.pl> From: Sekhar Nori Message-ID: <9f6e023c-71cc-197a-d651-83a3b1662d85@ti.com> Date: Thu, 7 Feb 2019 17:51:39 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190131133928.17985-17-brgl@bgdev.pl> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31/01/19 7:09 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > I've been unable to figure out exactly why, but it seems that the > IRQ_TINT1_TINT34 interrupt for timer 1 needs to be handled as a > level irq, not edge like all others. Not sure of the history myself. This has been this way since beginning of DaVinci support in kernel. > > This timer is used by the dsp on dm64* boards only. This would be T1_TOP in code, which is actually marked as unused. T1_BOT is the one used for DSPs. > > Let's move the handler setup out of the aintc driver where it's lived > since the beginning and into the dm64* SoC-specific files where it > belongs. > > Signed-off-by: Bartosz Golaszewski > --- > arch/arm/mach-davinci/dm644x.c | 4 ++++ > arch/arm/mach-davinci/dm646x.c | 4 ++++ > arch/arm/mach-davinci/irq.c | 1 - I think this should be done for DM355 too? Thanks, Sekhar