From patchwork Wed Oct 20 02:26:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saranya Gopal X-Patchwork-Id: 12572009 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F7C4C433F5 for ; Wed, 20 Oct 2021 10:28:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E8B9861260 for ; Wed, 20 Oct 2021 10:28:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229993AbhJTKa0 (ORCPT ); Wed, 20 Oct 2021 06:30:26 -0400 Received: from mga09.intel.com ([134.134.136.24]:6891 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229900AbhJTKaZ (ORCPT ); Wed, 20 Oct 2021 06:30:25 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10142"; a="228621962" X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="228621962" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 03:27:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="575280529" Received: from saranya-nuc10i7fnh.iind.intel.com ([10.223.216.64]) by fmsmga002.fm.intel.com with ESMTP; 20 Oct 2021 03:27:54 -0700 From: Saranya Gopal To: linux-usb@vger.kernel.org, gregkh@linuxfoundation.org, hdegoede@redhat.com Cc: heikki.krogerus@linux.intel.com, andriy.shevchenko@linux.intel.com, rajaram.regupathy@intel.com, Saranya Gopal Subject: [PATCH 0/2] Fix IRQ flood issue in TI PD controller Date: Wed, 20 Oct 2021 07:56:18 +0530 Message-Id: <20211020022620.21012-1-saranya.gopal@intel.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Hi, There was an issue reported that the TI PD controller driver is causing high CPU load due to a flood of interrupts. So, a patch was added in the i2c-multi-instantiate driver to stop the TI PD driver from loading in devices with INT3515 ACPI nodes. We identified that required event interrupts are not being set in the interrupt mask register from the driver to the register of the controller. We enabled only the necessary events like data status update, power status update and plug events in the interrupt mask register of the TI PD controller. After enabling these events in the interrupt mask register, there is no interrupt flood. This patch series contains the fix for the interrupt flood issue in the TI PD driver and another patch to re-enable the INT3515 platform device. I prefer this patch series to be taken through usb tree since the fix is in the TI USB PD driver and the second patch is just a revert patch. Hi Hans, Could I get your Ack to take this series through the usb tree? Saranya Gopal (2): usb: typec: tipd: Enable event interrupts by default Revert "platform/x86: i2c-multi-instantiate: Don't create platform device for INT3515 ACPI nodes" drivers/platform/x86/i2c-multi-instantiate.c | 31 +++++--------------- drivers/usb/typec/tipd/core.c | 8 +++++ 2 files changed, 16 insertions(+), 23 deletions(-) Acked-by: Hans de Goede