Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2353701rdb; Mon, 12 Feb 2024 01:46:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUY5koVcMD81Zj9Njq2+lL8he5/r/gJQUqeyOz9J9qwinIjosxEHjI2M7n44J0TAVqtWVo1tFPsMrnzVLUCZDSp1Z963CPYeAhekoWiiA== X-Google-Smtp-Source: AGHT+IEw5jXVKkfNmIkC1htyzB7RYup+SpN8VdHt8T4ojDmGFq+3EQTNk5UYd1/SbaYUdyIZKB7y X-Received: by 2002:a17:906:694d:b0:a3c:ba16:7e35 with SMTP id c13-20020a170906694d00b00a3cba167e35mr1098086ejs.22.1707731209759; Mon, 12 Feb 2024 01:46:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707731209; cv=pass; d=google.com; s=arc-20160816; b=IkLRPOfNCvrqQpt+ouXKtehzXH3zT0s11cCTE4mnaEqYqxE8DM0Ms+YxMN+cmDKJkt LqSxpHHU49jdD9AqQhxmEnPukuSzoWuKMsrA1wKVrW/RUQK9y4HqUNv5yvDKl2OQiRpa VRcRmVhh4S7TGVJtiuxHHBrzRJN73po7oDIbVlEd5VGkeOPw45CSD2D0roiDoUVuxfy8 k8/GjiaH7sHe6yPDjM8KY82TzFBoIG/BlLyElQAwWJT3yPa/000CcyQI4Ft0nix2nYRw kXcBJqvMISqBFsOSejrnFt6L6Wu2W8dau1QRARPSnPQ5m6lz/mLa3Lu7gT3PCN49hijc dheA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=Jr+VmhJxbtuRvb3E57vQJJIzDznyeDLf3BDuTgMaI0Y=; fh=Xf/7nn38Kql+3S4iRRb7NwRm2/pykZydFUcqg2Ekf6Q=; b=q85O8otDhuGXVRwZUZGJBNeobH/YXHSfMG2eqaj/p4IZjiqbvet8yDvoHmDe1IFQ2I JYHflQhw4Hj9DP0BoVPr+mxR76p9qHEg8vo4P7mQNErlPZOieXNAzZXaZcxL7Ibyk6Dt YJWMxXoDlSYSgOJZizjqVFrWPotaxNPooFs0kN6tSUkotclw/QA3IqWqaGuFVJ5tu6EV ST1m4pcWGhUp8GJh51r69Go+nf5pI3T68lMd068Ub7Fu+9FXwNjNI3TTt/K24m1gFqki nLduEEpaiRdUayg+0J3DYXWbF+r81AqJdEn+wWTw1LK9Uy2ZOJotaqz2ic8+Q/CTg3kl 48qw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nIs3HW56; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-61255-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61255-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCW3XrZr8eIE+0LH24w80VlXYglkfArybxyg8k+wjwzi/QhhjZxLV0FhX+OBOdi2n69eaSQosJQhXnFNZwNkRBF3CetAzTHBVQUVJfyL7w== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id r15-20020a170906280f00b00a3cb80534dfsi19145ejc.705.2024.02.12.01.46.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 01:46:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61255-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nIs3HW56; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-61255-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61255-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6EDAD1F2194E for ; Mon, 12 Feb 2024 09:46:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C23A17BBA; Mon, 12 Feb 2024 09:46:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="nIs3HW56" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E37B717BA8 for ; Mon, 12 Feb 2024 09:46:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707731186; cv=none; b=Putb+Pj0Ye1PFuIdngZ5uChG9aHd7CinKmS0nSUOYX9ILpxO7YL39mcUiO5ctV0ucn1iOfARqiqXsX8UWdQJqgRRvMaohbMsSRT71TKuVZgXd00med4IuwV/LpMlnRkx8LQU/4bj0OfReuLJFwdmDombQKJQeBhLP4/1fgf0RPc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707731186; c=relaxed/simple; bh=h5gYrH/ws8FrpMWJe8FAI2E4iZamVDZXdp6p7sFZnQY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=aaAzUYlznATpQHYrnTI0kfVstzYN6Gbpv3x01QH4GAA3b/sZ6q2ffaAOThzgqcdgb7ItjDDwUp/sQcjZ/2Gpce8Xq1UO/Xe5aCTytD7u9pBewywYM208NxMozwswhOXSLeATDoKOh9oalZ3jvW3rRyTJRE3a6mNbpmftFuVO0HY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=nIs3HW56; arc=none smtp.client-ip=192.198.163.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707731185; x=1739267185; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=h5gYrH/ws8FrpMWJe8FAI2E4iZamVDZXdp6p7sFZnQY=; b=nIs3HW56WbLfYWBxnpOhc2c1NWPltX8dQHm4mSWLMq/LFIVhmIzQElN/ kJ3XNdr0+FAM2rp+vb2xR/akvoeGfueuioY5IVhgE9ErPo2dam/w3jQGI +bmJNKJNo/7SOs/vWX6mnNmvpCZLrOzRiZj2EmNZjRdWM0XXXp1UtyOhd XtHbw0KpzGZfEyL+FjwxCj8mw91LqD3xIpWu1WO3Fs3ioZVaQT+xaR3FX DUjhZZCk+cnR9oa9QpYG7cY8+6jRfzxkF+PMWaXQQFcCGYAUSRFBkkfyM G6L6NbLTSioIDaurbAAgHeR/xgh7agilmepLDFUoG/E9AY5vtw3RlVKeG Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10981"; a="12335871" X-IronPort-AV: E=Sophos;i="6.05,262,1701158400"; d="scan'208";a="12335871" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2024 01:46:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,262,1701158400"; d="scan'208";a="2502527" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2024 01:46:22 -0800 Received: from svinhufvud.ger.corp.intel.com (localhost [IPv6:::1]) by kekkonen.fi.intel.com (Postfix) with ESMTP id C956611F86A; Mon, 12 Feb 2024 11:46:18 +0200 (EET) From: Sakari Ailus To: linux-kernel@vger.kernel.org Cc: Hans de Goede , Tomas Winkler , Wentong Wu , Arnd Bergmann , Greg Kroah-Hartman Subject: [PATCH 0/3] MEI VSC fixes and cleanups Date: Mon, 12 Feb 2024 11:46:15 +0200 Message-Id: <20240212094618.344921-1-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi folks, These patches address sleeping in atomic context. It wasn't obvious at first this was taking place since the callback sleeps while the caller (a different driver) called it in a threaded IRQ handler. Sakari Ailus (3): mei: vsc: Call wake_up() and event handler in a workqueue mei: vsc: Don't use sleeping condition in wait_event_timeout() mei: vsc: Assign pinfo fields in variable declaration drivers/misc/mei/vsc-tp.c | 64 ++++++++++++++++++++++++--------------- 1 file changed, 40 insertions(+), 24 deletions(-) -- 2.39.2