I will try my best to answer your query.
TB (2° TB), Silicosis
, Eosinophilic granuloma
, Ankylosing spondylitis
these are the diseases which usually affect the upperlobe.
It might be due to pulmonary TB. I advice you to test your sputum for AFB and consult the physician for thorough examination.
Hope my answer will be helpful for you.