From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f74.google.com (mail-io1-f74.google.com [209.85.166.74]) (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 E49892F1FF3 for ; Fri, 31 Oct 2025 17:06:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761930368; cv=none; b=dO54eKrkd+YxiNBl+aBBlj714Cdfh08bNI+i6wIGj24iazllTLHlghU728NbvUgJcKDEyTRlykuRhUjmPrKM+ifdimmFqTcZvVrK/pWpPJgeJY/XeGwwwrefPJKk4gs5oBTcAcUFEo57H14S53A55atcIu9FkrxPgcxh78XRMLg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761930368; c=relaxed/simple; bh=3zO6hJh3fZZRnhxmcHqGuW4F0oTnh1zP5aEQTYDADeU=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=RC0vJhG3b205xD0xbex244KNql6RQJZBhMXZ1yvdhbSVaSs78lKea/48lewVec5Ft8OP8eL/acTJXgaIJlkYdqAhZBjq22Ct63vNTRy/aagVU+xT+bpYyRNqbx3xtZyXqu7CDUAtaNRkidL8f7UrPXJFO9PKPBBMN752ahfyPyk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--rananta.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=R0I0SIb2; arc=none smtp.client-ip=209.85.166.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--rananta.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="R0I0SIb2" Received: by mail-io1-f74.google.com with SMTP id ca18e2360f4ac-927b19c5023so223036739f.1 for ; Fri, 31 Oct 2025 10:06:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1761930366; x=1762535166; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=L7rkGekV8xK6fIdrAf10YJdw8xerhp0arb9+9f1J3v4=; b=R0I0SIb27ZQzuq6qJ+2HtZe1nvq34AfW3Dt5vlqaad9wiz75EMA8yLb6bpH/M7rGpv wfbaP5aP6P4e3eX94vJ67EVUgWgtuPTubSKYyh+S7xL7ivcEJnbAJHffn1aRQv5dj+He 2Wr2+oJekKCg4eR0pB19LfXDBebbSnBmgKn8qwxOx7z2oBIH0ViKITY+NQ/pDi3/VPmJ FR8GIpjqTSErVbUXDAtDcbgcFH62eGs9EZ6GvtbSKbhNv+Qeq4hYtph9Mk6hpF8KB/6P qH06olGdZ3X1GiXek2aHn47zjSjjGj2/Zyr0f2atrg2Xv4re4+iE+lM7IF/S8/PwI0io 1Row== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761930366; x=1762535166; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=L7rkGekV8xK6fIdrAf10YJdw8xerhp0arb9+9f1J3v4=; b=bmpHYVqf22tTvO71lflRh0cB32n9gk4h2f2yAlz1ElI2Lyo128KJNzzve9i2cCetUR 3qpN20trjUzZ3oAEo1xa6bD9BhpwWmVC9mZacK5QlwJS0IrYw5vdXBpm/YQX6/R7l6QH HfaWN3h703du8M8IN6eM0DXirO5LO2Q/cb4imdpqTpFUgxqaOXiMcsaGZ8TknJLjNsCt h8mwBYEsjjCm4uFhFy3qnhvp7+m2clMKwsn6TA5aLuGLS6tZOYU9SONdaIH954X8lQX/ mvzF+wmka2SEmvRwxkc5RJVkgcjEvMlmzOcJgiyPEEeB8daP5xfZBf2idVOUgOxT9ZWa 1mLA== X-Forwarded-Encrypted: i=1; AJvYcCXZfedotozPgYFTpmpsWP3vP4djUvMpLryhNdhfwdTCTlxJ0ApYjNItF1StNf91h1wUxLo=@vger.kernel.org X-Gm-Message-State: AOJu0YyoBuWRirHXdr6wkvZo0Cb4FPLyRlsIwq1exlLJm6dJ7vIKqb9e DV8NF7O6zLimRthi5LVXLD4TBq65z8ComlWqJRpVi1byQDmbSoLZ/fZg79++6BgWkdCo+9Eoopf N4Gu/R0lj9Q== X-Google-Smtp-Source: AGHT+IGPppdgWImmiqMllVHuCL0LVBd1POfNbnkt1XP6pw+qeSasvHMVbc9KRJdiIi1IyT4HZNv81Doi6WQl X-Received: from ior5.prod.google.com ([2002:a05:6602:a005:b0:948:1a37:3c2b]) (user=rananta job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6602:6c13:b0:945:afe6:4bfe with SMTP id ca18e2360f4ac-9482287e91bmr722109939f.4.1761930365863; Fri, 31 Oct 2025 10:06:05 -0700 (PDT) Date: Fri, 31 Oct 2025 17:06:01 +0000 Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.51.1.930.gacf6e81ea2-goog Message-ID: <20251031170603.2260022-1-rananta@google.com> Subject: [PATCH v2 0/2] vfio: Fixes in iommufd vfio token handling From: Raghavendra Rao Ananta To: Jason Gunthorpe , Alex Williamson , Alex Williamson , Longfang Liu , David Matlack Cc: Josh Hilke , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Raghavendra Rao Ananta Content-Type: text/plain; charset="UTF-8" Hello, The series includes a couple of bug fixes that were accidentally introduced as a part of VFIO's vf_token management for iommufd. Patch-1: Fixes ksize arg while copying user struct in vfio_df_ioctl_bind_iommufd. Patch-2: Adds missing .match_token_uuid callback in hisi_acc_vfio_pci_migrn_ops. Thank you. Raghavendra Raghavendra Rao Ananta (2): vfio: Fix ksize arg while copying user struct in vfio_df_ioctl_bind_iommufd() hisi_acc_vfio_pci: Add .match_token_uuid callback in hisi_acc_vfio_pci_migrn_ops drivers/vfio/device_cdev.c | 2 +- drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787 -- 2.51.1.930.gacf6e81ea2-goog