Liver disease including history of viral hepatitis B or C, evidence of cirrhosis, chronic active or persistent hepatitis Known history of chronic active hepatitis or liver cirrhosis (if suspected by laboratory studies, should be confirmed by liver biopsy). EXCLUSION CRITERIA FOR SECOND-LINE THERAPY: Patients with chronic hepatitis C virus may be enrolled if there is no clinical/laboratory evidence of cirrhosis AND the patient’s liver function tests fall within the parameters EXCLUSION CRITERIA FOR THIRD-LINE THERAPY: Patients with chronic hepatitis C virus may be enrolled if there is no clinical/laboratory evidence of cirrhosis AND the patient’s liver function tests fall within the parameters Liver disease such as cirrhosis, chronic active hepatitis or chronic persistent hepatitis Active liver disease such as cirrhosis, chronic active hepatitis or chronic persistent hepatitis Known pre-existing liver disease (e.g. cirrhosis, chronic hepatitis B or C, nonalcoholic steatohepatitis, sclerosing cholangitis) Idelalisib\r\n* Ongoing drug-induced liver injury, chronic active hepatitis C (hepatitis C virus [HCV]), chronic active hepatitis B (hepatitis B virus [HBV]), alcoholic liver disease, non-alcoholic steatohepatitis, primary biliary cirrhosis, extrahepatic obstruction caused by cholelithiasis, cirrhosis of the liver, portal hypertension, or history of autoimmune hepatitis\r\n* Ongoing symptomatic pneumonitis\r\n* Ongoing inflammatory bowel disease or autoimmune colitis\r\n* Ongoing cytomegalovirus (CMV) infection, treatment, or prophylaxis within the past 28 days prior to the screening test for active CMV\r\n* History of serious allergic reaction including anaphylaxis and epidermal necrolysis Pre-existing liver diseases (i.e., cirrhosis, chronic hepatitis B or C, nonalcoholic steatohepatitis, and sclerosing cholangitis, etc.) No evidence of chronic active hepatitis or cirrhosis Evidence of acute or chronic active hepatitis or cirrhosis No evidence of chronic active hepatitis or cirrhosis Known history of drug-induced liver injury, chronic active hepatitis B virus (HBV), chronic active hepatitis C virus (HCV), alcoholic liver disease, non-alcoholic steatohepatitis, cirrhosis of the liver, portal hypertension, primary biliary cirrhosis, or ongoing extrahepatic obstruction caused by cholelithiasis Pre-existing liver diseases (i.e. cirrhosis, chronic hepatitis B or C, nonalcoholic steatohepatitis, sclerosing cholangitis) Known clinically significant liver disease defined as ongoing drug-induced liver injury, chronic active hepatitis C (HCV), chronic active hepatitis B (HBV), alcoholic liver disease, non-alcoholic steatohepatitis, primary biliary cirrhosis, extrahepatic obstruction caused by cholelithiasis, cirrhosis of the liver, portal hypertension, or history of autoimmune hepatitis. Ongoing drug-induced liver injury, chronic active hepatitis C (HCV), chronic active hepatitis B (HBV), HIV, alcoholic liver disease, non-alcoholic steatohepatitis, cirrhosis of the liver, or portal hypertension Active liver disease such as cirrhosis, chronic active hepatitis or chronic persistent hepatitis Liver disease such as cirrhosis, chronic active hepatitis or chronic persistent hepatitis Patients with liver disease such as cirrhosis, chronic active hepatitis, or chronic persistent hepatitis History of liver disease, such as cirrhosis or chronic active hepatitis B and C Patient has known chronic liver disease, e.g. diagnosis of chronic active hepatitis or cirrhosis Active systemic hepatitis infection requiring treatment (carriers of hepatitis virus are permitted to enter the study), of any type or known acute or chronic liver disease including cirrhosis Pre-existing liver diseases (i.e., cirrhosis, chronic hepatitis B or C, nonalcoholic steatohepatitis, and sclerosing cholangitis, etc.) Known significant chronic liver disease, such as cirrhosis or active hepatitis (potential participants who test positive for hepatitis B surface antigen or hepatitis C antibodies are allowed provided they do not have active disease requiring antiviral therapy) Patients must not have liver disease such a cirrhosis, chronic active hepatitis or chronic persistent hepatitis known active or symptomatic viral hepatitis, chronic liver disease or liver cirrhosis; Patients with liver disease such as cirrhosis, chronic active hepatitis, or chronic persistent hepatitis, or patients with defined elevated ALT/ AST/ Bilirubin. Clinically confirmed diagnosis of HCC according to American Association for the Study of Liver Diseases (AASLD) criteria, including cirrhosis of any etiology or with chronic hepatitis B or C infection criteria Known chronic liver disease, autoimmune hepatitis, or sclerosing cholangitis Concomitant diseases/conditions: cardiac disease, immunodeficiency, chronic active hepatitis or cirrhosis, uncontrolled infection, bowel obstruction, any other major illness Liver disease such as cirrhosis, chronic active hepatitis or chronic persistent hepatitis Patients must not have known liver disease such as cirrhosis, decompensated liver disease, active or chronic hepatitis Pregnant or nursing females 2. HIV or HTLV-1/2 seropositivity 3. Known history of myelodysplasia 4. Known history of chronic active hepatitis or liver cirrhosis (if suspected by laboratory studies, should be confirmed by liver biopsy). Active or severe liver disease (acute or chronic hepatitis, cirrhosis) No evidence of chronic active hepatitis or cirrhosis Active liver disease such as cirrhosis, chronic active hepatitis or chronic persistent hepatitis Known hepatitis B or hepatitis C infection or liver cirrhosis Any severe and/or uncontrolled medical conditions or other conditions that, in the treating physician’s opinion, could adversely impact their ability to participate in the study; NOTE: patients on chronic oxygen therapy, those with liver disease such as cirrhosis, chronic hepatitis or chronic persistent hepatitis, or uncontrolled infections will be excluded Liver disease such as chronic cirrhosis, active hepatitis or chronic persistent hepatitis EXPANSION COHORT ONLY: Liver disease such as chronic cirrhosis, active hepatitis or chronic persistent hepatitis d. Liver disease such as cirrhosis of the liver, decompensated liver disease, chronic active hepatitis needing anti-viral therapy Active or chronic hepatitis B or hepatitis C as demonstrated by hepatitis B surface antigen positivity and/or anti- hepatitis C virus positivity, respectively. Patients with clinically active or chronic liver disease, including liver cirrhosis of Child-Pugh class C, are also excluded. Patient with known chronic liver disease (i.e., chronic active hepatitis, and cirrhosis) Serious concurrent medical conditions including: serious heart disease, heart conduction abnormalities, persistent infection, uncontrolled psychiatric illness, liver cirrhosis, chronic liver disease, active or symptomatic viral hepatitis, any other condition that may place the subject at an increased risk or confound the results of the study. Ongoing drug-induced liver injury, chronic active hepatitis C (HCV), chronic active hepatitis B (HBV), alcoholic liver disease, non-alcoholic steatohepatitis, primary biliary cirrhosis, extrahepatic obstruction caused by cholelithiasis, cirrhosis of the liver, or portal hypertension. Ongoing drug-induced liver injury, chronic active hepatitis C (HCV), chronic active hepatitis B (HBV), alcoholic liver disease, non-alcoholic steatohepatitis, primary biliary cirrhosis, extrahepatic obstruction caused by cholelithiasis, cirrhosis of the liver, or portal hypertension would be exclusion for idelalisib therapy but ibrutinib would be an option Prior history of chronic liver disease (eg, chronic alcoholic liver disease, autoimmune hepatitis, sclerosing cholangitis, primary biliary cirrhosis, hemachromatosis, non-alcoholic steatohepatitis [NASH]). Ongoing drug-induced liver injury, active hepatitis C, active hepatitis B , alcoholic liver disease, non-alcoholic steatohepatitis, primary biliary cirrhosis, extrahepatic obstruction caused by cholelithiasis, cirrhosis of the liver, or portal hypertension. Chronic hepatitis with advanced, decompensated hepatic disease or cirrhosis of the liver or history of chronic virus hepatitis or known viral hepatitis carrier (patient recovered from hepatitis A will be allowed to enter the study) Patients with chronic hepatitis C virus may be enrolled if there is no clinical/laboratory evidence of cirrhosis AND the patient’s liver function tests fall within the parameters set Known history of drug-induced liver injury, chronic active hepatitis B infection, chronic active hepatitis C infection, alcoholic liver disease, non-alcoholic steatohepatitis, primary biliary cirrhosis, ongoing extrahepatic obstruction caused by stones, cirrhosis of the liver, or portal hypertension Pre-existing liver disease (e.g. cirrhosis, chronic hepatitis B or C, nonalcoholic steatohepatitis, sclerosing cholangitis) Ongoing drug-induced liver injury, chronic active Hepatitis C Virus (HCV), chronic active Hepatitis B Virus (HBV), HIV, alcoholic liver disease, non-alcoholic steatohepatitis, primary biliary cirrhosis, extrahepatic obstruction caused by cholelithiasis, cirrhosis of the liver, or portal hypertension Cirrhosis or chronic active/persistent hepatitis Known significant chronic liver disease, such as cirrhosis or active hepatitis (potential participants who test positive for hepatitis B surface antigen or hepatitis C antibodies are allowed provided they do not have active disease requiring antiviral therapy) History of liver disease, such as cirrhosis or chronic active hepatitis B and C No liver disease such as cirrhosis, chronic active hepatitis or chronic persistent hepatitis. Evidence of acute or chronic active hepatitis or cirrhosis Liver disease such as cirrhosis, chronic active hepatitis or chronic persistent hepatitis Active liver disease including cirrhosis or hepatitis Chronic active hepatitis or cirrhosis No evidence of chronic active hepatitis or cirrhosis Patients with a history of chronic active hepatitis, cirrhosis or hepatic encephalopathy Non-surgical cohort only: pathology report from clinical liver biopsy (=< 3 months prior to pre-registration) demonstrates no histologic abnormalities associated with chronic hepatitis, steatohepatitis, fibrosis, or cirrhosis Acute or chronic liver disease, evidence of hepatitis (infectious or autoimmune), cirrhosis or portal hypertension Known chronic active hepatitis or cirrhosis Severe liver disease (e.g. cirrhosis, non-alcoholic steatohepatitis, sclerosing cholangitis)