On Thu, Apr 11, 2024 at 03:32:43PM -0700, Jacob Keller wrote: > I sometimes download patch series off of public inbox hosted servers to > apply with git-am. Occasionally I have found that these do not apply > cleanly because the thread is not sorted in patch order.
It's more than just the order -- if there are replies in the thread, the mbox file won't apply either. This is the reason why the b4 tool exists: https://b4.docs.kernel.org/ > For an example, see > https://lore.kernel.org/lkml/[email protected]/ $ b4 am -o/tmp https://lore.kernel.org/lkml/[email protected]/ Grabbing thread from lore.kernel.org/all/[email protected]/t.mbox.gz Analyzing 20 messages in the thread Looking for additional code-review trailers on lore.kernel.org Checking attestation on all messages, may take a moment... --- ✓ [PATCH v2 1/7] vfio/pci: Disable auto-enable of exclusive INTx IRQ ✓ [PATCH v2 2/7] vfio/pci: Lock external INTx masking ops + Reviewed-by: Eric Auger <[email protected]> (✓ DKIM/redhat.com) ✓ [PATCH v2 3/7] vfio: Introduce interface to flush virqfd inject workqueue + Reviewed-by: Eric Auger <[email protected]> (✓ DKIM/redhat.com) ✓ [PATCH v2 4/7] vfio/pci: Create persistent INTx handler + Reviewed-by: Eric Auger <[email protected]> (✓ DKIM/redhat.com) ✓ [PATCH v2 5/7] vfio/platform: Disable virqfds on cleanup + Reviewed-by: Kevin Tian <[email protected]> (✓ DKIM/intel.com) + Reviewed-by: Eric Auger <[email protected]> (✓ DKIM/redhat.com) ✓ [PATCH v2 6/7] vfio/platform: Create persistent IRQ handlers + Reviewed-by: Kevin Tian <[email protected]> (✓ DKIM/intel.com) + Reviewed-by: Eric Auger <[email protected]> (✓ DKIM/redhat.com) + Tested-by: Eric Auger <[email protected]> (✓ DKIM/redhat.com) ✓ [PATCH v2 7/7] vfio/fsl-mc: Block calling interrupt handler without trigger + Reviewed-by: Kevin Tian <[email protected]> (✓ DKIM/intel.com) + Reviewed-by: Eric Auger <[email protected]> (✓ DKIM/redhat.com) --- ✓ Signed: DKIM/redhat.com --- Total patches: 7 --- Cover: /tmp/v2_20240308_alex_williamson_vfio_interrupt_eventfd_hardening.cover Link: https://lore.kernel.org/r/[email protected] Base: not specified git am /tmp/v2_20240308_alex_williamson_vfio_interrupt_eventfd_hardening.mbx -K
