Lack of altitude performance for both, insufficient speed and lack of protection for the P-36 / H75. Lack of climb / insufficient power for weight for the P-40
That big flaws had a lot to do with what was in front of the firewall - ie. engines not being as good as what many other fighters had in the same time. Nothing to do with 'severe limitations inherent to design'.
The single biggest issue was performance at altitude above 12-16,000 ft (depending on variants). With the Merlin P-40s extending that up to about 20,000, which was better but still insufficient for NW Europe, especially for heavy bomber escort. Turned out to be useful in most of the other theaters though where the emphasis was more on tactical air war.
As above - the R-1830s being, at best, 3rd best engines for fighters in 1938-39, and no-turbo V-1710 being 3rd-7th best engines for fighters from 1940 on (without counting Soviet and Japanese engines there).