Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6985515imu; Wed, 14 Nov 2018 09:52:05 -0800 (PST) X-Google-Smtp-Source: AJdET5fKJVljRou297RJdub8D+rRxh783SRRl4YHGaNQG3nxAwT4mMMfZID35C0eQZYoa6d+R7Eq X-Received: by 2002:a62:8d92:: with SMTP id p18-v6mr3011928pfk.217.1542217925018; Wed, 14 Nov 2018 09:52:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542217924; cv=none; d=google.com; s=arc-20160816; b=FN8aVsrNowU0jO1GL8xkyvKPK9y7JikuwSO3W7Os8NUW7setS6qbcNH00zLds1ycMT quJemwLfJOcZv03Pj0yAmkEH0QUorP2DQo93CrtFJIwzWewqzRNWd0OFTjx/YU3zSO0L DOHuJgGw4pqti1kEMTujX0qmVACSXA8MCcDI2yRpuhqrNq2xG/hkvnleiMIwgH420R36 BZb0ZMx1NTnTg08jROxiIaWhiCoKXdEekiw23QG/D0Ucq8j1bdQIceKo0oAAO3kiEfcb nAHqC3as5ML1x57ngYAQ5VvBDJDxGNfXcW8ZPRhw7KaL8mcTLz+c4qBajcTl397LV+0e RG7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=b3MjNoU0UPI6VWMJ89AAtqeA8doEnco2Qgey8bN9S/w=; b=T/6m/p4kZWXop7VSm9NjjFhFRXzGVmf7KvDBbqWM0iLhN0X2aJNJ1D7IlHUTICGC/5 6AEgW6GfhGsxdO7hYNHZ2GdygbF8+c64/UzlFku1SnPiLDRTTAP3pAwMXyk3cyfBqxiV dL1Q+S9URREekzqQoiL2msu3XExwBbulIlPGX0w9GX3Rp5U5Sn3PwddA+83oX95QlLRY oyfIUaSb0hCjR213iOqRSni4eIRVnFIwuoPOtbG509XFH5GGoyEU9UrsxjxttEZLFBhH 6kWKhozOey3gXVrWp28FILIVjKcP8PPbTiuRUcrvWpajmE2U/YT8JKDrL8teCfZxplxy c7GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Clge9vzO; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f35si22176145pgf.449.2018.11.14.09.51.44; Wed, 14 Nov 2018 09:52:04 -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=@linaro.org header.s=google header.b=Clge9vzO; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733305AbeKODzN (ORCPT + 99 others); Wed, 14 Nov 2018 22:55:13 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:35503 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731710AbeKODzM (ORCPT ); Wed, 14 Nov 2018 22:55:12 -0500 Received: by mail-pl1-f193.google.com with SMTP id v1-v6so989299plo.2 for ; Wed, 14 Nov 2018 09:51:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=b3MjNoU0UPI6VWMJ89AAtqeA8doEnco2Qgey8bN9S/w=; b=Clge9vzO8HL2nVVtTsAXOgWyuJntfrg/GdbxJcTfbUcaWBNaA6cxgPqzx///SpzgCK LJlZOQsUh0esX0lOzhp8p+sOWUTzUZEyMJPSELDKAkU2LgZCTPbH/tkV+W39YdxkHaR3 Sk6vN6j+L/eRl8JXo64plOT7gWiVXmM6R6pRU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=b3MjNoU0UPI6VWMJ89AAtqeA8doEnco2Qgey8bN9S/w=; b=sXcBucIv+07Ifdu5LPemgV3A5P5rwVWQ1bSsWXFziWxo4KPpc2e5AjDg9Ov++PO2jW WotYwDjWVF0SdJK4DplsRam0IiUHOUKaT9H5e6hyApsAwX1cAQ3+9KdQmJVe1K/FyhM0 HvOxn/n4nzeomiPZJHOjKKbcmZMtxcbmMy52z/1wHTuIiYmzknmzgc8UeDaVayfoz4U8 NUofNRjxXDd7X3kYmDKskoHZ+IZfzUut2j/0iGqq3rOoSXVRw38aJdSVklE5GAy2LrPZ SzDZlc/Yka87+TEP7bPDiNxg3FtwcTW9lr2gpWtgb5YeJldRmiFbuwXwb7b4kBi4AxzZ kctw== X-Gm-Message-State: AGRZ1gJWCTJwp23IbqK2ILxP01bzh+pFXKibdwR5VGVa3Vwinzr9G5YY 7ICg66wJbhcyKEOhMGPMlwKUHw== X-Received: by 2002:a17:902:846:: with SMTP id 64-v6mr2733126plk.70.1542217862481; Wed, 14 Nov 2018 09:51:02 -0800 (PST) Received: from localhost ([64.114.255.97]) by smtp.gmail.com with ESMTPSA id s2-v6sm53791699pfk.133.2018.11.14.09.51.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Nov 2018 09:51:01 -0800 (PST) Date: Wed, 14 Nov 2018 09:51:00 -0800 From: Andy Gross To: Alok Chauhan Cc: swboyd@chromium.org, dianders@chromium.org, dkota@codeaurora.org, David Brown , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] soc: qcom: Add irq clear handling during SE init Message-ID: <20181114175100.GB14703@hector> References: <1538569430-32374-1-git-send-email-alokc@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1538569430-32374-1-git-send-email-alokc@codeaurora.org> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 03, 2018 at 05:53:50PM +0530, Alok Chauhan wrote: > when the kernel inits a SE, its quite possible we have pending interrupts > from bootloaders which did not handle/clear them. So do this in kernel at > the SE init, to avoid some of it causing bad behavior, while at it also > club all the register writes needed to clear the se irqs into a function > to avoid repeating it over. > > Signed-off-by: Alok Chauhan > --- Thanks for sending this in. I'll apply to my queue. Andy