Something that I have run into on two different GM engines... check the EGR system. If the valve is not working or any of the EGR circuits are plugged, you get ping. This system puts exhaust gas into the intake charge to reduce NOx emissions, but the engine also needs more ignition advance to fire that charge. If no exhaust gas is getting into the cylinders, the engine management system really doesn't know that, and the engine pings. Check the EGR valve and the exhaust inlet circuit from the exhaust manifold (I don't think the EGR valve mounts directly in the exhaust manifold on that year 8.1 and is fed by a tube). If those are clear/working and the engine still pings, get an emissions test done. If NOx is high, then there might be a plugged EGR circuit in the intake manifold. You have to take the manifold off and clean the circuits by hand (a messy, but rewarding process once your engine runs properly again).
Again, this is only a possibility. Try the easy solutions, first. If they don't work, check the EGR valve. If it is not working, it should be easy to change on that engine and there are videos on YouTube that show how it is done.
Regards-