On Wed, Dec 05, 2018 at 03:30:38PM +0000, Arumugam, Kamenee wrote: > > Subject: Re: [PATCH] hfi1verbs: Update rvt cq headers in rdma_core hfi1 provider > > Since these need a kernel patch can you remark which kernel patch this is matched with? > > Here is the kernel patch: https://marc.info/?l=linux-rdma&m=154402265822649&w=2 > > > Also changes to kernel-headers should be split into their own patch created by the kernel-headers/update script as the first patch in your series. > > It there a README or documentation on the process for keeping kernel-headers in sync? Ah I wish there was, want to write one? > So is this the sequence?: > - Patch the kernel > * Does the patch need to land in an external tree? Which tree? > - Use the update script to sync the kernel-headers Not quite. Patch *your* kernel with the required kernel patches for the series Run $ kernel-headers/update --not-final ../kernel HEAD This creates the 'Updated kernel headers' commit you need Apply the patches in your series. Push to github and tag your PR with 'needs-kernel-patch'. Post to the mailing list with 'git send-email' When the kernel patch is accepted the you or the maintainer will do 'git rebase' and exec instead of pick the first commit with: exec kernel-headers/update ../kernel 12345566 To build the final commit and remove the 'needs-kernel-patch' tag. That gets force pushed to the PR and the PR merged. This keeps the headers in sync between the two projects. Jason