From nobody Thu Mar 5 08:33:24 2026 Received: from mail-dl1-f53.google.com (mail-dl1-f53.google.com [74.125.82.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2674A3314DB for ; Mon, 16 Feb 2026 18:11:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771265515; cv=none; b=d7O/ElkwR78hWYId1uAfnhBQEwiwE+wDpZnlZ6HtctPCdkTG9Dp5utJZS0LKBWCux1Iitfunn4YYCA9djhAuI10lNrelr5Vb2+NQNQ0MzBjw3mnCeIuvdQ017oKmU7fL8ja7O2rwkEAB3OcabZYi8yS3WUGIdgzJ2nTRZ7QYt0U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771265515; c=relaxed/simple; bh=W+176oTBG/C8AKzIcrHzVeoVwp5F8+32rXhrWXykrzI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ePTc5/++LC2h96sDRIITroo+fOsh6I1BO+jlo0askRmThnegLFqIo+jMiOrnrpEoal1E5RCyL92r9c7OJobQ0k5Oisp9L684Q720E15bOboIyVyx3tlJtWYx0DD+U/csNJtNs7QwGrA8RPfqgXP2y1Uh/6eKNWmp5c2N/IrJxAk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=Q2e/89e+; arc=none smtp.client-ip=74.125.82.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Q2e/89e+" Received: by mail-dl1-f53.google.com with SMTP id a92af1059eb24-1271257ae53so3481710c88.1 for ; Mon, 16 Feb 2026 10:11:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1771265513; x=1771870313; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=e4sITQtMA3O7CTV7vddQrukiiEajLzgMMa0j7tx2Nig=; b=Q2e/89e+vjYz9jKA5aOs2uzHdizUVZtUXFt5MEA7uNJpNdnW4CuTD9tFXtspH1FAWq oIKGLhPj4Fsj019uDTzGldX5xQ+1ucr0YxRv0+sRSwNzS5PIBO8XA1SIJ83bjH7x+Vjp MB9FIK2kfU8Kvv+GJvKXMMx9mbemZpRFpA0rM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771265513; x=1771870313; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=e4sITQtMA3O7CTV7vddQrukiiEajLzgMMa0j7tx2Nig=; b=ffR7C8VctG3XVk7eA5T6rtppQ33k1+n7N9f8pIRo5fkjCez8fFcdvQVTalggkch1E1 IjVlfHmBzFJnMChFX+ndI3qNgB86/tKIYTygJORm+N6fQVjcqscQ2LnK9HCe2QeyqsqX Bn7nnnTq4CEYVN9YicsUYXqfOs3UxcDUZ6I8FAeNJ1pl2KHcnFfzDhtWcrK3uw9rQM8T KUtGZz2ioJEz3M0tTkTloGy0caH5VITNzp+Kz9sp0zGBGoKFiREi0zNyNcPgKPTR2DKn qsgo2KBJUm4XLU6HSV3ijEFuwRqsTB1TyCbk+2FsYj3QYqLIdbsvwAg6hNS5F+vFm/az 5L4g== X-Forwarded-Encrypted: i=1; AJvYcCVA98wYyrpsUBButYmM4uBDHiArxiVFZj9Em+I0Dkt1fdbUzus7HyiCww8iv2Y7XAMK+iCUUbRd9F4Jrnw=@vger.kernel.org X-Gm-Message-State: AOJu0YwxJaIFSUv8lBE7+H6jcl8Bc0I3jJZaqwWF31OeVyeHlOQr+IWH dRXdhHlfgDmZc2llS3d9BsK3vYx0dN2JxD1EDzQWXkZKPRCOrK6yknFPAPnaWjImPA== X-Gm-Gg: AZuq6aJmF6uZ1J3qywsypu2v8RHl3IkpwemXgjFomd98TjSSFu1c1/BupII5ijdxJdZ 9y5Mz0yCZCmNSf8Cvmxj5Ke2jgmO0LpF/soPRMnvNCkJo5/fcyOv6v/bYgEthPBuaptWhICnCw6 IF652Vc1PoyEyifw69xCoe+PSYRwcD4DwHeNaicBZgaGSc2FIVITi0f70MV5231BHFhiz4pZhWV Dy/eZUmtEmalQpsRfX73Av5M3HdxFFG8g3nAKhtI9no7oQaEQn+32PcEkmhMKt6TV0i7G0N481H nkTVn7sfzPfCYxUkYpqZAqdYy7O6qACKoSJ/tOxxWeFbx/2bea6wgwAMLenaPOx3ISjYOwLYri2 aBi+KerRs4kzebPiGClKjMoqTrOf+IsQ6gfCE8KhmW1QhJJ7kiksPKApYpX4AAukE7fNSb0PcCf vO22hlCry9SGnDNC7VwoyPEuov1m6+PMuuInuQbpyOEpTSJVdykQpn95GZ4QjMnV+zTWuxrtVNF z4CDIi990s= X-Received: by 2002:a05:7022:69a:b0:127:380e:ff5a with SMTP id a92af1059eb24-1273add779fmr3928066c88.17.1771265513269; Mon, 16 Feb 2026 10:11:53 -0800 (PST) Received: from dianders.sjc.corp.google.com ([2a00:79e0:2e7c:8:2953:dae1:1e39:73b3]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-12742c64282sm13724326c88.5.2026.02.16.10.11.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Feb 2026 10:11:50 -0800 (PST) From: Douglas Anderson To: jassisinghbrar@gmail.com Cc: Douglas Anderson , andersson@kernel.org, konradybcio@kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 13/15] soc: qcom: smsm: Use mbox_ring_doorbell() instead of NULL message Date: Mon, 16 Feb 2026 10:09:50 -0800 Message-ID: <20260216100943.v3.13.I18ba5837ac5c89cdd3531b6b09a2ab24a95912fa@changeid> X-Mailer: git-send-email 2.53.0.273.g2a3d683680-goog In-Reply-To: <20260216181002.3475421-1-dianders@chromium.org> References: <20260216181002.3475421-1-dianders@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" As per the patch ("mailbox: Deprecate NULL mbox messages; Introduce mbox_ring_doorbell()"), we want to switch all users of NULL mailbox messages to use mbox_ring_doorbell(). This client only ever sent NULL messages, so the transition is straightforward. We can remove the call to mbox_client_txdone(). The call didn't do anything for NULL messages and it's now officially documented not to be called for doorbells. Signed-off-by: Douglas Anderson --- (no changes since v1) drivers/soc/qcom/smsm.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/soc/qcom/smsm.c b/drivers/soc/qcom/smsm.c index 021e9d1f61dc..1e127678fd9c 100644 --- a/drivers/soc/qcom/smsm.c +++ b/drivers/soc/qcom/smsm.c @@ -182,14 +182,12 @@ static int smsm_update_bits(void *data, u32 mask, u32= value) if (!(val & changes)) continue; =20 - if (hostp->mbox_chan) { - mbox_send_message(hostp->mbox_chan, NULL); - mbox_client_txdone(hostp->mbox_chan, 0); - } else if (hostp->ipc_regmap) { + if (hostp->mbox_chan) + mbox_ring_doorbell(hostp->mbox_chan); + else if (hostp->ipc_regmap) regmap_write(hostp->ipc_regmap, hostp->ipc_offset, BIT(hostp->ipc_bit)); - } } =20 done: --=20 2.53.0.273.g2a3d683680-goog