)]}'
{
  "commit": "8730f45d1ca5ff60033f5ba022f32e5379d7bb89",
  "tree": "de5e46596c946063d6719ba0a48c17f79f012408",
  "parents": [
    "c25cba3689c7ab5ae6ee7228d1d49a5652429229"
  ],
  "author": {
    "name": "Alex Elder",
    "email": "elder@linaro.org",
    "time": "Thu Jun 11 14:48:30 2020 -0500"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Thu Jun 11 18:39:07 2020 -0700"
  },
  "message": "net: ipa: program metadata mask differently\n\nThe way the mask value is programmed for QMAP RX endpoints was based\non some wrong assumptions about the way metadata containing the QMAP\nmux_id value is formatted.  The metadata value supplied by the\nmodem is *not* in QMAP format, and in fact contains the mux_id we\nwant in its (big endian) low-order byte.  That byte must be written\nby the IPA into offset 1 of the QMAP header it inserts before the\nreceived packet.\n\nQMAP TX endpoints *do* use a QMAP header as the metadata sent with\neach packet.  The modem assumes this, and based on that assumes the\nmux_id is in the second byte.  To match those assumptions we must\nprogram the modem TX (QMAP) endpoint HDR register to indicate the\nmetadata will be found at offset 0 in the message header.\n\nThe previous configuration managed to work, but it was not working\ncorrectly.  This patch fixes a bug whose symptom was receipt of\nmessages containing the wrong QMAP mux_id.\n\nIn fixing this, get rid of ipa_rmnet_mux_id_metadata_mask(), which\nwas more or less defined so there was a separate place to explain\nwhat was happening as we generated the mask value.  Instead, put a\nlonger description of how this works above ipa_endpoint_init_hdr(),\nand define the metadata mask to use as a simple constant.\n\nSigned-off-by: Alex Elder \u003celder@linaro.org\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "66649a806dd1f7b12caae717cccadb338e36ee83",
      "old_mode": 33188,
      "old_path": "drivers/net/ipa/ipa_endpoint.c",
      "new_id": "2825dca23ec4e38125091e25da80d8767dbdfb0d",
      "new_mode": 33188,
      "new_path": "drivers/net/ipa/ipa_endpoint.c"
    }
  ]
}
